glue-viz / glue-medical

Experimental glue plugin for medical data
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Real order of DICOM slices is sometimes different from filename order #6

Open astrofrog opened 7 years ago

astrofrog commented 7 years ago

There is a missing sorted but seems like there are also issues beyond that - @AndrewBeers will investigate

AnnaBeers commented 7 years ago

Just an update for the end of the day. It looks like pydicom does not have a function to automatically order slices. An interesting thread suggests that slice ordering might have to be derived from orientation/spacing information in a few DICOM tags (http://stackoverflow.com/questions/6597843/dicom-slice-ordering). Will investigate and throw something together soon.

astrofrog commented 7 years ago

@AndrewBeers - ok, thanks!