Steps to reproduce:
- load image
- open Region Growing Plug-in
- add one point
- select image
- click button "Do Something"
-> workbench crash
possibly related to vtkImageReslice.cxx
Steps to reproduce:
-> workbench crash
possibly related to vtkImageReslice.cxx
After region growing calculation, the result gets lost after conversion to mitk image when leaving scope. This is due to the remote memory management of ImportItkImage. Using CastToMitkImage instead solves the issue.
[7a6829]: Merge branch 'bug-17901-CrashInRegionGrowingPlugin'
2014-09-24 16:51:32 Tobias Norajitra [ca5c5b]
Replace ImportItkImage by CastToMitkImage to allow out-of-scope memory management.