Class PixelAspectRatio
- All Implemented Interfaces:
AttributesWrapper,DataElementWrapper,BytesDataElementWrapper,IntDataElementMultiWrapper,IntegerStringMultiWrapper,StringDataElementMultiWrapper
Keyword: PixelAspectRatio
Tag: (0028,0034)
Value Representation: IS
Value Multiplicity: 2
- Described in the contexts:
- Ophthalmic Thickness Map Module > Pixel Aspect Ratio
- Corneal Topography Map Image Module > Pixel Aspect Ratio
Attribute Name: Pixel Aspect Ratio
Type: 1
Attribute Description:Ratio of the vertical size and horizontal size of the pixels in the 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.
- Described in the contexts:
as follows:
Attribute Name: Pixel Aspect Ratio
Type:
Attribute Description:See DICOM Standard Part 3 - Section C.7.6.3 for description.
- Described in the contexts:
- Floating Point Image Pixel Module > Pixel Aspect Ratio
- Image Pixel Description Macro > Pixel Aspect Ratio
- Double Floating Point Image Pixel Module > Pixel Aspect Ratio
Attribute Name: Pixel Aspect Ratio
Type: 1C
Attribute Description:Ratio of the vertical size and horizontal size of the pixels in the 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. Required if the aspect ratio values do not have a ratio of 1:1 and the physical pixel spacing is not specified by Pixel Spacing (0028,0030), or Imager Pixel Spacing (0018,1164) or Nominal Scanned Pixel Spacing (0018,2010), either for the entire Image or per-frame in a Functional Group Macro. See DICOM Standard Part 3 - Section C.7.6.3.1.7.
- Described in the contexts:
as follows:
Attribute Name: Pixel Aspect Ratio
Type:
Attribute Description:See DICOM Standard Part 3 - Section C.7.6.3 for description
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacePixelAspectRatio.Builder<SELF extends PixelAspectRatio.Builder<SELF,T>, T extends PixelAspectRatio.Holder> static interfaceA class implementing this interface can hold attributes which contain the DICOM tag "Pixel Aspect Ratio" (seePixelAspectRatio)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 Pixel Aspect Ratio object which wraps a new and emptyAttributesobject.PixelAspectRatio(org.dcm4che3.data.Attributes attributes) Creates a new 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
-
PixelAspectRatio
public PixelAspectRatio(org.dcm4che3.data.Attributes attributes) Creates a new Pixel Aspect Ratio object which wraps the providedattributes.- Parameters:
attributes- TheAttributesobject to be wrapped.
-
PixelAspectRatio
public PixelAspectRatio()Creates a new Pixel Aspect Ratio object which wraps a new and emptyAttributesobject.
-
-
Method Details
-
copy
Returns a new Pixel Aspect Ratio which wraps a copy of the Attributes wrapped in this Pixel Aspect Ratio. (seeAttributes(Attributes)- Returns:
- a new Pixel Aspect Ratio which wraps a copy of the Attributes wrapped in this 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.
-