Class OutputLUT
Output LUT implementation of ILUT used to map grayscale images to RGB grays, or colorize grayscale images using custom color map
Inheritance
System.Object
OutputLUT
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FellowOakDicom.Imaging.LUT
Assembly: fo-dicom.core.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 |
---|---|
System.Boolean |
Item[Double]
Indexer to transform input value into output value
Declaration
public double this[double value] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | Input value |
Property Value
Type | Description |
---|---|
System.Double | Output value |
MaximumOutputValue
Get the maximum output value
Declaration
public double MaximumOutputValue { get; }
Property Value
Type | Description |
---|---|
System.Double |
MinimumOutputValue
Get the minimum output value
Declaration
public double MinimumOutputValue { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Recalculate()
Force the recalculation of LUT
Declaration
public void Recalculate()