OOF2: The Manual
Name
OOF.PixelSelection.Expand — Select all pixels within a given distance of the current selection.
Synopsis
OOF.PixelSelection.Expand(microstructure, radius)
Details
- Parent Menu: OOF.PixelSelection
-
Callback: function
doSelectionModin moduleooflib.common.pixelselectionmod -
Parameters:
microstructure- Type: The path to an existing
Microstructureobject. radius- Select pixels within this distance of other selected pixels. Type: A real number.
Description
Expand the pixel
selection by selecting all pixels within a
distance radius of a currently selected pixel.
The radius is given in units of the Microstructure pixel size.
This is the opposite of OOF.PixelSelection.Shrink, in a sense, but it is not the inverse operation. Expanding the selection and then shrinking it by the same amount does not in general return to the original selection.



