How to make object rectangular shape?

I'm trying to segment a card which is rectangular. Due to noise, somtime the segmentation is not perfect but almost understandable. How to make this shape rectangular?

1 Comment

Rather than take a horrible segmentation and try to turn it (some amorphous blob) into a rectangle, it would be better to just improve your segmentation. And we can't give advice on that without your original image. Please attach it.

Sign in to comment.

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 22 May 2019

Commented:

on 22 May 2019

Community Treasure Hunt

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

Start Hunting!