Class PresentationPixelMagnificationRatio

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, DoubleDataElementWrapper, FloatDataElementWrapper, FloatingPointSingleWrapper

public class PresentationPixelMagnificationRatio extends AbstractDataElementWrapper implements FloatingPointSingleWrapper
Name: Presentation Pixel Magnification Ratio
Keyword: PresentationPixelMagnificationRatio
Tag: (0070,0103)
Value Representation: FL
Value Multiplicity: 1
  • Described in the contexts: as follows:
    Attribute Name: Presentation Pixel Magnification Ratio
    Type: 1C
    Attribute Description:

    Ratio of displayed pixels to source pixels, specified in one dimension.

    Required if Presentation Size Mode (0070,0100) is MAGNIFY.

    Note
    1. A value of 1.0 would imply that one pixel in the referenced image would be displayed as one pixel on the display (i.e., it would not be interpolated if the aspect ratio of the image pixels is 1:1).

    2. A value of 2.0 would imply that one pixel in the referenced image would be displayed as 4 pixels on the display (i.e., up-sampled by a factor of 2 in each of the row and column directions).

    3. A value of 0.5 would imply that 4 pixels in the referenced image would be displayed as 1 pixel on the display (i.e., down-sampled by a factor of 2 in each of the row and column directions).

    4. If the source pixels have an aspect ratio of other than 1:1, then they are assumed to have been interpolated to a display pixel aspect ratio of 1:1 prior to magnification.


  • Field Details

  • Constructor Details

    • PresentationPixelMagnificationRatio

      public PresentationPixelMagnificationRatio(org.dcm4che3.data.Attributes attributes)
      Creates a new Presentation Pixel Magnification Ratio object which wraps the provided attributes.
      Parameters:
      attributes - The Attributes object to be wrapped.
    • PresentationPixelMagnificationRatio

      public PresentationPixelMagnificationRatio()
      Creates a new Presentation Pixel Magnification Ratio object which wraps a new and empty Attributes object.
  • Method Details

    • copy

      Returns a new Presentation Pixel Magnification Ratio which wraps a copy of the Attributes wrapped in this Presentation Pixel Magnification Ratio. (see Attributes(Attributes)
      Returns:
      a new Presentation Pixel Magnification Ratio which wraps a copy of the Attributes wrapped in this Presentation Pixel Magnification Ratio.
    • 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.