Overview; Using An Ascii Text Editor - Imperx LYNX Series Hardware User Manual

Cameralink and gige models
Hide thumbs Also See for LYNX Series:
Table of Contents

Advertisement

C.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 file can be used.
C.2 Using an ASCII text editor
A custom LUT (lookup table) can be prepared using any ASCII text editor.
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. This
header is used to document the LUT and will be displayed in response to the user
issuing a 'glh' (Get LUT Header) command. 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/05,
:Table,
--input output,
0,4095
1,4094
2,4093
3,4092
4,4091
:
4095,0
LYNX Hardware User's Manual
199 of 216

Advertisement

Table of Contents
loading

Table of Contents