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