Class ModalityLookUpTableDescriptor

Class ModalityLookUpTableDescriptor

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

Provides information about mapping between modality LUT sequence and target image.

public sealed record ModalityLookUpTableDescriptor : IEquatable<modalitylookuptabledescriptor>

Inheritance

object ModalityLookUpTableDescriptor

Implements

IEquatable<modalitylookuptabledescriptor>

Inherited Members

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

Constructors

ModalityLookUpTableDescriptor(int, int)

Provides information about mapping between modality LUT sequence and target image.

public ModalityLookUpTableDescriptor(int NumberOfEntries, int FirstInputMappedValue)

Parameters

NumberOfEntries int

Number of entries specified in a modality LUT.

FirstInputMappedValue int

First pixel (value) mapped to a modality LUT.

Properties

FirstInputMappedValue

First pixel (value) mapped to a modality LUT.

public int FirstInputMappedValue { get; init; }

Property Value

int

NumberOfEntries

Number of entries specified in a modality LUT.

public int NumberOfEntries { get; init; }

Property Value

int

Methods

<clone>$()

public ModalityLookUpTableDescriptor <clone>$()

Returns

ModalityLookUpTableDescriptor

Deconstruct(out int, out int)

public void Deconstruct(out int NumberOfEntries, out int FirstInputMappedValue)

Parameters

NumberOfEntries int

FirstInputMappedValue int

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object ?

Returns

bool

Equals(ModalityLookUpTableDescriptor?)

public bool Equals(ModalityLookUpTableDescriptor? other)

Parameters

other ModalityLookUpTableDescriptor ?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ModalityLookUpTableDescriptor?, ModalityLookUpTableDescriptor?)

public static bool operator ==(ModalityLookUpTableDescriptor? left, ModalityLookUpTableDescriptor? right)

Parameters

left ModalityLookUpTableDescriptor ?

right ModalityLookUpTableDescriptor ?

Returns

bool

operator !=(ModalityLookUpTableDescriptor?, ModalityLookUpTableDescriptor?)

public static bool operator !=(ModalityLookUpTableDescriptor? left, ModalityLookUpTableDescriptor? right)

Parameters

left ModalityLookUpTableDescriptor ?

right ModalityLookUpTableDescriptor ?

Returns

bool </clone></modalitylookuptabledescriptor>