Class PresentationPixelMagnificationRatio
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractDataElementWrapper
-
- org.dcm4che.typeddicom.dataelements.PresentationPixelMagnificationRatio
-
- All Implemented Interfaces:
org.dcm4che.typeddicom.AttributesWrapper,org.dcm4che.typeddicom.DataElementWrapper,org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper,org.dcm4che.typeddicom.valuerepresentations.DoubleDataElementWrapper,org.dcm4che.typeddicom.valuerepresentations.FloatDataElementWrapper,FloatingPointSingleWrapper
public class PresentationPixelMagnificationRatio extends org.dcm4che.typeddicom.AbstractDataElementWrapper implements FloatingPointSingleWrapper
Name: Presentation Pixel Magnification Ratio
Keyword: PresentationPixelMagnificationRatio
Tag: (0070,0103)
Value Representation: FloatingPointSingle
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 Classes Modifier and Type Class Description static interfacePresentationPixelMagnificationRatio.Builder<SELF extends PresentationPixelMagnificationRatio.Builder<SELF,T>,T extends PresentationPixelMagnificationRatio.Holder>static interfacePresentationPixelMagnificationRatio.HolderA class implementing this interface can hold attributes which contain the DICOM tag "Presentation Pixel Magnification Ratio" (seePresentationPixelMagnificationRatio)static classPresentationPixelMagnificationRatio.SimpleHolder-
Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.FloatingPointSingleWrapper
FloatingPointSingleWrapper.Setter<B extends org.dcm4che.typeddicom.Builder<B,? extends org.dcm4che.typeddicom.AttributesWrapper>,D extends FloatingPointSingleWrapper>
-
-
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.FloatingPointSingleWrapper
VALUE_REPRESENTATION
-
-
Constructor Summary
Constructors Constructor Description PresentationPixelMagnificationRatio()Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PresentationPixelMagnificationRatiocopy()Returns a new Presentation Pixel Magnification Ratio which wraps a copy of the Attributes wrapped in this Presentation Pixel Magnification 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.DoubleDataElementWrapper
getDouble, setDouble
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.FloatDataElementWrapper
getFloat, setFloat
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.FloatingPointSingleWrapper
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
-
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 Detail
-
copy
public PresentationPixelMagnificationRatio 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.
-
getPrivateCreator
public java.lang.String getPrivateCreator()
- Specified by:
getPrivateCreatorin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
getTag
public int getTag()
- Specified by:
getTagin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
-