Home > freetb4matlab > image > bwhitmiss.m

bwhitmiss

PURPOSE ^

% Perform the binary hit-miss operation.

SYNOPSIS ^

function bw = bwhitmiss(im, varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} @var{bw2} = bwhitmiss (@var{bw1}, @var{se1}, @var{se1})
% @deftypefnx{Function File} @var{bw2} = bwhitmiss (@var{bw1}, @var{interval})
% Perform the binary hit-miss operation.
%
% If two structuring elements @var{se1} and @var{se1} are given, the hit-miss
% operation is defined as
% @example
% bw2 = erode(bw1, se1) & erode(~bw1, se2);
% @end example
% If instead an 'interval' array is given, two structuring elements are computed
% as
% @example
% se1 = (interval ==  1)
% se2 = (interval == -1)
% @end example
% and then the operation is defined as previously.
% @seealso{bwmorph}
% @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