How to rotate the image without using the imrotate option...

7 vues (au cours des 30 derniers jours)
Raghavendra
Raghavendra le 14 Sep 2012
Réponse apportée : DGM le 8 Jan 2023
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

Réponses (1)

DGM
DGM le 8 Jan 2023
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)

Catégories

En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by