Class PresentationPixelAspectRatio

  • All Implemented Interfaces:
    org.dcm4che.typeddicom.AttributesWrapper, org.dcm4che.typeddicom.DataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper, IntegerStringMultiWrapper, org.dcm4che.typeddicom.valuerepresentations.StringDataElementMultiWrapper

    public class PresentationPixelAspectRatio
    extends org.dcm4che.typeddicom.AbstractDataElementWrapper
    implements IntegerStringMultiWrapper
    Name: Presentation Pixel Aspect Ratio
    Keyword: PresentationPixelAspectRatio
    Tag: (0070,0102)
    Value Representation: IntegerString
    Value Multiplicity: 2
    • Described in the contexts: as follows:
      Attribute Name: Presentation Pixel Aspect Ratio
      Type: 1C
      Attribute Description:

      Ratio of the vertical size and the horizontal size of the pixels in the referenced image, to be used to display the referenced image, specified by a pair of integer values where the first value is the vertical pixel size and the second value is the horizontal pixel size. See DICOM Standard Part 3 - Section C.7.6.3.1.7.

      Required if Presentation Pixel Spacing (0070,0101) is not present.

      Note
      1. This value may be different from the aspect ratio specified by Pixel Aspect Ratio (0028,0034) in the referenced image, or implied by the values of Pixel Spacing (0028,0030) or Imager Pixel Spacing (0018,1164) specified in the referenced image, which are ignored.

      2. This value must be specified even if the aspect ratio is 1:1.


    • Constructor Detail

      • PresentationPixelAspectRatio

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

        public PresentationPixelAspectRatio()
        Creates a new Presentation Pixel Aspect Ratio object which wraps a new and empty Attributes object.
    • Method Detail

      • copy

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