Class PresentationPixelMagnificationRatio
- All Implemented Interfaces:
AttributesWrapper,DataElementWrapper,BytesDataElementWrapper,DoubleDataElementWrapper,FloatDataElementWrapper,FloatingPointSingleWrapper
Keyword: PresentationPixelMagnificationRatio
Tag: (0070,0103)
Value Representation: FL
Value Multiplicity: 1
- Described in the contexts:
as follows:
Attribute Name: Presentation Pixel Magnification Ratio
Type: 1C
Attribute Description:Ratio of displayed pixels to source pixels, specified in one dimension.
Required if Presentation Size Mode (0070,0100) is MAGNIFY.
Note-
A value of 1.0 would imply that one pixel in the referenced image would be displayed as one pixel on the display (i.e., it would not be interpolated if the aspect ratio of the image pixels is 1:1).
-
A value of 2.0 would imply that one pixel in the referenced image would be displayed as 4 pixels on the display (i.e., up-sampled by a factor of 2 in each of the row and column directions).
-
A value of 0.5 would imply that 4 pixels in the referenced image would be displayed as 1 pixel on the display (i.e., down-sampled by a factor of 2 in each of the row and column directions).
-
If the source pixels have an aspect ratio of other than 1:1, then they are assumed to have been interpolated to a display pixel aspect ratio of 1:1 prior to magnification.
-
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacePresentationPixelMagnificationRatio.Builder<SELF extends PresentationPixelMagnificationRatio.Builder<SELF,T>, T extends PresentationPixelMagnificationRatio.Holder> static interfaceA class implementing this interface can hold attributes which contain the DICOM tag "Presentation Pixel Magnification Ratio" (seePresentationPixelMagnificationRatio)Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.FloatingPointSingleWrapper
FloatingPointSingleWrapper.Setter<B extends Builder<B,? extends AttributesWrapper>, D extends FloatingPointSingleWrapper> -
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 Magnification Ratio object which wraps a new and emptyAttributesobject.PresentationPixelMagnificationRatio(org.dcm4che3.data.Attributes attributes) Creates a new Presentation Pixel Magnification 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.DoubleDataElementWrapper
getDouble, setDoubleMethods inherited from interface org.dcm4che.typeddicom.valuerepresentations.FloatDataElementWrapper
getFloat, setFloat
-
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
-
PresentationPixelMagnificationRatio
public PresentationPixelMagnificationRatio(org.dcm4che3.data.Attributes attributes) Creates a new Presentation Pixel Magnification Ratio object which wraps the providedattributes.- Parameters:
attributes- TheAttributesobject to be wrapped.
-
PresentationPixelMagnificationRatio
public PresentationPixelMagnificationRatio()Creates a new Presentation Pixel Magnification Ratio object which wraps a new and emptyAttributesobject.
-
-
Method Details
-
copy
Returns a new Presentation Pixel Magnification Ratio which wraps a copy of the Attributes wrapped in this Presentation Pixel Magnification Ratio. (seeAttributes(Attributes)- Returns:
- a new Presentation Pixel Magnification Ratio which wraps a copy of the Attributes wrapped in this Presentation Pixel Magnification 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.
-