Miscellaneous code (use at your own risk!):
If you find any of this useful, please send a quick email & let me know.
Matlab:
These are outdated, I recommend you read this recent paper.
C:
getwinlut.c getwinlut.rc GetWinLUT.exe - saves hardware gamma ramps to a tab-delimited file "oldluttable.txt", also reads new ramps from "newluttable.txt" and writes those gamma ramps to hardware