Image Rotate, Scale, and Translate
The 'im_rst.m' function rotates, scales, and translates an image according to the scale, rotation, and translation parameters passed to it.
'function rst = im_rst(I1, scale, angle, x_shift, y_shift)
I1 -> input image
scale -> scale factor
angle -> rotation angle
x_shift -> x translation
y_shift -> y translation
The function first scales the image, then rotates it, then translates (shifts) it. If the resulting image is larger than the input image, the resulting image is cropped using 'imcrop()', making the output image the same size as the input image.
Citation pour cette source
sethb Benton (2026). Image Rotate, Scale, and Translate (https://fr.mathworks.com/matlabcentral/fileexchange/27300-image-rotate-scale-and-translate), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
