Hi,

it's me again. I encountered another severe bug with the custom-build MITK on 
Mac OS X 10.8. When trying to save a volume into a series of DICOM images, a 
std::bad_cast exception is thrown. This happens when you load a DICOM dataset 
with MITK and try to save it again (with the following error message):

Could not save image.
Error:
.../MITK-2013.06.0-src/Core/Code/IO/mitkIOUtil.cpp:206:
An exception occurred during writing the file …. Exception says std::bad_cast

It also happens when I try to save a DICOM volume that I loaded myself with ITK 
- I use an itk::ImageSeriesWriter, and I even imported the code for the ITK 
DICOM Resampling Example into a MITK plugin because this code works when 
compiled separately. 
But when executed from the MITK as a plugin, the same std::bad_cast error 
happens (note that MITK is not involved at all - I just press the "Do 
something" button from the generic plugin and execute the code as presented 
here:

http://www.itk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM



Here is my coding environment:

Mac OS X 10.8.4
MITK 2013.06 Superbuild, 
ITK 4.3.2, 
VTK 5.10.1,
Boost 1.45, 
GDCM 2.2.1, 
DCMTK 3.6.1
Qt 4.8.4

(I built all these libraries myself and pointed the superbuild towards them)


Hope anyone can help with this because this is a very severe bug and I wonder 
whether it is OS X 10.8 specific.


Best regards,

Peter Salz

TU Kaiserslautern, Germany
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to