clip_end_points_contours_xld (EllipseContour, ClippedContoursLength, 'length', 20)*在轮廓两端点剪...
union_adjacent_contours_xld(Contours : UnionContours : MaxDistAbs, MaxDistRel, Mode : ) 参数中MaxDistAbs和MaxDistRel用来设置邻近的判定标准,其中MaxDistAbs参数解释为Maximum distance of the contours' end points,即计算两两轮廓起点终点共4个距离值,这4个距离值的最小值minDist如果小于阈值MaxDistAbs则...
*参数1:xld轮廓 *参数2:全局属性名,包含如下: * 'regr_norm_row' * 'regr_norm_col' * 'regr_mean_dist' * 'regr_dev_dist' * 'cont_approx' * 可判断轮廓段的种类是直线、圆弧 还是 椭圆弧 具体如下: * cont_approx = -1 对应XLD为直线,可以拟合为直线 * cont_approx = 0 对应XLD为圆,可以...
(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_...
功能:根据区域创建XLD轮廓(contour)。 5. gen_contours_skeleton_xld 功能:将框架转换为XLD轮廓(contour)。 6. gen_cross_contour_xld 功能:根据每个输入点交叉的形状创键一个XLD轮廓(contour)。 7. gen_ellipse_contour_xld 功能:根据相应的椭圆弧创建一个XLD轮廓(contour)。
clip_end_points_contours_xld (EllipseContour, ClippedContoursLength, 'length', 20)去除线条两端的部分像素。 region_to_bin (Rectangle, BinImage, 130, 100, 120, 130)将区域转换成具有固定灰度值的图像 paint_gray (SmoothedImage, BinImage, Image)将一图图像绘制到另一幅图像上。 union_collinear_contour...
Contours to be clipped. ClippedContours(output_object)xld_cont(-array)→object Clipped contours. Row1(input_control)rectangle.origin.y→(integer) Row coordinate of the upper left corner of the clip rectangle. Default value:0 Suggested values:0, 500, 1000, 1500, 2000 ...
segment_contours_xld首先用多边形逼近输入轮廓。 这样,轮廓在曲线区域被过度分割。 在此之后,如果可以用圆弧更好地逼近轮廓, 则将相邻线段分别用圆弧或椭圆圆弧代替。 如果SmoothCont设置为一个大于0的值, 则首先对输入轮廓进行平滑(请参阅smooth_contours_xld)。
89** ClipContoursXld( Contours: X;outClippedContours: X; Row1, Column1, Row2, Column2);10说明, clip_contours_xld,修剪一个XLD轮廓,。1112** ClipEndPointsContoursXld( Contours: X;outClippedContours: X; Mode, Length);13说明, clip_end_points_contours_xld,去除线条两端的部分像素。1415** ...
Contours to be clipped. ClippedContours(output_object)xld_cont(-array)→object Clipped contours. Row1(input_control)rectangle.origin.y→(integer) Row coordinate of the upper left corner of the clip rectangle. Default value:0 Suggested values:0, 500, 1000, 1500, 2000 ...