Fill corners of rotated image

Rotate image without making black edges.

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.5

Published as Matlab toolbox (.mltbx file).

1.4.0.0

Degrees are now converted to radians before image processing.

1.0.0.0