C#
C++
Java
public void SetPaletteColorLutData(
int[] data,
DicomPaletteColorLutType type
)
public void setPaletteColorLutData(int[] data, DicomPaletteColorLutType paletteColorLutType)
public:
void SetPaletteColorLutData(
array<int>^ data,
DicomPaletteColorLutType type
)
data
Buffer that holds the "Palette Color Lookup Table Data" to set.
type
Type of palette color lookup table data to set.
This method will set the data for the "Red", "Green" or "Blue" "Palette Color Lookup Table". Before calling this method you must call SetPaletteColorLutAttributes to set the attributes of the "Palette Color Lookup Table". Otherwise, this method will fail and throw a DicomExceptionCode.LutDescriptorMissing exception.
For an example, refer to DeletePaletteColorLut.