Fill corners of rotated image
Version 1.5 (3.33 KB) by
Vlad Atanasiu
Rotate image without making black edges.
ROIROTATE was designed to avoid the 'black corners' typical of MATLAB's imrotate function, which are apearing from its behaviour of padding by zeros of the space outside the image borders prior to the rotation. This is possible if the image to be rotated is part of a bigger image, because there is enough information to fill the corners.
Cite As
Vlad Atanasiu (2026). Fill corners of rotated image (https://uk.mathworks.com/matlabcentral/fileexchange/1825-fill-corners-of-rotated-image), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12.1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > ROI-Based Processing >
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
