Skip to main content

Function: addColorLUT()

addColorLUT(colorLUT, index?): number

Add a color LUT to the segmentation state manager

Parameters​

• colorLUT: ColorLUT

The color LUT array to add.

• index?: number

The index of the color LUT to add.

If no index is provided, the next available index will be used.

Returns​

number

The index of the color LUT that was added.

Defined in​

tools/src/stateManagement/segmentation/addColorLUT.ts:23