- read_image (Image, 'C:/Users/Admin/Desktop/1.jpg')
- draw_spoke (Image, Regions, 3600, 30, 30, 15, ROIRows, ROICols, Direct)
- spoke (Image, Regions1, 30, 30, 15, 1, 20, 'all', 'max', ROIRows, ROICols, Direct, ResultRow, ResultColumn, ArcType)
- pts_to_best_circle (Circle, ResultRow, ResultColumn, 15, ArcType, RowCenter, ColCenter, Radius, StartPhi, EndPhi, PointOrder, ArcAngle)
复制代码 通过spoke算子可以得到圆,但是你的圆不是正规的圆啊,有偏差!
|