OOF: Finite Element Analysis of Microstructures

/select/modify/elkcepsed

/select/modify/elkcepsed

/select/modify/elkcepsed -- unselect isolated groups of pixels

Synopsis

This is the opposite of /select/modify/despeckle, it removes isolated small groups of pixels.

Elkcepsed works by asking each selected pixel how many of its neighbors are not selected. If that number is less than or equal to elkcepsed's argument, then the selected pixel is removed from the current selection. Elkcepsed is recursive: after a pixel is deselected, its neighbors' neighbor counts are updated.

Arguments

neighbors

The maximum number of unselected neighbors a selected pixel must have to be removed from the current selection. Reasonable values are 1-4. Because elkcepsed is recursive, values greater than 4 simply unselect all pixels. Default: 3

What?

elkcepsed is simply despeckle spelled backwards. No, we don't know how to pronounce it.