Class ActionVOIToMask

    • 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 VOI(s).
        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 VOI(s).
        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 VOI(s).
        See Also:
        Constant Field Values
      • recordingMaskType

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

      • ActionVOIToMask

        public ActionVOIToMask()
        Constructor for the dynamic instantiation and execution of the VOIToMask script action.
      • ActionVOIToMask

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