How to rotate image using code?

7 visualizaciones (últimos 30 días)
Pham Viet Thien
Pham Viet Thien el 24 de Sept. de 2018
Respondida: Image Analyst el 24 de Sept. de 2018
no use imrotate(im,angle)
  1 comentario
Rik
Rik el 24 de Sept. de 2018
Do you mean that doesn't work? Or do you mean you have a homework assignment that tells you to make this?

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 24 de Sept. de 2018
Scan the output image. For each row, column location use the Rotation matrix (from Wikipedia) to determine where in the input image the pixel should come from, and assign it.

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