使用算子:get_contour_global_attrib_xld(Contour : : Name : Attrib)
query_contour_global_attribs_xld 可用於查詢特定的輪廓設置了哪些全局屬性
'bright_dark' | 每個輸出XLD輪廓的轉換類型存儲在屬性“bright_dark”中。如果連接線形成明暗轉換(從左到右,從起點到終點),則將其設置為1.0,否則將其設置為0.0。 示例性XLD輪廓(紅色和綠色)沿着整流網格的邊緣(從起點到終點的方向由箭頭指示)。轉換類型存儲在屬性“bright_dark”中,紅色輪廓為1.0,綠色輪廓為0.0。 The attribute 'bright_dark' is added by the following operator: connect_grid_points |
'cont_approx' | 輪廓的最佳近似方法由屬性'cont_approx'表示:對於'cont_approx'=-1,輪廓的最佳近似方法是用一條線段表示,對於'cont_approx'=0,用一條橢圓曲線表示,對於'cont_approx'=1,用一條圓弧表示。 The attribute 'cont_approx' is added by the following operator: segment_contours_xld |
'is_hole' | 對於包含孔的邊界,將全局輪廓屬性'is_hole'設置為1,否則設置為0。 |
'regr_dev_dist' | 輪廓線點與回歸線之間(歐幾里得)距離的標准差。 The attribute 'regr_dev_dist' is added by the following operator: regress_contours_xld |
'regr_dist' | 回歸線到圖像坐標系統原點的最小距離。 The attribute 'regr_dev_dist' is added by the following operator: regress_contours_xld |
'regr_mean_dist' | 包含每個等高線點到回歸線之間的歐式距離的平均值。 The attribute 'regr_dev_dist' is added by the following operator: regress_contours_xld |
'regr_norm_col' | 回歸線單位法向量的列坐標,法向量從原點指向該線。 The attribute 'regr_dev_dist' is added by the following operator: regress_contours_xld |
'regr_norm_row' | 回歸線單位法向量的行坐標,法向量從原點指向該線。 The attribute 'regr_dev_dist' is added by the following operator: regress_contours_xld |
繪制屬性“regr_dist”、“regr_norm_col”、“regr_norm_row”的草圖,用於回歸XLD輪廓(紅色)。'regr_mean_dist'和'regr_dev_dist'是從輪廓線點到回歸線(實心黑線)的距離(黑色箭頭)計算得到的。