improve rotated image.....

1 回表示 (過去 30 日間)
mohd
mohd 2012 年 3 月 4 日
hello.. how to improve rotated image to become unrotated image. this is example of rotated image.

採用された回答

Image Analyst
Image Analyst 2012 年 3 月 4 日
Determine angle of rotation by finding squares. Then call imrotate().
  3 件のコメント
Image Analyst
Image Analyst 2012 年 3 月 4 日
Threshold to find dark regions, use regionprops, filter on size and perimeter^2/(4*pi*area) to detect squares of the right size. Then think a little bit about how to find angles. There are probably several ways, like maybe hough() or houghlines()???? Or use area of square and area of bounding box. Or use the corner() function. Try some. Experiment and have fun. Shouldn't be too hard.
mohd
mohd 2012 年 3 月 7 日
ok thanks alot..:)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by