Class SoColorGetPlaneProcessing2d

  • All Implemented Interfaces:

    public class SoColorGetPlaneProcessing2d
    extends SoImageVizEngine
    SoColorGetPlaneProcessing2d engine. For an introduction to color transforms, see section Color Transforms.

    The SoColorGetPlaneProcessing2d engine extracts a given plane from any color image (RGB, HIS, multisource, ....) into a grayscale image.

    See also: SoGrayscaleToRgbProcessing, SoRgbToGrayscaleProcessing.

    File format/default:

    ColorGetPlaneProcessing2d {

      inColorImage NULL
      planeIndex 0

    Library references: colorgetplane

    • Field Detail

      • inColorImage

        public final SoSFImageDataAdapter inColorImage
        The input color image. Default value is NULL. Supported types include: color image.
      • planeIndex

        public final SoSFInt32 planeIndex
        The index of plane to extract.RGB case: 0 for Red, 1 for Green, 2 for Blue. Default value is 0.
    • Constructor Detail

      • SoColorGetPlaneProcessing2d

        public SoColorGetPlaneProcessing2d()