crop a polygon and make it a rectangle
3 views (last 30 days)
Show older comments
I want to crop an image for some application as in the cam scanner app in which the largest polygon in an image is choosen and then it is made a rectangle. For that I found the corners of the required polygon using some processing techniques by finding corners and calculating the largest area ...... finally I am struck with cropping part where i can crop the polygon part but cant make it a rectangle. Help me with this.
1 Comment
Vandana Rajan
on 28 Feb 2017
Hi,
It would be better if you can narrow down the problem and elaborate that aspect better. How exactly are you cropping the polygon and how do you wish to make a rectangle? Giving more details will encourage the community members to answer.
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!