File Exchange

image thumbnail

Plot Multiple Segmented Boundaries

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


Updated 23 Aug 2020

View Version History

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

Thanh, Dang N. H., et al. “Automatic Initial Boundary Generation Methods Based on Edge Detectors for the Level Set Function of the Chan-Vese Segmentation Model and Applications in Biomedical Image Processing.” Frontiers in Intelligent Computing: Theory and Applications, Springer Singapore, 2019, pp. 171–81, doi:10.1007/978-981-13-9920-6_18.

View more styles

Thanh, Dang N. H., et al. “A Skin Lesion Segmentation Method for Dermoscopic Images Based on Adaptive Thresholding with Normalization of Color Models.” 2019 6th International Conference on Electrical and Electronics Engineering (ICEEE), IEEE, 2019, doi:10.1109/iceee2019.2019.00030.

View more styles

Thanh, Dang N. H., et al. “Melanoma Skin Cancer Detection Method Based on Adaptive Principal Curvature, Colour Normalisation and Feature Extraction with the ABCD Rule.” Journal of Digital Imaging, vol. 33, no. 3, Springer Science and Business Media LLC, Dec. 2019, pp. 574–85, doi:10.1007/s10278-019-00316-x.

View more styles

Comments and Ratings (1)


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

Community Treasure Hunt

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

Start Hunting!