Home > freetb4matlab > image > bwborder.m

bwborder

PURPOSE ^

% Finds the borders of foreground objects in a binary image.

SYNOPSIS ^

function b = bwborder(im)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{b} = } bwborder (@var{im})
% Finds the borders of foreground objects in a binary image.
%
% @var{b} is the borders in the 0-1 matrix @var{im}. 4-neighborhood is considered.
% 
% A pixel is on the border if it is set in @var{im}, and it has at least one
% neighbor that is not set.
% @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