OOF2: The Manual

Name

OOF.PixelSelection.Shrink — Deselect all pixels within a given distance of the boundaries of the current selection.

Synopsis

OOF.PixelSelection.Shrink(microstructure,radius)

Details

  • Parent Menu: OOF.PixelSelection
  • Callback: function doSelectionMod in module ooflib.common.pixelselectionmod
  • Parameters:

    microstructure
    Type: The path to an existing Microstructure object.
    radius
    Deselect pixels within this distance of other deselected pixels. Type: A real number.

Description

Shrink the current pixel selection in the Microstructure called microstructure by deselecting all pixels within a distance radius of a currently inactive pixel. The radius is given in units of the Microstructure pixel size. This is the opposite of OOF.PixelSelection.Expand.