Dear Milad, Thank you for this report. I just had a quick look at the MITK classes involved in rendering images planes in 2D and 3D:
mitk::ImageMapper is used for rendering images in the 2D views. It currently uses custom OpenGL code for rendering, and RGB images are treated correctly in this case. mitk::Geometry2DDataVtkMapper3D is used for rendering images in the 3D view(s). It uses VTK for rendering, and scales the scalar information of the picture by means of a lookup table. In this way, RGB images currently are reduced to grayscale images. I opened a bug entry in our bug-tracker (http://bugs.mitk.org/show_bug.cgi?id=2187). We'll try to fix this as soon as possible. Regards, Mathias > -----Original Message----- > From: Milad Sadinam [mailto:[email protected]] > Sent: Friday, July 03, 2009 11:08 PM > To: [email protected] > Subject: [mitk-users] 3D-View does not show RGB-images > > Dear all, > > I am developing a Functionality for mitk and there I show a 3D > rgb-image. The 2D-Views show that image perfectly fine but in the > 3D-View only the first component (red) of the image is taken and shown > as greyscale. > > What could be the reason? Do I have to somehow change the output-format > of the 3D-View? > > Milad Sadinam > > ------------------------------------------------------------------------ ------ > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
