Dear Milad, I just committed a change to mitk::Geometry2DDataVtkMapper3D which should fix the problem. RGB textures are now directly displayed without filtering them through a grayscale lookup table.
Can you confirm whether the mapper now also works correctly in your case with the current nightly SVN version of MITK? Thanks! Mathias > -----Original Message----- > From: Seitel Mathias [mailto:[email protected]] > Sent: Monday, July 06, 2009 9:51 AM > To: Milad Sadinam; [email protected] > Subject: Re: [mitk-users] 3D-View does not show RGB-images > > 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 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
