How to detect corner points automatically in images ?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2021년 6월 7일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!