Allows rotation of matrix or greyscale image. Option to resize or maintain original dimensions of image.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Simple rotation of matrices or greyscale images.
rotate_image_regrid rotates the image and resizes its dimensions as necessary to incorporate all of the original image into the rotated output.
rotate_image_no_regrid rotates the image but maintains its original dimensions, implying that some data may be cropped out. This function also contains code to ensure that the image remains properly centered despite discrepancies between the parities of the rotated image's dimensions and the input image's dimensions. Particularly useful for circular apertures.
Please see function descriptions for further details.
Cite As
Evan Czako (2026). Matrix and Image Rotation (https://github.com/EvanCzako/matrix-rotation), GitHub. Retrieved .
General Information
- Version 1.0.3 (3.61 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
