Class PrecalculatedLookUpTable

Class PrecalculatedLookUpTable

Namespace: Aspose.Medical.Dicom.LookUpTables
Assembly: Aspose.Medical.dll (25.11.0)

Fake Look-Up table, used to minimize number of recalculations.

public sealed class PrecalculatedLookUpTable : ILookUpTable

Inheritance

object PrecalculatedLookUpTable

Implements

ILookUpTable

Inherited Members

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

PrecalculatedLookUpTable(ILookUpTable, int, int)

Initialize a new instance of the Aspose.Medical.Dicom.LookUpTables.PrecalculatedLookUpTable.

public PrecalculatedLookUpTable(ILookUpTable lut, int minValue, int maxValue)

Parameters

lut ILookUpTable

LUT to be wrapped.

minValue int

Minimum mapped value (pixel).

maxValue int

Maximum mapped value (pixel).

Properties

IsValid

Indicates whether the Look-Up Table is valid (true) or not. Read-only System.Boolean.

public bool IsValid { get; }

Property Value

bool

Maximum

The maximum output value. Read-only System.Boolean.

public double Maximum { get; }

Property Value

double

Minimum

The minimum output value. Read-only System.Double.

public double Minimum { get; }

Property Value

double

this[double]

Indexer to transform input value into output value.

public double this[double input] { get; }

Property Value

double

Methods

Recalculate()

Recalculates (recalculation is forced) LUT data.

public void Recalculate()