Spatial Calibration of DICOM Images
The link between a pixel and a real length
Spatial calibration is the link between a pixel and a real-world length. With a valid calibration, every measurement (distance, area, angle) reflects actual millimeters or centimeters, and the real-world zoom can display images at the same size as the original objects.
For DICOM images, the calibration is normally derived from the standard attributes (Pixel Spacing for cross-sectional acquisitions, Imager Pixel Spacing for projection radiography). The 2D viewer indicates how the calibration was obtained — see the calibration type label shown above the ruler.
When no calibration is available — or when you want to override an existing one — you can apply a manual calibration as long as the image contains a reference object of known size (a ruler, a fiducial, a calibration phantom, or any landmark whose physical length you know).
Manual calibration procedure
- Pick the Line tool from the Measurement tools.
- Draw a line along an object whose real-world length you know.
- Right-click the line and choose Manual Calibration. since v4.8.0 two shortcuts open the same dialog: hold Ctrl (Cmd on macOS) while drawing the line and the dialog opens as soon as the line is finished, or select the line and click Calibrate… under the table of the Draw & Measure panel.
- Enter the known distance (with its unit), choose whether it applies to the current image or to the whole series, and click Apply. Restore original since v4.8.0 drops your calibration: the image gets back the calibration of its DICOM file, or the one of the Presentation State applied to the view when it defines a pixel spacing; an image that has none of them returns to pixel units.
The Manual Calibration dialog can apply the new scale either to the current image only or to every image in the series. Pick the right scope for your dataset (a series with consistent geometry is normally calibrated as a whole).
Once the image is calibrated, all measurement tools report values in the chosen unit and the real-world zoom renders the image at its physical size. The manual calibration is kept in memory for the current session but is not currently written back into the DICOM file.
Changing spatial calibration with Weasis 1.1.3
The procedure shown below was recorded on an older version of Weasis; the underlying workflow is unchanged.

