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 : ILookUpTableInheritance
object ← PrecalculatedLookUpTable
Implements
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
Maximum
The maximum output value. Read-only System.Boolean.
public double Maximum { get; }Property Value
Minimum
The minimum output value. Read-only System.Double.
public double Minimum { get; }Property Value
this[double]
Indexer to transform input value into output value.
public double this[double input] { get; }Property Value
Methods
Recalculate()
Recalculates (recalculation is forced) LUT data.
public void Recalculate()