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
241 stars 61 forks source link

BUG: Fix loading of single-frame segmentation #407

Closed lassoan closed 4 years ago

lassoan commented 4 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 4 years ago

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