MorphologicalPerimeter

MorphologicalPerimeter[image]

picks out the morphological perimeter of regions of foreground in image.

MorphologicalPerimeter[image,t]

treats values above t as foreground.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Find the boundary of foreground objects:

Specify an intensity threshold:

Options  (3)

CornerNeighbors  (2)

In 2D, by default, all 8 neighbors are visited to see if a pixel is connected to the background:

Return a 4-connected perimeter using CornerNeighbors->False:

In 3D, by default, all 26 neighbors are visited to see if a pixel is connected to the background:

Use CornerNeighbors->False to return a 6-connected perimeter:

Padding  (1)

By default, zero padding is assumed:

Specify a different padding:

Interactive Examples  (1)

Find boundaries of 3D objects:

Introduced in 2008
 (7.0)
 |
Updated in 2010
 (8.0)
2012
 (9.0)