CornerNeighbors

CornerNeighbors

is an option for various array and image processing functions that specifies whether diagonally adjacent corners should be considered neighbors of particular elements.

Details

Examples

open all close all

Basic Examples  (2)

Eight-connected components:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=

Four-connected components:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=

Scope  (3)

Introduced in 2008
(7.0)
|
Updated in 2014
(10.0)