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™.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.