LUTREAD

Read LUT from text file


EnvironmentsPYTHON :: EASI :: MODELER
Batch ModeYes
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Related

Back to top

Description


LUTREAD reads lookup table (LUT) data from a text file and writes it to an LUT segment (LUT type 170 or BLUT type 172) in a PCIDSK file.
Back to top

Parameters


Name Type Length Value range
Output: Output file name * LUT port 1 -    
Output: Lookup table segment LUT port 0 - 1  
LUT Layer Name String 0 - 1 Default: LUTREAD
LUT Layer Description String 0 - 1  
LUT Text Form String 0 - 1 ATT, INOUT, OUT
Default: ATT
Filename * String 1 - 1  

* Required parameter
Back to top

Parameter descriptions

Output: Output file name

Specifies the name of the PCIDSK file to which the lookup table is written.

Output: Lookup table segment

Specifies the segment that contains the lookup table (LUT type 170 or BLUT type 172). If this parameter is not specified, a new LUT segment is created.

LUT Layer Name

Specifies a name (up to 8 characters) for the output LUT segment. This string is displayed by ASL, and can be changed using MAS.

This parameter is required only if a new segment is created. If a name is not specified, the default name "LUTREAD" is assigned.

LUT Layer Description

Describes (in up to 64 characters) the contents or origins of the output segment.

This string is displayed by ASL if the LTYP parameter is set to SHORT or FULL, and can be changed using MAS.

The specified segment description can be used only if a new segment is created.

LUT Text Form

Specifies the input text file format for the lookup table data. Valid values are:

Filename

Specifies the name of the input text file from which the lookup table data is read.

Back to top

Details

LUTREAD transfers lookup table (LUT) data from a specified text file to a lookup table segment (LUT type 170 or BLUT type 172) in a PCIDSK file, assuming a given text file format.

Three LUT formats are available. See the LUTFORM (LUT Text Form) parameter details for more information.

Note: It is not essential that all 256 entries in a lookup table be specified in the text file. If a new segment is created, output values for any missing entries default to 0. If an existing segment was specified, only the table entries that are read in are modified.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.