Table of Contents

Class PaletteColorLUT

Namespace
FellowOakDicom.Imaging.LUT
Assembly
fo-dicom.core.dll

Paletter color LUT implementation of ILUT maps PALETTE COLOR images

public class PaletteColorLUT : ILUT
Inheritance
PaletteColorLUT
Implements
Inherited Members
Extension Methods

Constructors

PaletteColorLUT(int, Color32[])

Initialize new instance of PaletteColorLUT

public PaletteColorLUT(int firstEntry, Color32[] lut)

Parameters

firstEntry int

The first entry (minium value)

lut Color32[]

The palette color LUT

Properties

ColorMap

The color map

public Color32[] ColorMap { get; set; }

Property Value

Color32[]

IsValid

Returns true if the lookup table is valid

public bool IsValid { get; }

Property Value

bool

this[double]

Indexer to transform input value into output value

public double this[double value] { get; }

Parameters

value double

Property Value

double

Output value

MaximumOutputValue

Get the maximum output value

public double MaximumOutputValue { get; }

Property Value

double

MinimumOutputValue

Get the minimum output value

public double MinimumOutputValue { get; }

Property Value

double

Methods

Recalculate()

Forces the recalculation of LUT

public void Recalculate()