How to detect corner points automatically in images ?
2 views (last 30 days)
Show older comments
Anjan Goswami
on 7 Jun 2021
Commented: Image Analyst
on 7 Jun 2021
I have a series of images (as the figure below shows three images) where I need to get the base length of a semicircular type shape as shown in the bottom two images. I think, for this, I need to detect two corner points (at left and right as shown in the top most image) in each image. Is there any way to detect these points automatically? Here, I have attached these three images too.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/644250/image.png)
0 Comments
Accepted Answer
Image Analyst
on 7 Jun 2021
What you should do is to find the black boundary down to a few lines above the bottom of the image (the baseline). Then fit the coordinates to an ellipse -- see attached demo. Then evaluate the ellipse at the baseline to get the coordinates and the contact angle.
Alternatively you could use findchangepts() on the y coordinate to try to find the corners.
2 Comments
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!