初期値指定コンストラクタ
Namespace: FVIL.EdgeAssembly: FVILbasic (in FVILbasic.dll) Version: 3.1.0.0 (3.1.0.17)
Syntax
C# |
---|
public CFviBoxEdge( CFviImage src, CFviEdgeResult result, CFviRectangle box, int number, ScanDirection scan_direction, int threshold, int line_width, Direction edge_direction, int len, int foot, int around, int max_threshold ) |
Visual Basic |
---|
Public Sub New ( src As CFviImage, result As CFviEdgeResult, box As CFviRectangle, number As Integer, scan_direction As ScanDirection, threshold As Integer, line_width As Integer, edge_direction As Direction, len As Integer, foot As Integer, around As Integer, max_threshold As Integer ) |
Parameters
- src
- Type: FVIL.Data..::..CFviImage
処理対象画像
- result
- Type: FVIL.Edge..::..CFviEdgeResult
処理結果格納用オブジェクト
- box
- Type: FVIL.Data..::..CFviRectangle
検出箱 [初期値:0,0-100,100 Angle=0 Center=0,0、範囲:画像の左上を 0,0 とする絶対座標]
- number
- Type: System..::..Int32
検出線数 [初期値:3、範囲:3~]
- scan_direction
- Type: FVIL..::..ScanDirection
検出線方向 [初期値:Right、範囲:ScanDirection のいずれか]
- threshold
- Type: System..::..Int32
エッジ検出閾値 [初期値:-1、範囲:-1,1~255]
- line_width
- Type: System..::..Int32
検出線プロジェクション片幅 [初期値:0、範囲:0~]
- edge_direction
- Type: FVIL.Edge..::..Direction
エッジ極性 [初期値:BrightToDark、範囲:Direction のいずれか]
- len
- Type: System..::..Int32
微分フィルタモデル [初期値:0、範囲:0~]
- foot
- Type: System..::..Int32
微分フィルタモデル [初期値:1、範囲:1~]
- around
- Type: System..::..Int32
サブピクセル計算影響範囲 [初期値:2、範囲:0~]
- max_threshold
- Type: System..::..Int32
ピーク閾値 [初期値:75、範囲:1~100]
Remarks
初期値を指定してインスタンスを構築します。
設定に失敗した場合は例外を発行します。 例外の原因と発生位置を特定するには、発行された例外クラスの ErrorCode メンバと Function メンバを参照してください。
エラーコード:
値 | ErrorCode メンバ | 内容 |
---|---|---|
11 | FVIL.ErrorCode.INVALID_PARAMETER | 引数に指定された値が不正です。 |
Exceptions
Exception | Condition |
---|---|
FVIL..::..CFviException | この例外の原因については、上記のエラーコード表をご参照ください。 |