DeleteBorderComponents

DeleteBorderComponents[image]
replaces connected components adjacent to the border in a binary image image with background pixels.

DeleteBorderComponents[m]
replaces components adjacent to the border in a label matrix m with .

Details and OptionsDetails and Options

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