Class PresentationPixelMagnificationRatio

  • All Implemented Interfaces:
    org.dcm4che.typeddicom.AttributesWrapper, org.dcm4che.typeddicom.DataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.DoubleDataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.FloatDataElementWrapper, FloatingPointSingleWrapper

    public class PresentationPixelMagnificationRatio
    extends org.dcm4che.typeddicom.AbstractDataElementWrapper
    implements FloatingPointSingleWrapper
    Name: Presentation Pixel Magnification Ratio
    Keyword: PresentationPixelMagnificationRatio
    Tag: (0070,0103)
    Value Representation: FloatingPointSingle
    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.


    • Constructor Detail

      • 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 Detail

      • copy

        public PresentationPixelMagnificationRatio 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.
      • getPrivateCreator

        public java.lang.String getPrivateCreator()
        Specified by:
        getPrivateCreator in interface org.dcm4che.typeddicom.DataElementWrapper
      • getTag

        public int getTag()
        Specified by:
        getTag in interface org.dcm4che.typeddicom.DataElementWrapper