Clear Filters
Clear Filters

Trace through the binary image and find the minimum row,maximum row and minimum column and maximum column whose pixel value is non 255

2 views (last 30 days)
Hello,
I have a binary image, i want trace through the image and find the minimum row,maximum row,minimum column and maximum column whose pixel value is not equal to 255(ie it should be 0) .
I want to get these four coordinates using
find()
I am sending here the binary image for which i want to find the coordinates.
I have marked with red color for the coordinates i want to find.(ie left top coordinates and bottom right coordinates)
Please let me know about this.
Looking forward to hear from you.
Thanks Pankaja

Answers (0)

Community Treasure Hunt

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

Start Hunting!