image thumbnail

Fill corners of rotated image

version 1.5 (3.33 KB) by Vlad Atanasiu
Rotate image without making black edges.

6.8K Downloads

Updated 19 Nov 2014

View License

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 (2021). Fill corners of rotated image (https://www.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 Linux

Community Treasure Hunt

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

Start Hunting!