Class PresentationPixelAspectRatio

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, IntDataElementMultiWrapper, IntegerStringMultiWrapper, StringDataElementMultiWrapper

public class PresentationPixelAspectRatio extends AbstractDataElementWrapper implements IntegerStringMultiWrapper
Name: Presentation Pixel Aspect Ratio
Keyword: PresentationPixelAspectRatio
Tag: (0070,0102)
Value Representation: IS
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.


  • Field Details

  • Constructor Details

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

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