How to get the topmost and the bottomost coordinates in a binary image?
4 次查看(过去 30 天)
显示 更早的评论
I have a binary image with background black...I need to find out the topmost coordinate point for the object and bottomost point also...if there are two or more topmost/bottomost points(if the object is flat at the top/bottom) then I need only the extreme point either the leftmost or the rightmost......can any one help...any help is appreciated
0 个评论
采纳的回答
Image Analyst
2015-7-19
I did help, in your duplicate question: http://www.mathworks.com/matlabcentral/answers/230334#comment_298988
0 个评论
更多回答(1 个)
Image Analyst
2015-7-20
Here is the demo I posted in your duplicate question. See the attached demo.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177748/image.jpeg)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 DALSA Sapera Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!