Page MenuHomePhabricator

[Peak Extraction] Exception thrown and not caught by plugin when starting finite differences extraction with image of incompatible pixel type
Closed, ResolvedPublic

Description

Exception thrown and not caught by plugin when starting finite differences extraction with image of incompatible pixel type.
Message is like following:

An error occurred. You should save all data and quit the program to prevent possible data loss.
See the error log for details.

/Volumes/FastDrive/Developer/MITK/src/itk4/MITK/Core/Code/DataManagement/mitkImageToItk.txx:37:
itk::ERROR: ImageSource(0x7fcbeb528db0): image has wrong pixel type

Event Timeline

This also occurs when the Qballs image was created by MITK and and is accepted in the view as a valid Input.

To reproduce:

  1. load .dwi image
  2. reconstruct q-balls
  3. click start finite diff extraction

->
image has wrong pixel type

New remote branch pushed: bug-15083-Peak-Extraction-Exception-due-to-wrong-pixel-type

[e31294]: Merge branch 'bug-15083-Peak-Extraction-Exception-due-to-wrong-pixel-t

Merged commits:

2013-06-26 17:04:30 Tobias Hegemann [ab6647]
No more exceptions are thrown when working with wrong pixel type but notification message boxes instead.

Merged into diffusion release branch. release_fix+