Class SoApplyGrayscaleLutProcessing

  • All Implemented Interfaces:
    SafeDisposable

    public class SoApplyGrayscaleLutProcessing
    extends SoImageVizEngine
    SoApplyGrayscaleLutProcessing engine allows to apply a grayscale look up table. The SoApplyGrayscaleLutProcessing engine applies the selected lookup table (Lut) to the input image.

    For instance, it may be useful to set a same label to different segmented objects.

    This engine allows also to select the input range of the image. E.g., you can change only the grey level values between 100 and 150.

    File format/default:

    ApplyGrayscaleLutProcessing {

      computeMode MODE_AUTO
      inImage NULL
      anamorphosisLut 0
      intensityRangeInput 0 255
      intensityRangeOutput 0 255
    }


    Library references: anamorphosis

    • Field Detail

      • inImage

        public final SoSFImageDataAdapter inImage
        The input grayscale or label image. Default value is NULL. Supported types include: grayscale binary label image.
      • anamorphosisLut

        public final SoMFInt32 anamorphosisLut
        The array of the anamorphosis Lut. Default value is 0.
      • intensityRangeInput

        public final SoSFVec2i32 intensityRangeInput
        The index range of input Lut (minimum and maximum input intensity). Default value is SbVec2i32(0,255).
      • intensityRangeOutput

        public final SoSFVec2i32 intensityRangeOutput
        The low and high outside range level (minimum and maximum output intensity). Default value is SbVec2i32(0,255).
    • Constructor Detail

      • SoApplyGrayscaleLutProcessing

        public SoApplyGrayscaleLutProcessing()
        Constructor.