Resize_binary_edge_​image(I,Sy,Sx)

Resize binary edge image while maintaining curves connectivity and line thickness of one pixel
265 download
Aggiornato 29 mar 2015

Visualizza la licenza

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.

Cita come

sagi eppel (2025). Resize_binary_edge_image(I,Sy,Sx) (https://it.mathworks.com/matlabcentral/fileexchange/49135-resize_binary_edge_image-i-sy-sx), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.2.0.0

code changed

1.1.0.0

code changed

1.0.0.0