ADAPT

Make adaptive PCT


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

Back to top

Description


ADAPT generates a pseudocolor table (PCT), which can be used to optimally represent a provided RGB image. The 24-bit image is translated to an 8-bit pseudocolor table using an adaptive PCT algorithm.
Back to top

Parameters


Name Type Length Value range
Input: Input RGB channels * Raster port 3 - 3  
Output: Output PCT channel PCT port 0 - 1  
PCT Layer Name String 0 - 1  
PCT Layer Description String 0 - 1  
Report String 0 - 192 See parameter description

* Required parameter
Back to top

Parameter descriptions

Input: Input RGB channels

Specifies the three 8-bit channels (R, G, B) containing the input raster image.

If R, G, and B are all the same channel number, this is equivalent to specifying a black and white image.

Output: Output PCT channel

Optionally specifies the output pseudocolor table (PCT) channel segment to receive data. If no segment is specified, a new segment is created.

PCT Layer Name

Specifies a name (up to 8 characters) for the output PCT segment.

This value is used only if a new pseudocolor segment is created.

PCT Layer Description

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

This value is used only if a new pseudocolor segment is created.

Report

Specifies where to direct the generated report.

Available options are:

Back to top

Details

ADAPT creates a pseudocolor table (PCT, segment type 171) using as input three channels (DBIC) representing an RGB (color) image. The 24-bit input image is translated to an 8-bit pseudocolor table using an adaptive PCT algorithm. The PCT may then be used as input to ERRDIFF, which converts an RGB image to a pseudocolored image based on a given PCT.

Input RGB channels (DBIC) must be 8-bit channels, due to the 8-bit nature of a pseudocolor table. While any type of image channel may be used, values are internally converted to 8-bit data. Using non-8-bit data may result in unexpected or poor results.

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