edge recognition 一种识别边缘的方法
是按X/Y方向找一点特征的像素吗?怎么实现的,有没盆友参透
2024 .08.24
Halcon 直线拟合fit_line_contour_xld 与上面方法有点类似
https://blog.csdn.net/qq_18620653/article/details/121156147
https://www.mvtec.com/doc/halcon/13/en/fit_line_contour_xld.html
fit_line_contour_xld(Contours : : Algorithm, MaxNumPoints, ClippingEndPoints, Iterations, ClippingFactor : RowBegin, ColBegin, RowEnd, ColEnd, Nr, Nc, Dist)
fit_line_contour_xld (Contours, 'regression', -1, 0, 5, 2, RowBegin, \
ColBegin, RowEnd, ColEnd, Nr, Nc, Dist)
找ROI内的轮廓点,然后将ROI 按水平或者竖直方向均等划分一定数目小格子,在每个格子内找到符合条件的轮廓点,然后拟合直线。