Class ActionPaintToMask

    • Field Detail

      • MASK_DATA_TYPE

        private static final java.lang.String MASK_DATA_TYPE
        The label to use for the mask output image data type parameter.
        See Also:
        Constant Field Values
      • MASK_BINARY

        public static final java.lang.String MASK_BINARY
        Indicates that a binary mask should be generated from an image's paint.
        See Also:
        Constant Field Values
      • MASK_SHORT

        public static final java.lang.String MASK_SHORT
        Indicates that a short mask should be generated from an image's paint.
        See Also:
        Constant Field Values
      • MASK_UBYTE

        public static final java.lang.String MASK_UBYTE
        Indicates that a unsigned byte mask should be generated from an image's paint.
        See Also:
        Constant Field Values
      • recordingMaskType

        private java.lang.String recordingMaskType
        The type of mask extracted from the paint (which should now be recorded).
    • Constructor Detail

      • ActionPaintToMask

        public ActionPaintToMask()
        Constructor for the dynamic instantiation and execution of the PaintToMask script action.
      • ActionPaintToMask

        public ActionPaintToMask​(ModelImage inputImage,
                                 ModelImage resultImage,
                                 java.lang.String maskType)
        Constructor used to record the PaintToMask script action line.
        Parameters:
        inputImage - The image whose paint was extracted to a mask image.
        resultImage - The result image generated.
        maskType - The type of the extracted mask image.