通过边缘拟合圆和线
edges_sub_pix 边缘分割,segment_contours_xld 分割边缘为 圆和线或者椭圆
circle.hdev
1 | * |
例子2:
measure_circles.hedv
1 | * This program fits circles into circular contour segments |
边缘分割的案例
1 |
|
BoundaryType—边界类型
‘inner’,‘inner_filled’,‘outer’
如果是’inner’是内层边界,'inner_filled’是内部孔的边界,'outer’是外出边.