How to extract largest square or rectangle patch from an irregular shaped patch in such a way that the square patch is completey inside the other patch?

1 view (last 30 days)
How to extract largest square or rectangle patch from an irregular shaped patch in such a way that the square patch is completey inside the other patch?

Answers (1)

Image Analyst
Image Analyst on 14 Feb 2016
If that's not what you want, then please attach a picture with the green and brown frame icon to help us visualize it better.

Community Treasure Hunt

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

Start Hunting!