You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Resize binary/logical image that consists of lines and curves of thickness of one pixels (i.e edge images, graphs, contours..) to new size binary image while maintaining line connectivity and line thickness of one pixel.
Input
I: Binary edge image (logical type) consist of lines and curves with a thickness of one pixel (such as curves, contour line, template, or edge images)
Sy,Sx: The size of the resized image
OR
Sy (no Sx) the scale ratio of the resized image to the original image
Output
mat: Resized version of the input image I, also binary edge image, the connectivity/topology of the edges/curves in I is maintained and also the line thickness remains one pixel
Note:
In addition to enlarging/shrinking of images can also be used to stretch edge images by using different proportions (Sx,Sy) of output image dimension to input image dimension.
Cite As
sagi eppel (2026). Resize_binary_edge_image(I,Sy,Sx) (https://www.mathworks.com/matlabcentral/fileexchange/49135-resize_binary_edge_image-i-sy-sx), MATLAB Central File Exchange. Retrieved .
Categories
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers
General Information
- Version 1.2.0.0 (3.17 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
