OOF2: The Manual

Name

OOF.ActiveArea.Shrink — Shrink the active area by a given distance.

Synopsis

OOF.ActiveArea.Shrink(microstructure,radius)

Details

  • Parent Menu: OOF.ActiveArea
  • Callback: function modify in module ooflib.common.activeareamod
  • Parameters:

    microstructure
    Type: The path to an existing Microstructure object.
    radius
    The radius of shrinkage in pixel units. Type: A real number.

Description

Shrink the current Active Area by deactivating all pixels within a distance radius of a currently inactive pixel. The radius is given in units of the Microstructure pixel size.