QIICR / dcmqi

dcmqi (DICOM for Quantitative Imaging) is a free, open source C++ library for conversion between imaging research formats and the standard DICOM representation for image analysis results
https://qiicr.gitbook.io/dcmqi-guide/
BSD 3-Clause "New" or "Revised" License
232 stars 62 forks source link

BUG: Fix loading of single-frame segmentation #407

Closed lassoan closed 3 years ago

lassoan commented 3 years ago

When a single frame was loaded, sliceExtent was left uninitialized (instead of set to 0.0), which prevented computation of number of frames.

Fixes loading of file mentioned in https://discourse.slicer.org/t/loading-dicom-segmentation/14139/4

fedorov commented 3 years ago

Thank you for the fix! I think you meant "prevented correct computation of the number of frames".