Class RequestedDecimateCropBehavior

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

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

    Specifies whether image pixels are to be decimated or cropped if the image rows or columns is greater than the available printable pixels in an Image Box.

    Decimation means that a magnification factor <1 is applied to the image. The method of decimation shall be that specified by Magnification Type (2010,0060) or the SCP default if not specified

    Cropping means that some image rows and/or columns are deleted before printing

    Enumerated Values:

    DECIMATE

    A magnification factor <1 to be applied to the image.

    CROP

    Some image rows and/or columns are to be deleted before printing. The specific algorithm for cropping shall be described in the SCP Conformance Statement.

    FAIL

    The SCP shall not crop or decimate


  • Field Details

  • Constructor Details

    • RequestedDecimateCropBehavior

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

      public RequestedDecimateCropBehavior()
      Creates a new Requested Decimate/Crop Behavior object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      Returns a new Requested Decimate/Crop Behavior which wraps a copy of the Attributes wrapped in this Requested Decimate/Crop Behavior. (see Attributes(Attributes)
      Returns:
      a new Requested Decimate/Crop Behavior which wraps a copy of the Attributes wrapped in this Requested Decimate/Crop Behavior.
    • getPrivateCreator

      public String getPrivateCreator()
      Specified by:
      getPrivateCreator in interface DataElementWrapper
      Returns:
      The DICOM Private Creator of the wrapped DICOM attributes. null if not private
    • getTag

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