初期値指定コンストラクタ

Namespace: FVIL.FPM2
Assembly: FVILbasic (in FVILbasic.dll) Version: 3.1.0.0 (3.1.0.17)

Syntax

C#
public CFviFPM2Param(
	int count,
	CFviAngle angleMin,
	CFviAngle angleMax,
	int scaleMin,
	int scaleMax,
	int compressionLevel,
	int errorRange,
	int scoreThresholdL,
	int scoreThresholdH,
	bool refineEnable,
	int refineErrorRange,
	int refineScoreThreshold,
	Polarity polarity
)
Visual Basic
Public Sub New ( 
	count As Integer,
	angleMin As CFviAngle,
	angleMax As CFviAngle,
	scaleMin As Integer,
	scaleMax As Integer,
	compressionLevel As Integer,
	errorRange As Integer,
	scoreThresholdL As Integer,
	scoreThresholdH As Integer,
	refineEnable As Boolean,
	refineErrorRange As Integer,
	refineScoreThreshold As Integer,
	polarity As Polarity
)

Parameters

count
Type: System..::..Int32
マッチング回答の上限数 [初期値:1、範囲:1~]
angleMin
Type: FVIL.Data..::..CFviAngle
回転角(下限)[度] [初期値:-180、範囲:-180~180]
angleMax
Type: FVIL.Data..::..CFviAngle
回転角(上限)[度] [初期値:180、範囲:-180~180]
scaleMin
Type: System..::..Int32
スケール(下限)[%] [初期値:100、範囲:0<ScaleMin<102400]
scaleMax
Type: System..::..Int32
スケール(上限)[%] [初期値:100、範囲:0<ScaleMax<102400]
compressionLevel
Type: System..::..Int32
圧縮レベル [初期値:3、範囲:0,1,2,3,4,5]
errorRange
Type: System..::..Int32
誤差範囲[画素] [初期値:1、範囲:0~]
scoreThresholdL
Type: System..::..Int32
スコア閾値(低圧縮処理用)[%] [初期値:50、範囲:0~100]
scoreThresholdH
Type: System..::..Int32
スコア閾値(高圧縮処理用)[%] [初期値:50、範囲:0~100]
refineEnable
Type: System..::..Boolean
高精度ポーズ推定: 実行指示 [初期値:true、範囲:true/false]
refineErrorRange
Type: System..::..Int32
高精度ポーズ推定: 誤差範囲[画素] [初期値:1、範囲:0~]
refineScoreThreshold
Type: System..::..Int32
高精度ポーズ推定: スコア閾値[%] [初期値:60、範囲:0~100]
polarity
Type: FVIL.FPM2..::..Polarity
エッジ極性 [初期値:Same、範囲:Polarity のいずれか]

Remarks

初期値を指定してインスタンスを構築します。

設定に失敗した場合は例外を発行します。 例外の原因と発生位置を特定するには、発行された例外クラスの ErrorCode メンバと Function メンバを参照してください。


エラーコード:
ErrorCode メンバ内容
11FVIL.ErrorCode.INVALID_PARAMETER引数に指定された値が不正です。

Exceptions

ExceptionCondition
FVIL..::..CFviExceptionこの例外の原因については、上記のエラーコード表をご参照ください。

See Also