How to get the topmost and the bottomost coordinates in a binary image?

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

추가 답변 (1개)

Image Analyst
Image Analyst 2015년 7월 20일

0 개 추천

Here is the demo I posted in your duplicate question. See the attached demo.

질문:

2015년 7월 19일

답변:

2015년 7월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by