Class PixelAspectRatio
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractDataElementWrapper
-
- org.dcm4che.typeddicom.dataelements.PixelAspectRatio
-
- 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 PixelAspectRatio extends org.dcm4che.typeddicom.AbstractDataElementWrapper implements IntegerStringMultiWrapper
Name: Pixel Aspect Ratio
Keyword: PixelAspectRatio
Tag: (0028,0034)
Value Representation: IntegerString
Value Multiplicity: 2
- Described in the contexts:
- Corneal Topography Map Image Module > Pixel Aspect Ratio
- Ophthalmic Thickness Map 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:
- Image Box Pixel Presentation Module > Basic Color Image Sequence > Pixel Aspect Ratio
- Image Box Pixel Presentation Module > Basic Grayscale Image Sequence > Pixel Aspect Ratio
Attribute Name: Pixel Aspect Ratio
Type:
Attribute Description:See DICOM Standard Part 3 - Section C.7.6.3 for description.
- Described in the contexts:
- Double Floating Point Image Pixel Module > Pixel Aspect Ratio
- Image Pixel Description Macro > Pixel Aspect Ratio
- 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePixelAspectRatio.Builder<SELF extends PixelAspectRatio.Builder<SELF,T>,T extends PixelAspectRatio.Holder>static interfacePixelAspectRatio.HolderA 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 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 PixelAspectRatio()Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PixelAspectRatiocopy()Returns a new Pixel Aspect Ratio which wraps a copy of the Attributes wrapped in this 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, getKnownAttributeTags, getUnknownAttributeTags, 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
-
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 Detail
-
copy
public PixelAspectRatio 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.
-
getPrivateCreator
public java.lang.String getPrivateCreator()
- Specified by:
getPrivateCreatorin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
getTag
public int getTag()
- Specified by:
getTagin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
-