Root cause found + anonymized M-mode samples (GE Vivid E90, SW 206.58.0).
The image contains two entries in SequenceOfUltrasoundRegions (0018,6011):
- Region 0: 2D sector (RegionSpatialFormat=1), units X/Y = cm/cm,
PhysicalDeltaX/Y = 0.0739 cm/px
- Region 1: M-mode (RegionSpatialFormat=2), units X = seconds (4), Y = cm (3),
PhysicalDeltaY = 0.0329 cm/px
DicomInstanceParameters only keeps regions whose X and Y units are both
centimeters (see the "multiple US regions" safeguard, changeset c2c58aeec40b).
Here only the 2D region qualifies, so its spacing is applied to the whole image,
including the M-mode trace. Vertical lengths drawn on the M-mode are therefore
overestimated by 0.0739/0.0329 = ~2.25x.
Example (mmode_1.dcm): aortic root measured 2.8 cm on the scanner, Stone shows
6.44 cm.
Expected: use the calibration of the region that contains the annotation (at
least PhysicalDeltaY for the depth axis of M-mode / spectral Doppler regions,
whose X axis is time).
Attached: mmode_1.dcm (Ao root / LA) and mmode_2.dcm (TAPSE), both anonymized;
pixel data and US regions unchanged. |