Detect elliptic shape in image
4 次查看(过去 30 天)
显示 更早的评论
I habe an rather complex image to analyse. Here is a quick thumbnail of the image (I attached the full sized image (Image_Full):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191424/image.jpeg)
Goal is to measure the elliptic shaped hole (radii and area) in the center of the image. I tried the "Ellipse Detection Using 1D Hough Transform" from the File Exchange but I can't finde any suitable settings to get the parameters for the ellipse. When I got this radii and area should be easy.
I also tried variouse image filters to get a better edge image. I obtained the "best" result (in my opinion) by applying Otsu-Methode for image binarisation then using two morphological filters. First I used a closing operation with a round shaped structuring element (3px radius) and then I used a opening operation with a round shaped structuring element (5px radius). After that I used canny-operator to obtain the final edge image. I attached the result in the attachments.
Question is now whats the best method to get the elliptic shape? Maybe you can guide me into the right direction...
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!