Class DecimateCropResult

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, CodeStringWrapper, StringDataElementWrapper

public class DecimateCropResult extends AbstractDataElementWrapper implements CodeStringWrapper
Name: Decimate/Crop Result
Keyword: DecimateCropResult
Tag: (2020,00A2)
Value Representation: CS
Value Multiplicity: 1
  • Described in the contexts: as follows:
    Attribute Name: Decimate/Crop Result
    Type:
    Attribute Description:

    Indicates whether the printer will decimate or crop image pixels if the image rows or columns is greater than the available printable pixels in an Image Box.

    See DICOM Standard Part 3 - Section C.13.5.

    Enumerated Values when the printer does not support Requested Decimate/Crop Behavior (2020,0040):

    DECIMATE

    image will be decimated to fit.

    CROP

    image will be cropped to fit.

    FAIL

    N-SET of the Image Box will fail.

    Enumerated Values when the printer supports Requested Decimate/Crop Behavior (2020,0040):

    DEF DECIMATE

    image will be decimated to fit.

    DEF CROP

    image will be cropped to fit.

    DEF FAIL

    N-SET of the Image Box will fail.

    This value indicates the printer default if the SCU does not create or set Requested Decimate/Crop Behavior for the Image Box.


  • Field Details

  • Constructor Details

    • DecimateCropResult

      public DecimateCropResult(org.dcm4che3.data.Attributes attributes)
      Creates a new Decimate/Crop Result object which wraps the provided attributes.
      Parameters:
      attributes - The Attributes object to be wrapped.
    • DecimateCropResult

      public DecimateCropResult()
      Creates a new Decimate/Crop Result object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      public DecimateCropResult copy()
      Returns a new Decimate/Crop Result which wraps a copy of the Attributes wrapped in this Decimate/Crop Result. (see Attributes(Attributes)
      Returns:
      a new Decimate/Crop Result which wraps a copy of the Attributes wrapped in this Decimate/Crop Result.
    • getValueRepresentation

      public org.dcm4che3.data.VR getValueRepresentation()
      Specified by:
      getValueRepresentation in interface DataElementWrapper
      Returns:
      The DICOM Value Representation (VR) of the wrapped DICOM sequence.
    • getTag

      public int getTag()
      Specified by:
      getTag in interface DataElementWrapper
      Returns:
      The DICOM Tag of the wrapped DICOM sequence.