[Bug] Render DICOMs with Irregular volume geometry.
Describe the Bug
Some CT Cases have Irregular volume geometry render wrong. The same case with Radient and 3D slicer apply fixes to the case.
Case on OHIF:
Same case with Radient:
Same case with 3D slicer:
Slicer show this error: [Python] Irregular volume geometry detected (maximum error of 53.0579 mm is above tolerance threshold of 0.001 mm). Adding acquisition transform to regularize geometry.
And after check the Slicer source code i found that: https://github.com/Slicer/Slicer/blob/0725f3a1275ca6f1795d92b0291474fab5026464/Modules/Scripted/DICOMPlugins/DICOMScalarVolumePlugin.py#L881
They add check for Irregular volume geometry detection. And add Acquisition Transform If Needed: https://github.com/Slicer/Slicer/blob/0725f3a1275ca6f1795d92b0291474fab5026464/Modules/Scripted/DICOMPlugins/DICOMScalarVolumePlugin.py#L890
https://drive.google.com/file/d/1W0u0OOMkL_CzADokHYG9vqwG5RZml5sG/view?usp=sharing
Steps to Reproduce
- Upload the attached case.
- Open MPR for the case.
The current behavior
MPR render in wrong way.
The expected behavior
The MPR must Adding acquisition transform to regularize geometry to render it in correct way.
OS
Ubuntu 23.10
Node version
14.20.1
Browser
Chrome Version 120.0.6099.216 (Official Build) (64-bit)