Visual Basic (Declaration) | |
---|---|
Public Class DicomModalityLutAttributes |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class DicomModalityLutAttributes |
Managed Extensions for C++ | |
---|---|
public __gc class DicomModalityLutAttributes |
C++/CLI | |
---|---|
public ref class DicomModalityLutAttributes |
For an example, refer to GetModalityLutAttributes.
The properties of this class are based on the attributes of the "Modality LUT Module". Please see "Modality LUT Module Attributes" in the DICOM standard for more details. The DICOM standard states that:
"Either a Modality LUT Sequence containing a single Item or Rescale Slope and Intercept values shall be present, but not both."
For this reason, both IsModalityLutSequence and IsRescaleSlopeIntercept cannot be set to true at the same time.When using this class with the SetModalityLut method you must set one of the flags, either IsModalityLutSequence or IsRescaleSlopeIntercept. If you set IsModalityLutSequence, you must populate IsModalityLutSequence, LutExplanation and LutType with valid values. If you set IsRescaleSlopeIntercept, you must populate RescaleIntercept, RescaleType with valid values. According to the DICOM standard when the number of table entries under the "LUT Data" (0028,3006) element is equal to 2^16 then the value of FirstStoredPixelValueMapped, NumberOfEntries and EntryBits. NumberOfEntries shall be 0. However, the 2 methods, GetModalityLutAttributes and SetModalityLut, do NOT have this limitation. When you call GetModalityLutAttributes, it will automatically set value in the dataset to 0 if NumberOfEntries is equal to 2^16. The same applies to SetModalityLut.
System.Object
Leadtools.Dicom.DicomModalityLutAttributes
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family