MajwareMAJWARE
Image

(0020,0032)

Image Position (Patient)

Keyword: ImagePositionPatient

The x, y, z coordinates (mm) of the upper left hand corner of the image in the patient coordinate system.

Tag Attributes

Tag ID
(0020,0032)
Compact
00200032
Keyword
ImagePositionPatient
VR
DS — Decimal String
VM
3
Required
Type 1 — required, with a value
PS3.15
Not listed in PS3.15 Table E.1-1
Retired
No

Defined in

Image Plane Module

What Image Position (Patient) contains

Image Position (Patient) gives the x, y and z coordinates, in millimetres, of the centre of the first pixel transmitted (the top-left pixel of the image) in the patient-based coordinate system.

The coordinate system is LPS: x increases towards the patient's left, y towards the back (posterior) and z towards the head. Together with Image Orientation (Patient) (0020,0037) and Pixel Spacing (0028,0030) it places every pixel in 3D space, and positions are only comparable between images that share a Frame of Reference UID (0020,0052).

To sort slices or compute the slice spacing, project each image's position onto the slice normal (the cross product of the row and column direction cosines) and sort by that distance. Instance Number and Slice Location are not reliable for this.

The primary source for anatomical localisation. Used for precise slice ordering in MPR, 3D rendering, and measurement tools. Together with Image Orientation (Patient), fully defines the image plane in 3D space.

Group 0020 holds the identifiers and numbers that tie instances into series and studies, and the geometry of the patient coordinate system.

Value format: DS (Decimal String), VM 3

(0020,0032) ImagePositionPatient has Value Representation DS (Decimal String) and Value Multiplicity 3, which means exactly three values, separated by backslashes (\).

DS — Decimal String

A fixed-point or floating-point number written as text, for example 0.5, -1024 or 1.2E-3. Leading and trailing spaces are allowed.

Length
16 bytes maximum
Characters
The digits 0–9, +, -, E, e, the period and the space.

Example value

-175.000\-200.500\-312.250

Format mistakes to avoid

  • Writing a number at full floating-point precision can exceed 16 characters, which is invalid.
  • A comma as decimal separator (0,5) is invalid; DICOM always uses the period.

Where ImagePositionPatient appears

Defined inTypeMeaning
Image Plane ModulePS3.3 C.7.6.21Required, and it must have a value.

A module lists the attributes an object must or may carry. Many IODs (CT Image, MR Image, Secondary Capture and others) include the same module, and an IOD-specific module can make an attribute stricter than the general one.

De-identification (PS3.15)

Image Position (Patient) is not listed in PS3.15 Table E.1-1, so the Basic Application Level Confidentiality Profile gives no specific action for it.

To see how de-identification changes your own files, try the free DICOM Anonymizer, which runs in the browser and uploads nothing.

In archives and migrations

Image geometry attributes are copied unchanged in a migration. Viewers rebuild 3D volumes, MPR and measurements from them, so a changed value changes the clinical picture.

Common errors and how to fix them

  • Gaps or overlaps in a reconstructed volume

    The software assumed a constant spacing or used Slice Thickness. Compute the spacing from consecutive positions along the normal and check that it is constant before building the volume.

  • Series from the same session do not line up

    Check the Frame of Reference UIDs first: positions in different frames of reference are not comparable without a registration.

Troubleshooting: 3D reconstructions with holes or misaligned slices usually mean incorrect or missing Image Position (Patient). Verify against the scanner's geometry log.

Check a file in seconds with the free DICOM Validator: it reads the header in your browser, lists the tags with their values, and flags missing or malformed key attributes.

Image Position (Patient): frequently asked questions

What is DICOM tag (0020,0032) Image Position (Patient)?

The x, y, z coordinates (mm) of the upper left hand corner of the image in the patient coordinate system. Image Position (Patient) gives the x, y and z coordinates, in millimetres, of the centre of the first pixel transmitted (the top-left pixel of the image) in the patient-based coordinate system.

What VR and VM does Image Position (Patient) (0020,0032) have?

(0020,0032) ImagePositionPatient has Value Representation DS (Decimal String) and Value Multiplicity 3, which means exactly three values, separated by backslashes (\). A fixed-point or floating-point number written as text, for example 0.5, -1024 or 1.2E-3. Leading and trailing spaces are allowed. Maximum length: 16 bytes maximum.

Is Image Position (Patient) (0020,0032) required?

In the Image Plane Module (PS3.3 C.7.6.2) it is Type 1: required, and it must have a value.

How is Image Position (Patient) handled when de-identifying DICOM files?

Image Position (Patient) is not listed in PS3.15 Table E.1-1, so the Basic Application Level Confidentiality Profile gives no specific action for it.

How do I troubleshoot Image Position (Patient) (0020,0032)?

3D reconstructions with holes or misaligned slices usually mean incorrect or missing Image Position (Patient). Verify against the scanner's geometry log.

How do I sort DICOM slices by position?

Compute the slice normal as the cross product of the row and column direction cosines in Image Orientation (Patient) (0020,0037), take the dot product of each image's Image Position (Patient) with that normal, and sort by the result. This works for any orientation, unlike sorting by z or by Instance Number.

Check ImagePositionPatient in your files

The free DICOM Validator lists every header tag and flags problems. Files stay in your browser.

Open DICOM Validator →

Remove patient data before sharing

The free DICOM Anonymizer applies a de-identification profile in your browser, with no upload.

Open DICOM Anonymizer →

Sources

Checked against the DICOM standard, release 2026d. Module Types, query keys and de-identification actions come from these tables:

More Image tags