ALive-research / Slicer-Liver

3D Slicer extension for liver analysis and therapy planning
Other
17 stars 9 forks source link

Wrong handling of mismatched image spacing when combining distance maps #113

Closed RafaelPalomar closed 1 year ago

RafaelPalomar commented 2 years ago

Describe the bug When trying to generate combined distance maps with different image spacing, an error is produced but the user is not informed and the cursor processing status is not changed back to normal (stays in processing).

To Reproduce Steps to reproduce the behavior:

  1. Go to the segmentations module
  2. Export the tumor segmentation to labelmap using one volume as image volume
  3. Export the parenchyma segmentation to a labelmap using a different volume as image volume.
  4. Go to the Slicer-Liver module and try to compute the distance map with the tumor and the parechyma labelmap.
  5. See that there is no error and the mouse pointer does not change back from processing state

Expected behavior

Error should be reported and the state of the mouse should be back to normal.

RafaelPalomar commented 1 year ago

This should be fixed before PW