OOF2: The Manual

Name

OOF.PixelSelection.Color_Range — Select all pixels similar to a reference color.

Synopsis

OOF.PixelSelection.Color_Range(microstructure,image,reference,range)

Details

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

    microstructure
    Type: The path to an existing Microstructure object.
    image
    Type: The path to an existing Image object.
    reference
    Reference color. Type: An object of the Color class.
    range
    Deviation from the reference color. Type: An object of the ColorDifference class.

Description

Select all pixels in an Image within a given range of a given refererence color. This command basically does the same thing that OOF.Graphics_n.Toolbox.Pixel_Select.Color does except the latter takes its reference input from a mouse click in the Graphics window.