Available in LEADTOOLS Medical Imaging toolkits.
LevelLUTLength example for Visual Basic
Note: Also works with Access 95 and 97.
This example writes out the number of entries in the LUT.
Text1.Text = CStr(Lead1.LevelLUTLength)