CHEETAH Hardware User’s Manual
Imperx, Inc.
Rev. 2.0.7
6421 Congress Ave.
7/7/2015
Boca Raton, FL 33487
+1 (561) 989-0006
143 of 152
B.1
OVERVIEW
The Lookup Table file can be created using any standard ASCII text editor or by
using Microsoft Excel. Additionally, any spreadsheet or mathematical program
capable of generating a comma delimited (.csv) file can be used.
See Appendix E for software load procedure.
B.2
USING AN ASCII TEXT EDITOR
A custom LUT (lookup table) can be prepared using any ASCII text editor, such as
“Notepad” or similar. Alternatively, any spreadsheet program (i.e. Microsoft Excel)
can be used by converting the spreadsheet into a comma delimited (.csv) file. In
either case, the file must be renamed to include the .lut extension. The .lut file has
two main sections: a header and a table. The ‘header’ section is a free text area of
up to 256 ASCII characters. Each line of the header section must be terminated in a
comma. The ‘table’ section of the file contains an array of 4096 lines with each line
containing an input value followed by a comma and an output value. The input
values represent incoming pixels and the output values represent what each
incoming pixel should be converted into as an output pixel.
The format of the .LUT file is as follows:
-- Look Up Table input file example,
-- lines beginning with two dashes are comments,
-- and are ignored by parser,
:Header,
-- this is the text that will get displayed with a 'glh' command,
Function is 'Negative Image',
Created by John Doe,
Date 1/14/09,
:Table,
-- input output,
0,4095
1,4094
2,4093
3,4092
4,4091
:
4095,0