How to rotate an image around the y-axis by using a rotation matrix
1 次查看(过去 30 天)
显示 更早的评论
Hello
I have a grayscale image which I want to rotate about the y-axis by using the rotation matrix below.
rotation_Matrix = [cos(angle) -sin(angle);sin(angle) cos(angle)];
where angle is in radians.
I have tried multiplying the matrix by the size of the grayscale image, also tried maketform and affine and/or projective. However, I am not getting the desired result.
I will be grateful if someone can help me.
Thank You.
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!