Class ModalityRescaleLookUpTable

Class ModalityRescaleLookUpTable

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

Represents ‘Modality Rescale LUT’, ‘Modality LUT Module’ when ‘Rescale Slope’ or ‘Rescale Intercept’ are used (at least one of them). The output ranges: from (minimum pixel valueRescale Slope+Rescale Intercept) to (maximum pixel valueRescale Slope+Rescale Intercept), where the minimum and maximum pixel values are determined by Bits Stored and Pixel Representation. See https://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.11.html

public sealed class ModalityRescaleLookUpTable : IModalityLookUpTable, ILookUpTable

Inheritance

object ModalityRescaleLookUpTable

Implements

IModalityLookUpTable , ILookUpTable

Inherited Members

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

Constructors

ModalityRescaleLookUpTable(GrayscaleRenderOptions)

Initialize new instance of Aspose.Medical.Dicom.LookUpTables.ModalityRescaleLookUpTable using the specified slope and intercept parameters

public ModalityRescaleLookUpTable(GrayscaleRenderOptions options)

Parameters

options GrayscaleRenderOptions

Render options

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

RescaleIntercept

The modality rescale intercept. Read-only System.Double.

public double RescaleIntercept { get; }

Property Value

double

RescaleSlope

The modality rescale slope. Read-only System.Double.

public double RescaleSlope { 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()