This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

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.
Count foreground objects that are formed by treating only non-corner pixel neighbors as being connected:
Count foreground objects that are formed by treating only non-corner pixel neighbors as being connected:
In[1]:=
Click for copyable input
Out[1]=
New in 7