fit_rectangle2_contour_xld (Edges,'regression', -1,0,0,3,2, Row, Column, Phi, Length1, Length2, PointOrder)*对轮廓进行矩形拟合--得到矩形数据*参数1:输入轮廓*参数2:用于拟合矩形的算法*'huber','regression','tukey'*参数3:用于计算的轮廓点的最大数量* 所有点:-1*参数4:轮廓端点之间的最大...
fit_rectangle2_contour_xld returns 2 (H_MSG_TRUE) if all parameter values are correct, and rectangles could be fitted to the input contours. If the input is empty the behavior can be set via set_system('no_object_result',<Result>). If necessary, an exception is raised. If the ...
fit_rectangle2_contour_xld (Edges, 'regression', -1, 0, 0, 3, 2, Row, Column, Phi, Length1, Length2, PointOrder) *对轮廓进行矩形拟合--得到矩形数据 *参数1:输入轮廓 *参数2:用于拟合矩形的算法 * 'huber', 'regression', 'tukey' *参数3:用于计算的轮廓点的最大数量 * 所有点:-1 *参...
GenRectangle2ContourXld(&ho_Rectangle, 300, 200, 0.5, 100.5, 20.5); //创建一个矩形XLD轮廓 //参数1:输出轮廓 //参数2:矩形中心的行坐标 //参数3:矩形中心的列坐标 //参数4:矩形主轴的角度 限制:-pi/2<PhiΦ<=pi/2 //参数5:长度的一半 //参数6:宽度一半 if (HDevWindowStack::IsOpen()) Dis...
In this case, the operator fit_rectangle2_contour_xld is typically called with the parameter ClippingEndPoints set to a value greater than zero to exclude points at the beginning and the end of the contour from the computation. To compute the distances of the same set of points as used in...
geotukey:类似于geometric,轮廓点被加权以减小异常值的影响基于方法Tukey fit_ellipse_contour_xld.hdev fit_ellipse_tooth_rim_xld.hdev fit_rectangle2_contour_xld.hdev --- 鸟叔封装的halcon rake卡直线 spoke卡圆工具(开源版) v1.3 20190527 提示信息 - Halcon视觉之家 - 51Halcon专注于机器视觉技术...
halcon中fit_circle_contour_xld算子同样集成了几何拟合与代数拟合,并引入权重函数(huber和tukey),tukey直接去除异常点,huber削减异常点的影响,所有内点到拟合圆的距离标准差被用来评估拟合过程的好坏。我没有完全按照halcon中的去实现,而是随机选择至少三点拟合圆,评估误差和内点数量,迭代过程结束后选取误差最小或内点数...
法1:用 fit_rectangle2_contour_xld可以从轮廓线提取矩形,根据长宽边满足测量。 法2:用gen_parallel_contour_xld(contour, parallelcontour, ‘regression_normal’, -Distance)直接得到平行线的距离,(长、宽各一个) 审核编辑 :李倩
fit_line_contour_xld 拟合直线 配合gen_contour_polygon_xld 查看结果 fit_circle_contour_xld 拟合圆 使用gen_circle_contour_xld 查看拟合结果 fit_rectangle2_contour_xld 拟合矩形 使用fit_rectangle2_contour_xld 查看结果 fit_ellipse_contour_xld 椭圆 ...
9. gen_polygons_xld 功能:根据多边形近似创建XLD轮廓(contour)。 10. gen_rectangle2_contour_xld 功能:创建一个矩形XLD轮廓(contour)。 11. mod_parallels_xld 功能:提取一个包括同质区域的并行XLD多边形(polygon)。 19.3 Features 1. area_center_points_xld ...