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.
Zitieren als
sethb Benton (2025). Image Rotate, Scale, and Translate (https://de.mathworks.com/matlabcentral/fileexchange/27300-image-rotate-scale-and-translate), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Im_rst/
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
