PCTWRIT

Write PCT to text file


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

Back to top

Description


Writes pseudocolor table data from a pseudocolor table segment or breakpoint pseudocolor table segment to a text file.
Back to top

Parameters


Name Type Length Value range
InputPCT: Input PCT segment * PCT or BPCT port 1 - 1  
PCT Text Form String 3 - 1 ATT | INOUT | OUT
Default: ATT
Output PCT File Name * String 1 -    

* Required parameter
Back to top

Parameter descriptions

InputPCT: Input PCT segment

Specifies the input segment that contains the pseudocolor table (type 171) or breakpoint pseudocolor table (type 173).

PCT Text Form

Specifies the text format to use when writing the pseudocolor table to the text file.

Supported options are:

For INOUT and OUT formats, For the INOUT format, there are four integer values per table entry (input value, red output value, green output value, and blue output value). For OUT format, there are three output values per table entry. It's 4 for the INOUT format, and to 5 for the OUT format.

Output PCT File Name

Specifies the name of the output text file to receive the pseudocolor table data.

The specified text file must NOT exist before running PCTWRIT.

Back to top

Details

PCTWRIT transfers pseudocolor table data from the specified PCT segment (DBPCT) in the input file to an output text file (TFILE). This allows you to create, edit, and exchange pseudocolor table data between this and other image analysis systems, using a text file.

Three text file formats are available:
Note: The specified output text file (TFILE) must NOT exist before running PCTWRIT.

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