Trace perimeter of binary image with line segments (bwperimtrace)

Traces the outer boundaries of non-zero pixels in a monochrome image
297 download
Aggiornato 24 ago 2015

Visualizza la licenza

Lines surrounding contiguous regions in an image can be extracted using MATLAB's built-in contour/contourc functions, but these functions perform linear interpolation between pixels leading to 'cut corners'. bwperim from the imaging toolbox will trace boundaries without interpolation, but only provides its result as a pixel map. This function, bwperimtrace, instead outputs line segments that entirely contain all non-zero pixels in the input image. The package also includes contourc4, a replacement for contourc, which doesn't perform any interpolation between pixels.

Cita come

Daniel Warren (2024). Trace perimeter of binary image with line segments (bwperimtrace) (https://www.mathworks.com/matlabcentral/fileexchange/49551-trace-perimeter-of-binary-image-with-line-segments-bwperimtrace), MATLAB Central File Exchange. Recuperato .

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

Ispirato: Im2mesh (2D image to triangular meshes)

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.0.0.0

Update submission title to better reflect its purpose.