初期値指定コンストラクタ (Default 用)
Namespace: FVIL.GS2Assembly: FVILbasic (in FVILbasic.dll) Version: 3.1.0.0 (3.1.0.17)
Syntax
C# |
---|
public CFviGS2Param( int count, int thresholdMid, int thresholdFinal, bool edgeDetect, bool reverseMode, int pitchX, int pitchY, Precision precision, int complexity ) |
Visual Basic |
---|
Public Sub New ( count As Integer, thresholdMid As Integer, thresholdFinal As Integer, edgeDetect As Boolean, reverseMode As Boolean, pitchX As Integer, pitchY As Integer, precision As Precision, complexity As Integer ) |
Parameters
- count
- Type: System..::..Int32
検出上限数 [初期値:1、範囲:1~]
- thresholdMid
- Type: System..::..Int32
途中相関値 [初期値:5000、範囲:1000~9999]
- thresholdFinal
- Type: System..::..Int32
最終相関値 [初期値:6000、範囲:1000~9999]
- edgeDetect
- Type: System..::..Boolean
サーチウインドウ周囲接触フラグ [初期値:false、範囲:true/false]
- reverseMode
- Type: System..::..Boolean
反転パターン検出モードフラグ [初期値:false、範囲:true/false]
- pitchX
- Type: System..::..Int32
最終的な回答の出力時に、同一の解であるとみなす範囲 [初期値:0、範囲:0~]
- pitchY
- Type: System..::..Int32
最終的な回答の出力時に、同一の解であるとみなす範囲 [初期値:0、範囲:0~]
- precision
- Type: FVIL.GS2..::..Precision
精度 [初期値:Normal、範囲:Precision のいずれか]
- complexity
- Type: System..::..Int32
複雑度 [初期値:1、範囲:1~9]
Remarks
初期値を指定してインスタンスを構築します。
設定に失敗した場合は例外を発行します。 例外の原因と発生位置を特定するには、発行された例外クラスの ErrorCode メンバと Function メンバを参照してください。
エラーコード:
値 | ErrorCode メンバ | 内容 |
---|---|---|
11 | FVIL.ErrorCode.INVALID_PARAMETER | 引数に指定された値が不正です。 |
Exceptions
Exception | Condition |
---|---|
FVIL..::..CFviException | この例外の原因については、上記のエラーコード表をご参照ください。 |