How to rotate image using code?

3 Ansichten (letzte 30 Tage)
Pham Viet Thien
Pham Viet Thien am 24 Sep. 2018
Beantwortet: Image Analyst am 24 Sep. 2018
no use imrotate(im,angle)
  1 Kommentar
Rik
Rik am 24 Sep. 2018
Do you mean that doesn't work? Or do you mean you have a homework assignment that tells you to make this?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 24 Sep. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by