Class ActionVOIToMask

All Implemented Interfaces:
ScriptableActionInterface

public class ActionVOIToMask extends ActionImageProcessorBase
A script action which converts all VOIs within an image to some type of mask image (short, binary, ubyte).
  • Field Details

    • MASK_DATA_TYPE

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

      public static final String MASK_BINARY
      Indicates that a binary mask should be generated from an image's VOI(s).
      See Also:
    • MASK_SHORT

      public static final String MASK_SHORT
      Indicates that a short mask should be generated from an image's VOI(s).
      See Also:
    • MASK_UBYTE

      public static final String MASK_UBYTE
      Indicates that a unsigned byte mask should be generated from an image's VOI(s).
      See Also:
    • recordingMaskType

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

    • ActionVOIToMask

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

      public ActionVOIToMask(ModelImage inputImage, ModelImage resultImage, 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.
  • Method Details