Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Take a look at Hough transform. Thats not the fastest method, but it should be the easiest one. For lines: HoughLines and for circles: HoughCircles

If I got it right you want to detect in the first image the curved area as circle? I promise you theres no chance. HoughCircle will find a lot of circles when you have the right parameters, but for me that snippet looks very straight, because the arc length is very short. There will be distorsions that will be more kind of a circle.

Take a look at Hough transform. Thats not the fastest method, but it should be the easiest one. For lines: HoughLines and for circles: HoughCircles

If I got it right you want to detect in the first image the curved area as circle? I promise you theres there is no chance. HoughCircle will find a lot of circles when you have the right parameters, but for me that snippet looks very straight, because the arc length is very short. There will be distorsions that will be more kind of a circle.