ColourMap

Colour map: red, green and blue components to associate with intensity values.

Constructor

new ColourMap(red, green, blue)

Parameters:
NameTypeDescription
redArray.<number>

Red component.

greenArray.<number>

Green component.

blueArray.<number>

Blue component.

Classes

ColourMap

Members

blue :Array.<number>

Blue component: 256 values in the [0, 255] range.

Type:
  • Array.<number>

green :Array.<number>

Green component: 256 values in the [0, 255] range.

Type:
  • Array.<number>

red :Array.<number>

Red component: 256 values in the [0, 255] range.

Type:
  • Array.<number>