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