Difference between revisions of "2009 Summer Project Week Colors Module"
From NAMIC Wiki
m (Text replacement - "http://www.slicer.org/slicerWiki/index.php/" to "https://www.slicer.org/wiki/") |
|||
(8 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
Image:PW2009-v3.png|[[2009_Summer_Project_Week|Project Week Main Page]] | Image:PW2009-v3.png|[[2009_Summer_Project_Week|Project Week Main Page]] | ||
Image:Slicer3ColorPickerWithMRMLNodes.jpg|Color Picker with added swatches, showing SPLBrainAtlas | Image:Slicer3ColorPickerWithMRMLNodes.jpg|Color Picker with added swatches, showing SPLBrainAtlas | ||
+ | Image:Slicer3ColorPickerWithMRMLNodesList.jpg|Color Picker swatches, SPLBrainAtlas as a list | ||
+ | Image:SlicerColorGUIHelp.jpg|Color GUI with node descriptions | ||
+ | Image:Slicer3-ColorModuleGUIDisplaySelect.jpg|Color nodes in categories | ||
</gallery> | </gallery> | ||
Line 46: | Line 49: | ||
**Sebastien exposing the kw widgets color picker get color swatches method so that can add collections and new rgb swatches, so can add to the default collections | **Sebastien exposing the kw widgets color picker get color swatches method so that can add collections and new rgb swatches, so can add to the default collections | ||
**Nicole modified Slicer to add color swatch collections on first invocation of the color picker dialog | **Nicole modified Slicer to add color swatch collections on first invocation of the color picker dialog | ||
+ | **Sebastien added the ability to switch between the grid display in the swatch to a list that can be scrolled (works better if more slowly for large colour tables) | ||
*Clean up | *Clean up | ||
**Removed SPLBrainAtlas, use the file | **Removed SPLBrainAtlas, use the file | ||
− | **Removed | + | ***To do: fail gracefully when loading mrml files that use this table type |
+ | **Removed FSSurfaceLabels | ||
**Renamed FSLabels to FreeSurferLabels | **Renamed FSLabels to FreeSurferLabels | ||
*Documentation | *Documentation | ||
**added descriptions for color nodes | **added descriptions for color nodes | ||
**get the descriptions in the color gui help pane | **get the descriptions in the color gui help pane | ||
+ | *Editor | ||
+ | **Checked in one fix to use the label map from the volume being edited | ||
+ | **TODO: update the pop up box when the label map color node changes | ||
+ | *Sorting nodes | ||
+ | **Set the Category attribute on nodes as add them in the Colors Logic | ||
+ | **Checked in changes to the node selector widget to use the node categories | ||
+ | *Pop up scalar widget | ||
+ | **Using KW scalar annotation widget | ||
</div> | </div> | ||
</div> | </div> | ||
Line 60: | Line 73: | ||
==References== | ==References== | ||
− | [ | + | [https://www.slicer.org/wiki/Modules:Color-Documentation-3.4 Color Module Documentation for Slicer 3.4] |
</div> | </div> |
Latest revision as of 17:06, 10 July 2017
Home < 2009 Summer Project Week Colors ModuleKey Investigators
- BWH: Nicole Aucoin
- Kitware: Sebastien Barre
Objective
Revisting the Color module in Slicer3 to expand it's functionality, as well as it's integration with the Volumes and Editor modules.
Approach, Plan
- Fix bug color module and color picker should work with each other
- Fix bug FreeSurfer procedural color nodes do not display correctly in Color module
- Introduce sub menus in the color node selector (may need to subclass the node selector widget, or write it as a standard menu). Suggested divisions:
- continuous versus discrete
- legacy
- atlas
- FreeSurfer
- by functional utility (good for registration, fMRI, etc)
- Update module documentation to include a line describing each colour node and what it's suited for (ie Ocean for registration results)
- Fix the names to be more descriptive in the drop down menu (FS->FreeSurfer)
- Remove deprecated nodes
- Update editing to allow specifying LUTs by hue/range/ramp
- From Ron: allow quantitative specification (ie 5 is red, 10 is blue)
- Allow pop up scale widget to show the mapping between colours and values
Progress
So far:
- Color Picker:
- Sebastien exposing the kw widgets color picker get color swatches method so that can add collections and new rgb swatches, so can add to the default collections
- Nicole modified Slicer to add color swatch collections on first invocation of the color picker dialog
- Sebastien added the ability to switch between the grid display in the swatch to a list that can be scrolled (works better if more slowly for large colour tables)
- Clean up
- Removed SPLBrainAtlas, use the file
- To do: fail gracefully when loading mrml files that use this table type
- Removed FSSurfaceLabels
- Renamed FSLabels to FreeSurferLabels
- Removed SPLBrainAtlas, use the file
- Documentation
- added descriptions for color nodes
- get the descriptions in the color gui help pane
- Editor
- Checked in one fix to use the label map from the volume being edited
- TODO: update the pop up box when the label map color node changes
- Sorting nodes
- Set the Category attribute on nodes as add them in the Colors Logic
- Checked in changes to the node selector widget to use the node categories
- Pop up scalar widget
- Using KW scalar annotation widget