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 allclose all

Basic Examples  (2)

Eight-connected components:

Four-connected components:

Scope  (3)

Finding the morphological perimeter of an object:

This image contains either one or 16 objects, depending on the setting of CornerNeighbors:

The result of geodesic dilation may depend on the definition of connectivity:

Wolfram Research (2008), CornerNeighbors, Wolfram Language function, https://reference.wolfram.com/language/ref/CornerNeighbors.html (updated 2014).

Text

Wolfram Research (2008), CornerNeighbors, Wolfram Language function, https://reference.wolfram.com/language/ref/CornerNeighbors.html (updated 2014).

CMS

Wolfram Language. 2008. "CornerNeighbors." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/CornerNeighbors.html.

APA

Wolfram Language. (2008). CornerNeighbors. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CornerNeighbors.html

BibTeX

@misc{reference.wolfram_2024_cornerneighbors, author="Wolfram Research", title="{CornerNeighbors}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/CornerNeighbors.html}", note=[Accessed: 12-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_cornerneighbors, organization={Wolfram Research}, title={CornerNeighbors}, year={2014}, url={https://reference.wolfram.com/language/ref/CornerNeighbors.html}, note=[Accessed: 12-October-2024 ]}