Hi, I assume the behavior changed due to bug 17547 [1,2].
To quickly fix this for your use case you probably could patch void mitk::ImageVtkMapper2D::ApplyLookuptable( mitk::BaseRenderer* renderer ) to add a LUT to your liking instead of using the default rainbow one. As Keno mentioned a proper backwards compatibility fix will probably have to be a part of the SceneIO redesign. Best, Caspar [1] http://bugs.mitk.org/show_bug.cgi?id=17547 [2] http://mitk.org/git/?p=MITK.git;a=commitdiff;h=7b078c658be1a6ef29e6a8d36421abe2c06626ed Von: März, Keno [mailto:k.ma...@dkfz-heidelberg.de] Gesendet: Donnerstag, 1. Oktober 2015 15:24 An: Mitk Users Betreff: Re: [mitk-users] backwards compatibility of .mitk project files Hello Ingmar, We are currently reworking the SceneIO Module because our Version support between serialized MITk Scenes is currently suboptimal. I am unaware of such a change to lookup tables, but these problem will continue to pop up, which is why we would like to input on the topic also, please see here: http://bugs.mitk.org/show_bug.cgi?id=19248 and also here, where I added your Issue: http://bugs.mitk.org/show_bug.cgi?id=19294 Best, Keno Von: Ingmar Wegner [mailto:iweg...@gmx.de] Gesendet: Freitag, 25. September 2015 12:18 An: Mitk Users Betreff: [mitk-users] backwards compatibility of .mitk project files Hi everyone, I just debugged into the serialization because all images within our project files that we created before moving to the 2015.05.0 release show up in rainbow color, not in gray values. I found out that there has been a change in the serialization. Now there is an additional property "LookupTable" in the properties file. During loading an mitk file the default behavior is to add a rainbow LUT. I guess that is to support other image types from the diffusion application? But as the "old" project files don't contain the property the images get also drawn in rainbow color. Then if you go into the DataManager plugin and want to reset the colormap it automatically switches to "grayscale" once the context menu opens up. As this is unintended for a user that doesn't know the internals I would like to change that. Any hint on how to solve it the best way? I don't want to introduce any sideeffects with a too early workaround... And thank you all for the 2015.05.2 relase!!! Best, Ingmar
------------------------------------------------------------------------------
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users