Difference between revisions of "Projects/Slicer3/2007 Project Week Display Optimization"
From NAMIC Wiki
Line 29: | Line 29: | ||
# Integrated building of alpha mask into one filter in form of a derived class from vtkReslice -> avoids multiple iterations through dataset | # Integrated building of alpha mask into one filter in form of a derived class from vtkReslice -> avoids multiple iterations through dataset | ||
# TODO: integrate map to color and map to window level | # TODO: integrate map to color and map to window level | ||
+ | [[Image:Programming_Week_RS_Slide4.JPG|thumb|320px]] | ||
</div> | </div> | ||
<br style="clear: both;" /> | <br style="clear: both;" /> |
Revision as of 01:25, 29 June 2007
Home < Projects < Slicer3 < 2007 Project Week Display Optimization
Key Investigators
- SPL: Raimundo Sierra, David Gobbi, Steve Pieper
Objective
Improving the performance of slicer display
Approach, Plan
- doing the resample to a 'native' size for the input volume and then upsampling to screen size still sounds best.
- using a vtkImageActor in the vtkSlicerSliceViewer (instead of the current vtkImageMapper and vtkActor2D) is likely to be faster, and can do the upsample needed in step (1),
- using a vtkImageActor for the slice model in the vtkSlicerViewer will bypass the power-of-2 resampling in vtkTexture that gives the artifacts I hate
- David thinks we should be able to use the existing functions of vtkImageReslice to get the background mask. He didn't thing having a two-output filter was a good idea based on his experience with the way the vtk pipeline executes.
Progress
- Implemented filter with aditional output, significantly faster rendering of slices
- Integrated building of alpha mask into one filter in form of a derived class from vtkReslice -> avoids multiple iterations through dataset
- TODO: integrate map to color and map to window level