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

10 Downloads

Updated 18 Apr 2019

View License

Copyright 2019 by Dang N. H. Thanh. Email: thanh.dnh.cs@gmail.com
Visit my site: https://sites.google.com/view/crx/sdm
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 (https://www.mathworks.com/matlabcentral/fileexchange/71253-plot-multiple-segmented-boundaries), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Jackie

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