Resize_binary_edge_image(I,Sy,Sx)
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.
인용 양식
sagi eppel (2024). 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. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
- MATLAB > Graphics > Images > Read, Write, and Modify Image >
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!