rotation matrice
1 回表示 (過去 30 日間)
古いコメントを表示
Hi , I have a colormap image of a blood vessel which is tilted by 10 degrees, I want to rotate it and make it horizontal.
I tried to do it by 'imrotate', but it didn't work. I am wondering if there is another way to do that. How can I for example define the rotation matrice to multiply by my image matrice? (The image matrice is not square, it is 1559*119 )
0 件のコメント
回答 (1 件)
Grzegorz Knor
2011 年 10 月 10 日
What does it mean "it didn't work"? Have you got an errors?
Look at example:
I = imread('coins.png');
figure, imshow(I)
J = imrotate(I,-10,'bilinear','crop');
figure, imshow(J)
K = imrotate(J,10,'bilinear','crop');
figure, imshow(K)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!