How to detect corner points automatically in images ?

2 views (last 30 days)
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.

Accepted Answer

Image Analyst
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.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!