use dicom's Physical Delta X as spacing?

(Butui Hu) #1

Hi, I’m trying to deal with the ultrasound images. And there is a Physical Delta X attribute (see here) in the DICOM files. Should it be used as spacing? I read the DICOM files with simpleitk, but the spacing is not the same value as Physical Delta X. Any idea?

(Ziv Yaniv) #2

Hie @hubutui,

This is a bit tricky. The Physical Delta X attribute is not necessarily geometric spacing, it can have different meanings based on the image content (it can be in time for Doppler or geometric space for anatomy).

You will probably also have to check Physical Units X Direction. Note that in ITK/SimpleITK all physical units are in mm, so if this specifies the units in cm they will be converted to mm when read.

(Butui Hu) #3

Yeah, I have check Physical Units X Direction too. Luckily, in my dataset, it’s only related to geometric space for anatomy. And they have the same value in Physical Delta X and Physical Delta Y.
I wanna calculate the hausdorff distance in a segmentation task. I think simpleitk could help with be aware of the physical unit.


Sometimes it works, if there is one big tissue region. That approach exists is some scripts, but i wouldn’t recommend generally. Attributes are from US Region Calibration Module,
there are often many regions and they can overlap, delta value can be zero or negative.
In fact it is not spacing, it is for measurements in particular region, not whole image.
For spacing there may be Pixel Aspect Ratio (0028,0034) attribute (some data sets may use Pixel Spacing).

Here are e.g. 3 regions, PW Spectral Doppler region (blue) has different units and deltas for X and Y directions

(Butui Hu) #6

Oh, I see. Luckily, in my task. There is only one region. This assumen also helps to remove unexpected banner regions.

1 Like