Skip to content

Draft: change sort tag in DicomSeries.numpy

Ronan Lefol requested to merge numpy_sort into main

The current sort method for 2D slices to 3D volume sorts by real-world coordinates, this causes all CT scans to always show feet->head. However, certain CT scan instances are saved in the order head->feet (for whatever reason).

The current pre-sort method may lead to an oversight that such a thing is occurring in the data. Sorting by InstanceNumber instead presents the volume "as is".

Arguably, this should maybe allow the user to choose the tag to filter on? Unsure

Merge request reports

Loading