Find the most furthest point in binary images
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1198203/image.jpeg)
Hello, I have a binary image, and I would like to find x and y values of the most furthest point ---> so the point which is closest to border.
How can I do that?
Thank you
1 Kommentar
Antworten (1)
Image Analyst
am 18 Nov. 2022
You can find all xy points in the binary image using
[y, x] = find(binaryImage);
[y, x] = find(bwperim(binaryImage));
The point which is closest to the border of the blob is a point on the perimeter.
To find which point in the blob is closest to the border of the image, use bwdist
If you still need help, then explain better what you want in your reply, since now it's ambiguous.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!