improve rotated image.....

2 次查看(过去 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 CenterFile Exchange 中查找有关 Geometric 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