Pixelated contours

Pixelated contour of connected components in a 2D indexed image
Updated 7 Dec 2016

View License

pixelatedContour computes raw contours in 2D intensity image without interpolation.
These contours are vertical or horizontal segments that separate two contiguous pixels with different intensity
This could be useful to enhance regions or cells visualization with sharp boundaries.

Functions are vectorized to improve computation speed and results are compressed to accelerate the display of the contours.

Demo code is provided in the zip file.

Feel free to contact me for any question or enhancement

Cite As

Jerome Briot (2024). Pixelated contours (https://www.mathworks.com/matlabcentral/fileexchange/60608-pixelated-contours), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Images in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes