Image Rotate, Scale, and Translate

Rotates, scales, and translates an image passed to it.
2,6K Downloads
Aktualisiert 19. Apr 2010

Lizenz anzeigen

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
Erstellt mit R2008b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0