Difference between revisions of "2014 Summer Project Week: ColorBar support"

From NAMIC Wiki
Jump to: navigation, search
Line 29: Line 29:
 
<div style="width: 27%; float: left; padding-right: 3%;">
 
<div style="width: 27%; float: left; padding-right: 3%;">
 
<h3>Progress</h3>
 
<h3>Progress</h3>
*  
+
* We added the support for color scalar bar to the slice view annotations script.
 +
* The color scalar bar is sensitive to window/level changes and update the color lookup table range based on W/L of the current slice node.
 +
* We are going to migrate and refactor the code from slice view annotations script to vtkMRMLSliceNode class.
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 14:09, 27 June 2014

Home < 2014 Summer Project Week: ColorBar support


Demo of Color Scalar Bar

Key Investigators

  • BWH: Alireza Mehrtash, Andrey Fedorov
  • Isomics: Steve Pieper
  • Princess Margaret Cancer Centre: Kevin Wang


Project Description

Support for color scale bar in slice views can be very helpful in many cases such as when 3D Slicer is used to create figures for academic publications ([1] and [2]). Currently color scale visualization is only available in 3D viewer and it is not very useful as the numbers associated with colors are not the actual image pixel values but they are numbers of the individual colors in the lookup table (LUT). There was a previous effort to include color scale bar in SlicerRT [3]. The goal of this project is to add the support of color bar for 2D slice views in 3D Slicer Core.

Objective

  • Support of color scale bar for 2D slice views.

Approach, Plan

  • Study the latest related changes and improvements in VTK6.
  • Discuss about the functionality and UI design.
  • Add color scalar bar widget to 2D sliceview.

Progress

  • We added the support for color scalar bar to the slice view annotations script.
  • The color scalar bar is sensitive to window/level changes and update the color lookup table range based on W/L of the current slice node.
  • We are going to migrate and refactor the code from slice view annotations script to vtkMRMLSliceNode class.

References