0

I have a binary image on MATLAB. Assume that there is one object in image, and pixel values of ones and zeros represent the object and the background respectively. I want to get the rectangle with max volume that can be based inside the object. Is there any built-in function or suggestion of algorithm for solving this problem?

Bilal
  • 33
  • 8
  • I'd look into `regionprops` with the `'BoundingBox'` property specified. – JustinBlaber Aug 05 '15 at 16:53
  • 'BoundingBox' property returns the smallest rectangle containing the object. But I need the max rectangle which contained by the object. – Bilal Aug 05 '15 at 17:01

0 Answers0