mirp icon indicating copy to clipboard operation
mirp copied to clipboard

Use of .dcm File Throws error.

Open neerajaj96 opened this issue 1 year ago • 1 comments

On providing a dicom file and mask as input (https://github.com/theibsi/data_sets/tree/master/ibsi_1_digital_phantom/dicom), it throws the following error from 105 th line of dicomImport.py

Could not broadcast input array from shape(4,4,5) into shape(4,5)

neerajaj96 avatar Mar 11 '23 09:03 neerajaj96

I will check this out. The NifTI variant of the phantom should work -- that phantom is used to check IBSI compliance as part of integration tests.

alexzwanenburg avatar Apr 03 '23 07:04 alexzwanenburg

The current state of the code now likely allows for processing that phantom.

  • [x] Add IBSI 1 test using the digital phantom in DICOM format.

alexzwanenburg avatar Aug 13 '24 15:08 alexzwanenburg

It actually works. However spacing and slice distance are incorrectly set in both image and mask files, whereas origin (or orientation) are incorrect for the mask. See theibsi/data_sets#2.

alexzwanenburg avatar Aug 14 '24 13:08 alexzwanenburg