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
Jerome Briot (2024). Pixelated contours (https://www.mathworks.com/matlabcentral/fileexchange/60608-pixelated-contours), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!