image.filterColorMap()

These are passed to the function ImageFilters (see ImageFilter documentation) which convert gray values to colors.

image.filterColorMap( [ lineColor1 [, lineColor2 ] ] )

Returns: any

Argument Description
lineColor1
string, optional

used only for type "linear", the color corresponding to value 0 in the colormap.

Alias: lineColour1

lineColor2
string, optional

used only for type "linear", the color corresponding to value 1 in the colormap.

Alias: lineColour2

Examples

There are currently no examples for this function

See also