How to rotate an image around the y-axis by using a rotation matrix

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.

Answers (1)

Why not just use imrotate() ?

1 Comment

I have also tried the imrotate but it did not suit me for later processing. By the way, am working as per the algorithms mentioned in the paper "Vascular pattern recognition using CLAHE and median filtering methods".
Thank You

Sign in to comment.

Tags

No tags entered yet.

Asked:

on 9 Jul 2013

Community Treasure Hunt

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

Start Hunting!