


% -*- texinfo -*-
% @deftypefn {Function File} {@var{BW} = } roicolor (@var{A},@var{low},@var{high})
% @deftypefnx {Function File} {@var{BW} = } roicolor (@var{A},@var{v})
% Select a Region Of Interest of an image based on color.
%
% BW = roicolor(A,low,high) selects a region of interest (ROI) of an
% image @var{A} returning a black and white image in a logical array (1 for
% pixels inside ROI and 0 outside ROI), which is formed by all pixels
% whose values lie within the colormap range specified by [@var{low}
% @var{high}].
%
% BW = roicolor(A,v) selects a region of interest (ROI) formed by all
% pixels that match values in @var{v}.
% @end deftypefn