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 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