Home > freetb4matlab > image > conndef.m

conndef

PURPOSE ^

% Creates a connectivity array.

SYNOPSIS ^

function conn = conndef(num_dims,conntype)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{conn} = } conndef (@var{num_dims}, @var{type})
% Creates a connectivity array.
%
% @code{conn=conndef(num_dims,type)} creates a connectivity array
% (@var{CONN}) of @var{num_dims} dimensions and which type is defined
% by @var{type} as follows:
% @table @code
% @item minimal
% Neighbours touch the central element on a (@var{num_dims}-1)-dimensional
% surface.
% @item maximal
% Neighbours touch the central element in any way. Equivalent to
% @code{ones(repmat(3,1,@var{num_dims}))}.
% @end table
%
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003