Hi Adrian,

this seems to be a bug indeed. I'd like you to ask if you would please file a 
bug in our bug tracker [1], which would be very nice, thank you! :) This way 
you also get informed per mail about any status change/fix of the bug.

Best,
Stefan

[1] http://bugs.mitk.org/
________________________________________
Von: Adrian Li [[email protected]]
Gesendet: Freitag, 7. November 2014 09:29
An: [email protected]
Betreff: [mitk-users] Got crash in vtkMitkLevelWindowFilter when Display        
float type RGB image in MITK

Dear List,

When I was trying to read a colored Doppler ultrasound image in MITK and 
display using MITK display module, I got a crash in 
vtkMitkLevelWindowFilter.cpp line 207:

*outputSI = static_cast<T>(rgb[0]); outputSI++;

For my case, in the dopplor ultrasound each channel in RGB space is float type. 
That means the pixel I should use is itk::RGBPixel<float>. However when I want 
to render this image I got the crash showing above.

But when I read the dicom using itk::RGBPixel<unsigned char>, it can be 
rendered without any problem. I think this is a bug in vtkMitkLevelWindowFilter 
which cannot handle the RGB image with pixel size larger than 255.

Any help is appreciate!

Thanks!

Adrian

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to