Class PresentationPixelAspectRatio
java.lang.Object
org.dcm4che.typeddicom.AbstractAttributesWrapper
org.dcm4che.typeddicom.AbstractDataElementWrapper
org.dcm4che.typeddicom.dataelements.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
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-
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.
-
This value must be specified even if the aspect ratio is 1:1.
-
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacePresentationPixelAspectRatio.Builder<SELF extends PresentationPixelAspectRatio.Builder<SELF,T>, T extends PresentationPixelAspectRatio.Holder> static interfaceA class implementing this interface can hold attributes which contain the DICOM tag "Presentation Pixel Aspect Ratio" (seePresentationPixelAspectRatio)Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntegerStringMultiWrapper
IntegerStringMultiWrapper.Setter<B extends Builder<B,? extends AttributesWrapper>, D extends IntegerStringMultiWrapper> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe DICOM Tag associated with this class.static final org.dcm4che3.data.VRThe DICOM Value Representation (VR) associated with this class. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new Presentation Pixel Aspect Ratio object which wraps a new and emptyAttributesobject.PresentationPixelAspectRatio(org.dcm4che3.data.Attributes attributes) Creates a new Presentation Pixel Aspect Ratio object which wraps the providedattributes. -
Method Summary
Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper
equals, exists, getValue, hashCode, toStringMethods inherited from class org.dcm4che.typeddicom.AbstractAttributesWrapper
getAttributesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmptyMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper
getBytes, getSafeBytes, setBytesMethods inherited from interface org.dcm4che.typeddicom.DataElementWrapper
exists, getValueMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper
getInt, getInts, setIntsMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.StringDataElementMultiWrapper
getString, getString, getStrings, setStrings
-
Field Details
-
TAG
public static final int TAGThe DICOM Tag associated with this class.- See Also:
-
VALUE_REPRESENTATION
public static final org.dcm4che3.data.VR VALUE_REPRESENTATIONThe DICOM Value Representation (VR) associated with this class.
-
-
Constructor Details
-
PresentationPixelAspectRatio
public PresentationPixelAspectRatio(org.dcm4che3.data.Attributes attributes) Creates a new Presentation Pixel Aspect Ratio object which wraps the providedattributes.- Parameters:
attributes- TheAttributesobject to be wrapped.
-
PresentationPixelAspectRatio
public PresentationPixelAspectRatio()Creates a new Presentation Pixel Aspect Ratio object which wraps a new and emptyAttributesobject.
-
-
Method Details
-
copy
Returns a new Presentation Pixel Aspect Ratio which wraps a copy of the Attributes wrapped in this Presentation Pixel Aspect Ratio. (seeAttributes(Attributes)- Returns:
- a new Presentation Pixel Aspect Ratio which wraps a copy of the Attributes wrapped in this Presentation Pixel Aspect Ratio.
-
getValueRepresentation
public org.dcm4che3.data.VR getValueRepresentation()- Specified by:
getValueRepresentationin interfaceDataElementWrapper- Returns:
- The DICOM Value Representation (VR) of the wrapped DICOM sequence.
-
getTag
public int getTag()- Specified by:
getTagin interfaceDataElementWrapper- Returns:
- The DICOM Tag of the wrapped DICOM sequence.
-