![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1256157/image.png)
How to rotate the image without using the imrotate option...
14 次查看(过去 30 天)
显示 更早的评论
Hello all,
I don't have a Image processing toolbox to use imrotate function, So please let me know any other method or procedure to do this.
I need the pass the angle of rotation from 0 to 360 degree then the image should rotate with corresponding angle.
Best Regards,
Raghavendra
0 个评论
回答(1 个)
DGM
2023-1-8
If you don't have IPT, MIMT imrotateFB() will work, and the syntax is similar. It will run faster with IPT available, but will still run without it. It should also still run in R2012x. Check the documentation, but most of the options are supported in fallback mode.
inpict = imread('peppers.png');
outpict = imrotateFB(inpict,30,'bilinear','crop');
imshow(outpict)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1256157/image.png)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!