Rotate_binary_edge_​image(I,Ang)

version 1.1.0.0 (4.54 KB) by sagi eppel
Rotate binary (logical) edge image (I) in (Ang) degrees. Maintain line connectivity.

134 Downloads

Updated 29 Mar 2015

View License

Rotate binary edge image (I) in (Ang) degrees
The rotated output image will also also be a binary edge image.
The connectivity/topology of all edges/curves in the input image (I) will be maintained and the line thickness of the curves in the output image (mat) will remain 1 pixel.
The center of rotation is the center of the image
The dimensions of the output image (mat) will be different from the input image and will be set such that the rotated image is fully within the image frame.
Input
I: Binary edge image (logical type) consist of lines and curves with a thickness of one pixels (such as curves, contour line, template, or edge images)
Ang: Rotation angle of the image in Degrees

Output
mat: Rotated version of the input image (I), also binary edge image, the connectivity/topology of the edges/curves in input image (I) is maintained and also the line thickness remain one pixel.

Cite As

sagi eppel (2022). Rotate_binary_edge_image(I,Ang) (https://www.mathworks.com/matlabcentral/fileexchange/50323-rotate_binary_edge_image-i-ang), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
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!