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 个评论

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.

请先登录,再进行评论。

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by