segment_contour_attrib_xld(Contour : ContourPart : Attribute, Operation, Min, Max : )函数分析轮廓...
(ContoursSplit, ObjectSelected, I) get_contour_global_attrib_xld (ObjectSelected, 'cont_approx', Attrib) *返回XLD轮廓的全局属性名的值,全局属性是为每个轮廓定义的附加值 *参数1:xld轮廓 *参数2:全局属性名,包含如下: * 'regr_norm_row' * 'regr_norm_col' * 'regr_mean_dist' * 'regr_dev_...
segment_contours_xld将输入轮廓线分割为线段(如果Mode='lines'), 线段和圆弧(如果Mode='lines_circles'), 或者线段和椭圆圆弧(如果Mode='lines_ellipses')。 结果保存在ContoursSplit 。 输出轮廓是表示直线还是圆形或椭圆形弧, 可以通过全局轮廓属性'cont_approx'完成的(请参阅get_contour_global_attrib_xld)。
* cont_approx = -1 对应XLD为直线,可以拟合为直线 * cont_approx = 0 对应XLD为圆,可以拟合为圆 * cont_approx = 1 对应XLD为椭圆,可以拟合为椭圆 * 'bright_dark' * 'is_hole' *参数3:返回的属性值 if(Attrib=-1) concat_obj (Lines, ObjectSelected, Lines) *两个区域组合成区域集 else concat...
segment_contour_attrib_xldsegments the contour inContourinto contour partsContourPart. The segmentation of the contour depends on the values of its attributesAttribute(see the possible values forAttributebelow). The operator checks which attribute values lie within the given limits (Min,Max) and retur...
segment_contour_attrib_xldsegments the contour inContourinto contour partsContourPart. The segmentation of the contour depends on the values of its attributesAttribute(see the possible values forAttributebelow). The operator checks which attribute values lie within the given limits (Min,Max) and retur...
1.提取采集图像的XLD 算子:threshold_sub_pix,edges_sub_pix 2.根据形状特征选择出有效的XLD 算子:select_shape_xld 3.分割XLD 算子:segment_contours_xld 例如:segment_contours_xld (SelectedXLD, ContoursSplit, 'lines_circles', 6, 4, 4) 4.计算XLD的回归直线 ...
segment_contours_xld (Edges, ContoursSplit, 'lines_circles', 5, 4, 2) count_obj (ContoursSplit, Number) gen_empty_obj (Lines) gen_empty_obj (Circles) for I := 1 to Number by 1 select_obj (ContoursSplit, Contour, I) get_contour_global_attrib_xld (Contour, 'cont_approx', Type) ...
gen_contours_skeleton_xld, lines_gauss, edges_sub_pix 可能后置项: fit_line_contour_xld, fit_ellipse_contour_xld,fit_circle_contour_xld 可替代项: split_contours_xld, get_contour_global_attrib_xld,smooth_contours_xld, gen_polygons_xld
162拟合为矩形:fit_rectangle2_contour_xld 163拟合为椭圆:fit_ellipse_contours_xld 9、获取轨迹的图像数据 164获取轮廓坐标:get_contour_xld 165获取轮廓点的特性:get_contour_attrib_xld 10、轮廓的保存和读取 166保存轮廓:write_contour_xld_dxf 167读取轮廓:read_contour_xld_dxf ...