conn = conndef(num_dims,type)
returns the pixel connectivity array defined by
type for num_dims
dimensions. Several Image Processing Toolbox™ functions use conndef to create the
default connectivity input argument.
Pixel connectivity, returned as a 3-by-3-....-by-3
logical array. conn is symmetric
about its center element. See Specifying Custom Connectivities for more
information.
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.