FFTハンドルの有効性チェック
Namespace: fvalgcliAssembly: fvalgcli (in fvalgcli.dll) Version: 3.1.0.0 (3.1.0.11)
Syntax
C# |
---|
public static int fnFIE_fft_get_spec(
FHANDLE hFFT,
ref int ipSpecType,
ref int ipWidth,
ref int ipHeight,
ref int ipNormalization
) |
Visual Basic |
---|
Public Shared Function fnFIE_fft_get_spec (
hFFT As FHANDLE,
ByRef ipSpecType As Integer,
ByRef ipWidth As Integer,
ByRef ipHeight As Integer,
ByRef ipNormalization As Integer
) As Integer |
Parameters
- hFFT
- Type: fvalgcli..::..FHANDLE
既存FFTハンドル
- ipSpecType
- Type: System..::..Int32%
FFTハンドルの種類
- ipWidth
- Type: System..::..Int32%
1次元FFTの場合はデータ長を返します。2次元FFTの場合は画像幅を返します。
- ipHeight
- Type: System..::..Int32%
1次元FFTの場合は0を返します。2次元FFTの場合は画像高さを返します。
- ipNormalization
- Type: System..::..Int32%
正規化手法。 f_fft_normalize_type を参照して下さい。
Return Value
Type:
Int32
以下のエラーコードを返します。
エラーコード:f_err | 内容 |
---|
F_ERR_NONE | 正常終了 |
F_ERR_INVALID_OBJECT | hFFT が IntPtr.Zero |
F_ERR_INVALID_PARAM | パラメータ不正
- hFFT の型が F_OBJID_FFTSPEC ではない
- hFFT の型が F_OBJID_FFTSPEC ではない
|
F_ERR_NO_LICENCE | ライセンスエラー、または未初期化エラー |
Examples
C# | Copy |
---|
using System;
using System.Collections.Generic;
using System.Text;
using fvalgcli;
namespace TC
{
public partial class FIE
{
[FvPluginExecute]
public void fnFIE_fft_get_spec()
{
}
}
} |
Visual Basic | Copy |
---|
Imports System.Collections.Generic
Imports System.Text
Imports fvalgcli
Public Partial Class FIE
<FvPluginExecute> _
Public Sub fnFIE_fft_get_spec()
End Sub
End Class |
See Also