Available in LEADTOOLS Medical Imaging toolkits.
L_DicomGetPaletteColorLUTAttributes
L_DicomSetPaletteColorLUTAttributes
L_DicomSetPaletteColorLUTData
L_DicomDeletePaletteColorLUT