Available in LEADTOOLS Medical Imaging toolkits.
LUT Encoding: Palette Color Table
L_DicomGetPaletteColorLUTAttributes
L_DicomSetPaletteColorLUTAttributes
L_DicomSetPaletteColorLUTData
L_DicomDeletePaletteColorLUT