Home > freetb4matlab > image > bwselect.m

bwselect

PURPOSE ^

% Select connected regions in a binary image.

SYNOPSIS ^

function [imout, idx] = bwselect( im, cols, rows, connect )

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{imout}, @var{idx}] =} bwselect(@var{im}, @var{cols}, @var{rows}, @var{connect})
% Select connected regions in a binary image.
%
% @table @code
% @item @var{im}
% binary input image
% @item [@var{cols}, @var{rows}]
% vectors of starting points (x,y)
% @item @var{connect}
% connectedness 4 or 8. default is 8
% @item @var{imout}
% the image of all objects in image im that overlap
% pixels in (cols,rows)
% @item @var{idx}
% index of pixels in imout
% @end table
% @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