Class ModalityRescaleLUT
- Namespace
- FellowOakDicom.Imaging.LUT
- Assembly
- fo-dicom.core.dll
Modality Rescale LUT implementation of IModalityLUT and ILUT
public class ModalityRescaleLUT : IModalityLUT, ILUT
- Inheritance
-
ModalityRescaleLUT
- Implements
- Inherited Members
- Extension Methods
Constructors
ModalityRescaleLUT(GrayscaleRenderOptions)
Initialize new instance of ModalityRescaleLUT using the specified slope and intercept parameters
public ModalityRescaleLUT(GrayscaleRenderOptions options)
Parameters
options
GrayscaleRenderOptionsRender options
Properties
IsValid
Returns true if the lookup table is valid
public bool IsValid { get; }
Property Value
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
MinimumOutputValue
Get the minimum output value
public double MinimumOutputValue { get; }
Property Value
RescaleIntercept
The modality rescale intercept
public double RescaleIntercept { get; }
Property Value
RescaleSlope
The modality rescale slope
public double RescaleSlope { get; }
Property Value
Methods
Recalculate()
Forces the recalculation of LUT
public void Recalculate()