Home > freetb4matlab > image > roicolor.m

roicolor

PURPOSE ^

% Select a Region Of Interest of an image based on color.

SYNOPSIS ^

function BW = roicolor(A, p1, p2)

DESCRIPTION ^

% -*- 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003