Class PixelSpacing
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractDataElementWrapper
-
- org.dcm4che.typeddicom.dataelements.PixelSpacing
-
- 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 PixelSpacing extends org.dcm4che.typeddicom.AbstractDataElementWrapper implements DecimalStringMultiWrapper
Name: Pixel Spacing
Keyword: PixelSpacing
Tag: (0028,0030)
Value Representation: DecimalString
Value Multiplicity: 2
- Described in the contexts:
as follows:
Attribute Name: Pixel Spacing
Type: 1C
Attribute Description:Physical distance in the Patient between the center of each pixel, specified by a numeric pair - adjacent row spacing (delimiter) adjacent column spacing in mm. See DICOM Standard Part 3 - Section 10.7.1.1 and DICOM Standard Part 3 - Section 10.7.1.3. Required if the image has been calibrated. May be present otherwise.
- Described in the contexts:
as follows:
Attribute Name: Pixel Spacing
Type: 3
Attribute Description:Physical distance in the imaging target (patient or specimen) between the center of each pixel, specified as a numeric pair - adjacent row spacing \ adjacent column spacing, in mm. See DICOM Standard Part 3 - Section 10.7.1.3.
- Described in the contexts:
as follows:
Attribute Name: Pixel Spacing
Type: 1
Attribute Description:Nominal physical distance at the focal plane (in the retina) between the center of each pixel, specified by a numeric pair - adjacent row spacing (delimiter) adjacent column spacing in mm. See Section 10.7.1.3for further explanation of the value order.
NoteSince a patient's retina is curved and the image representation is planar, there can be an error in using Pixel Spacing (0028,0030) for measurements in the periphery of the image. En face imaging does not support wide field measurements.
- Described in the contexts:
as follows:
Attribute Name: Pixel Spacing
Type: 1
Attribute Description:Physical distance in the patient between the center of each pixel, specified by a numeric pair - adjacent row spacing (delimiter) adjacent column spacing in mm.
NoteSince a patient's retina is curved, there can be a small error in using Pixel Spacing (0028,0030) for distance measurements in the periphery of the image.
See DICOM Standard Part 3 - Section 10.7.1.3 for further explanation.
- Described in the contexts:
- Image Plane Module > Pixel Spacing
- ROI Contour Module > ROI Contour Sequence > Source Pixel Planes Characteristics Sequence > Pixel Spacing
Attribute Name: Pixel Spacing
Type: 1
Attribute Description:Physical distance in the patient between the center of each pixel, 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.
- Described in the contexts:
as follows:
Attribute Name: Pixel Spacing
Type: 1C
Attribute Description:Physical distance in the imaging target (patient, specimen, or phantom) between the centers of each pixel, 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.
NoteIn the case of CT images with an Acquisition Type (0018,9302) of CONSTANT_ANGLE, the pixel spacing is that in a plane normal to the central ray of the diverging X-Ray beam as it passes through the data collection center.
Required if:
-
Volumetric Properties (0008,9206) is other than DISTORTED or SAMPLED, and Image Type (0008,0008) Value 3 is not LABEL or OVERVIEW, or
-
SOP Class UID is Segmentation Storage ("1.2.840.10008.5.1.4.1.1.66.4") and Frame of Reference UID (0020,0052) is present, or
-
SOP Class UID is Ophthalmic Tomography Image Storage ("1.2.840.10008.5.1.4.1.1.77.1.5.4") and Ophthalmic Volumetric Properties Flag (0022,1622) is YES, or
-
SOP Class UID is Ophthalmic Optical Coherence Tomography B-scan Volume Analysis Storage ("1.2.840.10008.5.1.4.1.1.77.1.5.8").
May be present otherwise.
-
- Described in the contexts:
as follows:
Attribute Name: Pixel Spacing
Type: 1C
Attribute Description:Nominal physical distance at the focal plane (in the retina) between the center of each pixel, 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.
NoteThese values are specified as nominal because the physical distance may vary across the field of the images and the lens correction is likely to be imperfect.
Shall not be present when Two Dimensional to Three Dimensional Map Sequence (0022,1518) or X Coordinates Center Pixel View Angle (0022,1528) and Y Coordinates Center Pixel View Angle (0022,1529) are present. Otherwise, required when Acquisition Device Type Code Sequence (0022,0015) contains an Item with the value http://snomed.info/id/409898007(409898007, SCT, "Fundus Camera"). May be present otherwise.
- Described in the contexts:
as follows:
Attribute Name: Pixel Spacing
Type: 2
Attribute Description:Physical distance in the patient between the center of each pixel, 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePixelSpacing.Builder<SELF extends PixelSpacing.Builder<SELF,T>,T extends PixelSpacing.Holder>static interfacePixelSpacing.HolderA class implementing this interface can hold attributes which contain the DICOM tag "Pixel Spacing" (seePixelSpacing)static classPixelSpacing.SimpleHolder-
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 PixelSpacing()Creates a new Pixel Spacing object which wraps a new and emptyAttributesobject.PixelSpacing(org.dcm4che3.data.Attributes attributes)Creates a new Pixel Spacing object which wraps the providedattributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PixelSpacingcopy()Returns a new Pixel Spacing which wraps a copy of the Attributes wrapped in this 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, 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
-
PixelSpacing
public PixelSpacing(org.dcm4che3.data.Attributes attributes)
Creates a new Pixel Spacing object which wraps the providedattributes.- Parameters:
attributes- theAttributesobject to be wrapped.
-
PixelSpacing
public PixelSpacing()
Creates a new Pixel Spacing object which wraps a new and emptyAttributesobject.
-
-
Method Detail
-
copy
public PixelSpacing copy()
Returns a new Pixel Spacing which wraps a copy of the Attributes wrapped in this Pixel Spacing. (seeAttributes(Attributes)- Returns:
- a new Pixel Spacing which wraps a copy of the Attributes wrapped in this 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
-
-