improve rotated image.....

 Akzeptierte Antwort

Image Analyst
Image Analyst am 4 Mär. 2012

0 Stimmen

Determine angle of rotation by finding squares. Then call imrotate().

3 Kommentare

mohd
mohd am 4 Mär. 2012
how can i find the rotation at squares. and if the image does not have squares. what is point to find the angle rotation.
Image Analyst
Image Analyst am 4 Mär. 2012
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 am 7 Mär. 2012
ok thanks alot..:)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by