How to rotate an image around the y-axis by using a rotation matrix
3 ビュー (過去 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!