How to detect corner points automatically in images ?

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.

 채택된 답변

Image Analyst
Image Analyst 2021년 6월 7일

0 개 추천

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

Anjan Goswami
Anjan Goswami 2021년 6월 7일
편집: Anjan Goswami 2021년 6월 7일
Sir, I do not find any attached demo here.
@Anjan Goswami, sorry, I've attached it now.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품

릴리스

R2020b

질문:

2021년 6월 7일

댓글:

2021년 6월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by