Class PresentationPixelAspectRatio
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractDataElementWrapper
-
- org.dcm4che.typeddicom.dataelements.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-
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 Classes Modifier and Type Class Description static interfacePresentationPixelAspectRatio.Builder<SELF extends PresentationPixelAspectRatio.Builder<SELF,T>,T extends PresentationPixelAspectRatio.Holder>static interfacePresentationPixelAspectRatio.HolderA 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 org.dcm4che.typeddicom.Builder<B,? extends org.dcm4che.typeddicom.AttributesWrapper>,D extends IntegerStringMultiWrapper>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPRIVATE_CREATORThe Private Creator associated with this class.static intTAGThe DICOM Tag associated with this class.-
Fields inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntegerStringMultiWrapper
VALUE_REPRESENTATION
-
-
Constructor Summary
Constructors Constructor Description PresentationPixelAspectRatio()Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PresentationPixelAspectRatiocopy()Returns a new Presentation Pixel Aspect Ratio which wraps a copy of the Attributes wrapped in this Presentation Pixel Aspect Ratio.java.lang.StringgetPrivateCreator()intgetTag()-
Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper
equals, exists, getValue, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper
getBytes, getSafeBytes, setBytes
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper
getInt, getInts, setInts
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntegerStringMultiWrapper
getValueRepresentation
-
-
-
-
Field Detail
-
PRIVATE_CREATOR
public static final java.lang.String PRIVATE_CREATOR
The Private Creator associated with this class.
-
TAG
public static final int TAG
The DICOM Tag associated with this class.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 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. (seeAttributes(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:
getPrivateCreatorin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
getTag
public int getTag()
- Specified by:
getTagin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
-