Class OutputLUT
Output LUT implementation of ILUT used to map grayscale images to RGB grays, or colorize grayscale images using custom color map
Implements
Inherited Members
Namespace: Dicom.Imaging.LUT
Assembly: cs.temp.dll.dll
Syntax
public class OutputLUT : ILUT
Constructors
OutputLUT(GrayscaleRenderOptions)
Initialize new instance of OutputLUT
Declaration
public OutputLUT(GrayscaleRenderOptions options)
Parameters
Type | Name | Description |
---|---|---|
GrayscaleRenderOptions | options | The grayscale render options containing the grayscale color map. |
Properties
ColorMap
Gets the color map
Declaration
public Color32[] ColorMap { get; }
Property Value
Type | Description |
---|---|
Color32[] |
IsValid
Returns true if the lookup table is valid
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
Boolean |
Item[Int32]
Indexer to transform input value into output value
Declaration
public int this[int value] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | value | Input value |
Property Value
Type | Description |
---|---|
Int32 | Output value |
MaximumOutputValue
Get the maximum output value
Declaration
public int MaximumOutputValue { get; }
Property Value
Type | Description |
---|---|
Int32 |
MinimumOutputValue
Get the minimum output value
Declaration
public int MinimumOutputValue { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
Recalculate()
Force the recalculation of LUT
Declaration
public void Recalculate()