How to rotate image using code?

1 view (last 30 days)
no use imrotate(im,angle)
  1 Comment
Rik
Rik on 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?

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!