improve rotated image.....

2 visualizaciones (últimos 30 días)
mohd
mohd el 4 de Mzo. de 2012
hello.. how to improve rotated image to become unrotated image. this is example of rotated image.

Respuesta aceptada

Image Analyst
Image Analyst el 4 de Mzo. de 2012
Determine angle of rotation by finding squares. Then call imrotate().
  3 comentarios
Image Analyst
Image Analyst el 4 de Mzo. de 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 el 7 de Mzo. de 2012
ok thanks alot..:)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by