File Exchange

image thumbnail

Plot Multiple Segmented Boundaries

version 1.0.0 (1.72 KB) by Dang N. H. Thanh
Draw multiple boundaries of segmented results on the original image


Updated 18 Apr 2019

View License

Copyright 2019 by Dang N. H. Thanh. Email:
Visit my site:
You need to install the image processing toolbox
Draw multiple boundaries of segmented results on the original image, where, inputimagepath - The path to input image, bordersize - The border width measured in pixel, segoption - This is 2D array, including the path of segmented images. The segoptions should be:
segoptions = {{path0; color0}, {path1; color1}, ...};
Note that: comma (,) and semicolon (;).

For example:
segoptions = {{'seg1.png'; 'r--'}, {'seg2.png'; 'b-.'}};
PlotMultipleSegmentedBoundaries('orin.png', 3, segoptions);

Note: result will be stored in the __boundaries folder of current path

Cite As

Dang N. H. Thanh (2019). Plot Multiple Segmented Boundaries (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)


MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor