How to rotate image using code?

no use imrotate(im,angle)

1 个评论

Do you mean that doesn't work? Or do you mean you have a homework assignment that tells you to make this?

请先登录,再进行评论。

 采纳的回答

Image Analyst
Image Analyst 2018-9-24

0 个投票

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.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by