测量轮廓:smallest_circle_xld,smallest_rectangle1_xld,smallest_rectangle2_xld. 示例:smallest_rectangle1_xld (ContCircle, Row19, Column19, Row26,Column26) ContCircle(输人对象):输出轮廓对象 Row19(输出控制参数):输出轮廓左上角的行坐标 Column19(输出控制参数):输出轮廓左上角的列坐标 Row26(输出控制...
生成圆轮廓gen_circle_contour_xld 算子:gen_circle_contour_xld( : ContCircle : Row, Column, Radius, StartPhi, EndPhi, PointOrder, Resolution : ) 示例:gen_circle_contour_xld (ContCircle1, 500, 500, 150, 0, 6.28318, 'positive', 1) ContCircle1(输出对象):输出生成的轮廓对象 500(输入控制参...
测量轮廓:smallest_circle_xld,smallest_rectangle1_xld,smallest_rectangle2_xld. 示例:smallest_rectangle1_xld (ContCircle, Row19, Column19, Row26,Column26) ContCircle(输人对象):输出轮廓对象 Row19(输出控制参数):输出轮廓左上角的行坐标 Column19(输出控制参数):输出轮廓左上角的列坐标 Row26(输出控制...
gen_circle (Region_MeasureC, MeasureC_R, MeasureC_C, MeasureC_Radius) gen_contour_region_xld (Region_MeasureC, Region_MeasureC, 'border') gen_region_contour_xld (Region_MeasureC, Region_MeasureC, 'margin') gen_measure_arc (MeasureC_R, MeasureC_C, MeasureC_Radius, rad(0), rad(360)...
smallest_circle(Regions : : : Row, Column, Radius) 作用:计算最小外接圆参数 smallest_rectangle1(Regions : : : Row1, Column1, Row2, Column2) 作用:计算平行坐标轴的最小外接矩形参数 smallest_rectangle2(Regions : : : Row, Column, Phi, Length1, Length2) 作用:计算区域任意方向的最小外接矩形...
14. elliptic_axis_xld 功能:轮廓(contour)或多变形(polygon)的等价椭圆参数。 15. fit_circle_contour_xld 功能:根据圆周近似获取XLD轮廓(contour)。 16. fit_ellipse_contour_xld 功能:根据椭圆或椭圆弧近似获取XLD轮廓(contour)。 17. fit_line_contour_xld ...
fit_circle_contour_xld,gen_circle_contour_xld,get_deformable_model_contours 19.1 Access 1. get_contour_xld 功能:返回XLD轮廓(contour)的坐标。 2. get_lines_xld 功能:返回一个XLD多边形(polygon)数据。 3. get_parallels_xld 功能:返回一个XLD并行数据。
smallest_circle (FinalBalls, Row, Column, Radius) 可以看到,列确实是从小到到大排列的 显示圆 disp_circle (WindowID, Row, Column, Radius) 完整代码 * ball.hdev: Inspection of Ball Bonding*dev_update_window ('off')dev_close_window ()dev_open_window (0, 0, 728, 512, 'black', WindowID)...
smallest_circle (XYTransRegion1, Row, Column, Radius1) gen_circle (Circle1, Row, Column, Radius1) dev_display (ImageGray) dev_display (Circle1) 处理效果 应用实例2 项目介绍 要求:如图所示,该图为需要找出红色圆圈内焊点的位置 。 原图: ...
halcon中fit_circle_contour_xld算子同样集成了几何拟合与代数拟合,并引入权重函数(huber和tukey),tukey直接去除异常点,huber削减异常点的影响,所有内点到拟合圆的距离标准差被用来评估拟合过程的好坏。我没有完全按照halcon中的去实现,而是随机选择至少三点拟合圆,评估误差和内点数量,迭代过程结束后选取误差最小或内点数...