SHOWREGIONS(L,N) displays the regions of the label matrix L corresponding to the indices listed in the vector N. L is a label matrix generated by the functions BWLABEL or WATERSHED, and N is a vector of indices (positive integers, and zero).
Paul Fricker (2020). showregions.m (https://www.mathworks.com/matlabcentral/fileexchange/2788-showregions-m), MATLAB Central File Exchange. Retrieved .
Updated the example in the Help section.
Improvements to HELP doc, and better handling of input arguments.