Class PresentationPixelSpacing
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractDataElementWrapper
-
- org.dcm4che.typeddicom.dataelements.PresentationPixelSpacing
-
- All Implemented Interfaces:
org.dcm4che.typeddicom.AttributesWrapper,org.dcm4che.typeddicom.DataElementWrapper,org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper,DecimalStringMultiWrapper,org.dcm4che.typeddicom.valuerepresentations.DoubleDataElementMultiWrapper,org.dcm4che.typeddicom.valuerepresentations.FloatDataElementMultiWrapper,org.dcm4che.typeddicom.valuerepresentations.StringDataElementMultiWrapper
public class PresentationPixelSpacing extends org.dcm4che.typeddicom.AbstractDataElementWrapper implements DecimalStringMultiWrapper
Name: Presentation Pixel Spacing
Keyword: PresentationPixelSpacing
Tag: (0070,0101)
Value Representation: DecimalString
Value Multiplicity: 2
- Described in the contexts:
as follows:
Attribute Name: Presentation Pixel Spacing
Type: 1C
Attribute Description:Physical distance between the center of each pixel in the referenced image (before spatial transformation), specified by a numeric pair - adjacent row spacing (delimiter) adjacent column spacing in mm. See DICOM Standard Part 3 - Section 10.7.1.3 for further explanation of the value order.
Note-
This value may be different from Pixel Spacing (0028,0030) or Imager Pixel Spacing (0018,1164) specified in the referenced image, which are ignored, since some form of calibration may have been performed (for example by reference to an object of known size in the image).
-
If the row and column spacing are different, then the pixel aspect ratio of the image is not 1:1.
Required if Presentation Size Mode (0070,0100) is TRUE SIZE, in which case the values will correspond to the physical distance between the center of each pixel on the display device.
May be present if Presentation Size Mode (0070,0100) is SCALE TO FIT or MAGNIFY, in which case the values are used to compute the aspect ratio of the image pixels.
-
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePresentationPixelSpacing.Builder<SELF extends PresentationPixelSpacing.Builder<SELF,T>,T extends PresentationPixelSpacing.Holder>static interfacePresentationPixelSpacing.HolderA class implementing this interface can hold attributes which contain the DICOM tag "Presentation Pixel Spacing" (seePresentationPixelSpacing)-
Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.DecimalStringMultiWrapper
DecimalStringMultiWrapper.Setter<B extends org.dcm4che.typeddicom.Builder<B,? extends org.dcm4che.typeddicom.AttributesWrapper>,D extends DecimalStringMultiWrapper>
-
-
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.DecimalStringMultiWrapper
VALUE_REPRESENTATION
-
-
Constructor Summary
Constructors Constructor Description PresentationPixelSpacing()Creates a new Presentation Pixel Spacing object which wraps a new and emptyAttributesobject.PresentationPixelSpacing(org.dcm4che3.data.Attributes attributes)Creates a new Presentation Pixel Spacing object which wraps the providedattributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PresentationPixelSpacingcopy()Returns a new Presentation Pixel Spacing which wraps a copy of the Attributes wrapped in this Presentation Pixel Spacing.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.DecimalStringMultiWrapper
getValueRepresentation
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.DoubleDataElementMultiWrapper
getDouble, getDoubles, setDoubles
-
-
-
-
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
-
PresentationPixelSpacing
public PresentationPixelSpacing(org.dcm4che3.data.Attributes attributes)
Creates a new Presentation Pixel Spacing object which wraps the providedattributes.- Parameters:
attributes- theAttributesobject to be wrapped.
-
PresentationPixelSpacing
public PresentationPixelSpacing()
Creates a new Presentation Pixel Spacing object which wraps a new and emptyAttributesobject.
-
-
Method Detail
-
copy
public PresentationPixelSpacing copy()
Returns a new Presentation Pixel Spacing which wraps a copy of the Attributes wrapped in this Presentation Pixel Spacing. (seeAttributes(Attributes)- Returns:
- a new Presentation Pixel Spacing which wraps a copy of the Attributes wrapped in this Presentation Pixel Spacing.
-
getPrivateCreator
public java.lang.String getPrivateCreator()
- Specified by:
getPrivateCreatorin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
getTag
public int getTag()
- Specified by:
getTagin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
-