8.54. Create Color Map
Description
This Filter generates a color table array for a given 1-component input array. Each element of the input array is normalized and converted to a color based on where the value falls in the spectrum of the selected color preset.
The user can apply an optional data mask and then set the RGB values (0-255) that will be used if the data mask has a FALSE value.
Preset Values
These are the valid preset strings that can be used.
Preset Name |
Color Space |
Example |
---|---|---|
2hot |
Lab |
|
Asymmetrical Earth Tones (6_21b) |
Lab |
|
Black-Body Radiation |
RGB |
|
Black, Blue and White |
RGB |
|
Black, Orange and White |
RGB |
|
Blue - Green - Orange |
CIELAB |
|
Blue Orange (divergent) |
Lab |
|
Blue to Yellow |
RGB |
|
BLUE-WHITE |
Lab |
|
blue2cyan |
Lab |
|
blue2yellow |
Lab |
|
Blues |
Lab |
|
bone_Matlab |
Lab |
|
BrBG |
Lab |
|
BrOrYl |
Lab |
|
BuGn |
Lab |
|
BuGnYl |
Lab |
|
BuPu |
Lab |
|
BuRd |
Lab |
|
CIELab Blue to Red |
Lab |
|
Cividis |
Lab |
|
Cold and Hot |
RGB |
|
Cool to Warm (Extended) |
Lab |
|
Cool to Warm |
Diverging |
|
copper_Matlab |
Lab |
|
erdc_blue_BW |
Lab |
|
erdc_blue2cyan_BW |
Lab |
|
erdc_blue2gold |
Lab |
|
erdc_blue2gold_BW |
Lab |
|
erdc_blue2green_BW |
Lab |
|
erdc_blue2green_muted |
Lab |
|
erdc_blue2yellow |
Lab |
|
erdc_brown_BW |
Lab |
|
erdc_cyan2orange |
Lab |
|
erdc_divHi_purpleGreen |
Lab |
|
erdc_divHi_purpleGreen_dim |
Lab |
|
erdc_divLow_icePeach |
Lab |
|
erdc_divLow_purpleGreen |
Lab |
|
erdc_gold_BW |
Lab |
|
erdc_green2yellow_BW |
Lab |
|
erdc_iceFire_H |
Lab |
|
erdc_iceFire_L |
Lab |
|
erdc_magenta_BW |
Lab |
|
erdc_marine2gold_BW |
Lab |
|
erdc_orange_BW |
Lab |
|
erdc_pbj_lin |
Lab |
|
erdc_purple_BW |
Lab |
|
erdc_purple2green |
Lab |
|
erdc_purple2green_dark |
Lab |
|
erdc_purple2pink_BW |
Lab |
|
erdc_rainbow_bright |
Lab |
|
erdc_rainbow_dark |
Lab |
|
erdc_red_BW |
Lab |
|
erdc_red2purple_BW |
Lab |
|
erdc_red2yellow_BW |
Lab |
|
erdc_sapphire2gold_BW |
Lab |
|
Fast |
RGB |
|
GBBr |
Lab |
|
gist_earth |
Lab |
|
GnBu |
Lab |
|
GnBuPu |
Lab |
|
GnRP |
Lab |
|
GnYlRd |
Lab |
|
Gray and Red |
Lab |
|
Grayscale |
RGB |
|
Green-Blue Asymmetric Divergent (62Blbc) |
Lab |
|
GREEN-WHITE_LINEAR |
Lab |
|
Greens |
Lab |
|
GYPi |
Lab |
|
GyRd |
Lab |
|
Haze |
RGB |
|
Haze_cyan |
Lab |
|
Haze_green |
Lab |
|
Haze_lime |
Lab |
|
heated_object |
Lab |
|
hsv |
RGB |
|
hue_L60 |
Lab |
|
Inferno (matplotlib) |
Diverging |
|
Jet |
RGB |
|
Linear Blue (8_31f) |
Lab |
|
Linear Green (Gr4L) |
Lab |
|
Linear YGB 1211g |
Lab |
|
magenta |
Lab |
|
Magma (matplotlib) |
Diverging |
|
Muted Blue-Green |
Lab |
|
nic_CubicL |
Lab |
|
nic_CubicYF |
Lab |
|
nic_Edge |
Lab |
|
Oranges |
Lab |
|
OrPu |
Lab |
|
pink_Matlab |
Lab |
|
PiYG |
Lab |
|
Plasma (matplotlib) |
Diverging |
|
PRGn |
Lab |
|
PuBu |
Lab |
|
PuOr |
Lab |
|
PuRd |
Lab |
|
Purples |
Lab |
|
Rainbow |
RGB |
|
Rainbow Blended Black |
RGB |
|
Rainbow Blended Grey |
RGB |
|
Rainbow Blended White |
RGB |
|
Rainbow Desaturated |
RGB |
|
Rainbow Uniform |
RGB |
|
RdOr |
Lab |
|
RdOrYl |
Lab |
|
RdPu |
Lab |
|
RED_TEMPERATURE |
Lab |
|
RED-PURPLE |
Lab |
|
Reds |
Lab |
|
Spectral_lowBlue |
Lab |
|
Turbo |
RGB |
|
Viridis (matplotlib) |
Diverging |
|
Warm to Cool (Extended) |
Lab |
|
Warm to Cool |
Diverging |
|
X Ray |
RGB |
|
Yellow - Gray - Blue |
Lab |
|
Yellow 15 |
Lab |
Input Parameter(s)
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
---|---|---|---|
Select Preset… |
CreateColorMap |
Select a preset color scheme to apply to the created array |
Input Data Objects
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
---|---|---|---|
Data Array |
Array Selection |
Allowed Types: int8, uint8, int16, uint16, int32, uint32, int64, uint64, float32, float64, boolean Comp. Shape: 1 |
The complete path to the data array from which to create the rgb array by applying the selected preset color scheme |
Optional Data Mask
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
---|---|---|---|
Use Mask Array |
Bool |
Whether to assign a black color to ‘bad’ Elements |
|
Mask Array |
Array Selection |
Allowed Types: uint8, boolean Comp. Shape: 1 |
Path to the data array used to define Elements as good or bad. |
Masked Color (RGB) |
Vector of UInt8 Values |
Order=Red,Green,Blue |
The color to assign to voxels that have a mask value of FALSE |
Output Data Object(s)
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
---|---|---|---|
Output RGB Array |
DataObjectName |
The rgb array created by normalizing each element of the input array and converting to a color based on the selected preset color scheme |
Example Pipelines
License & Copyright
Please see the description file distributed with this plugin.
DREAM3D-NX Help
If you need help, need to file a bug report or want to request a new feature, please head over to the DREAM3DNX-Issues GitHub site where the community of DREAM3D-NX users can help answer your questions.