Matrix and Image Rotation

Version 1.0.3 (3.61 KB) by Evan Czako
Allows rotation of matrix or greyscale image. Option to resize or maintain original dimensions of image.
91 Downloads
Updated 22 Nov 2019

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 (2024). Matrix and Image Rotation (https://github.com/EvanCzako/matrix-rotation), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Read, Write, and Modify Image in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.3

Connected to GitHub.

1.0.1

Updated image.

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.