Modules:Color-Documentation-3.4

From Slicer Wiki
Jump to: navigation, search
Home < Modules:Color-Documentation-3.4

Return to Slicer 3.4 Documentation

Color Module

Color

Caption 1
Caption 2
Caption 3

General Information

Module Type & Category

Type: Interactive

Category: Base

Authors, Collaborators & Contact

  • Nicole Aucoin: Brigham and Women's Hospital
  • Sebastien Barre, Kitware Inc.
  • Contact: Nicole Aucoin, nicole@bwh.harvard.edu

Module Description

The Color Module manages color look up tables.

Usage

Examples, Use Cases & Tutorials

This module is used to change the color mapping of volumes, model scalar overlays.

  • Note use cases for which this module is especially appropriate, and/or link to examples.
  • Link to examples of the module's use
  • Link to any existing tutorials

Quick Tour of Features and Use

  • Load panel: The Select Color File button will let you choose a text color file to load.

You can also specify a directory from which to read color files using the View -> Application Settings window, Module Settings frame. Click on the Add a preset button to add one or more new user color file paths. The directory will be searched for color files with names ending in .txt (for now, csv coming later). You have to restart Slicer to load the new files after setting the paths the first time.

Color files have one color per line:

label name R G B A

label is an integer, name a string, and RGBA are 0-255. A = 255 for opaque.

In a the binary directory of Slicer3, the default color files live in share/Slicer3/SlicerBaseLogic/Resources/ColorFiles.

  • Display panel:

Slicer supports three kinds of tables:

  1. Continuous scales, like the greyscale table.
  2. Parametric tables, defined by an equation, such as the FMRIPA table.
  3. Discrete tables, such as those read in from a file.
  • Edit panel:

Users are only allowed to edit User type tables. Use the Edit frame to create a new color table, and save it to a file.

Development

Dependencies

The Volumes, Editor, and Models modules require this module.

Known bugs

Follow this link to the Slicer3 bug tracker.


Usability issues

Follow this link to the Slicer3 bug tracker. Please select the usability issue category when browsing or contributing.

Source code & documentation

Source code:

Documentation generated by doxygen.

More Information

Acknowledgment

This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.

References