crop a polygon and make it a rectangle

1 次查看(过去 30 天)
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 个评论
Vandana Rajan
Vandana Rajan 2017-2-28
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.

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by