While working on T2845 we noticed that volume rendering uses up an enourmous amount of memory for preprocessing (or similar). This is especially annoying when volume rendering is used as a quick 3D preview of a segmentation. The quality requirements here are very low, the rendering should only provide a preview.
As a reference on numbers, here is the memory consumption of my machine. I started Mitk3M3 with the "volume rendering" preference option of the segmentation view turned OFF. Afterwards, I load /home/maleike/testimg.pic.gz, then create a new empty segmentation, then go to Window/Preferences and turn volume rendering on:
Opening Mitk3M3: 51.7 MB
Loading testimg: 222.5 MB
Creating a segmentation: 308.7 MB
Turning on volume rendering via Window/Preferences: 572 MB
i.e.
for testimg: 170.8 MB 100 %
for segmentation 86.2 MB 50 %
for volume rendering 263.3 MB 154 %
Is there any way the memory requirements could be lowered? Perhaps even with a special handling of binary images that require less quality?