FittingThreshold屬性
套用至
視覺物件:ArcFinder, BoxFinder, Contour, CornerFinder, LineFinder
說明
定義直線或弧線擬合閾值。
用途
VGet Sequence.Object.FittingThreshold, var
VSet Sequence.Object.FittingThreshold, value
- Sequence
- 序列名稱或表示序列名稱的字串變數
- Object
- 物件名稱或表示物件名稱的字串變數。物件必須存在於指定序列中。
- var
- 表示屬性值的實數變數
- value
- 表示新屬性值的實數或運算式
數值
實數(單位:像素)。
預設:10
詳細說明
FittingThreshold會指定擬合直線或弧線時使用的Edge結果。重複搜尋Edge以尋找直線或弧線期間,若發現Edge到直線的距離大於FittingThreshold值,則在最終直線或弧線擬合時不會使用該Edge結果。
參考
LineFinder物件、ArcFinder物件、BoxFinder物件、Contour物件、CornerFInder物件、FitError結果