Visual Basic (Declaration) | |
---|---|
Public Class DicomModalityLutAttributes |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomModalityLutAttributes |
C# | |
---|---|
public class DicomModalityLutAttributes |
C++/CLI | |
---|---|
public ref class DicomModalityLutAttributes |
For an example, refer to DicomDataSet.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 DicomDataSet.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, DicomDataSet.GetModalityLutAttributes and DicomDataSet.SetModalityLut, do NOT have this limitation. When you call DicomDataSet.GetModalityLutAttributes, it will automatically set value in the dataset to 0 if NumberOfEntries is equal to 2^16. The same applies to DicomDataSet.SetModalityLut.
System.Object
Leadtools.Dicom.DicomModalityLutAttributes
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)