CNTGTHMR

Creates a contiguous thematic raster


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

Back to top

Description


CNTGTHMR converts a raster to a thematic raster that has contiguous areas, and assigns a unique group value to the pixels.
Back to top

Parameters


Name Type Length Value range
Input Raster: Input raster image channel * Raster port 1 - 1  
Output Layers: Output thematic raster channel Raster port 0 - 1  
Pixels that meet at a diagonal String 0 - 1 One Group | Separate Groups
Default: One Group
Report String 0 - 192 See parameter description

* Required parameter
Back to top

Parameter descriptions

Input Raster: Input raster image channel

Specifies the raster channel that contains the image for which the thematic raster will be constructed.

Output Layers: Output thematic raster channel

Specifies the channel to receive the output thematic raster with its associated raster attributes.

DBOC cannot be the same as DBIC (input layer).

Pixels that meet at a diagonal

Specifies how to combine two or more pixels with the same value that are joined anywhere at a diagonal.

Supported values are:

Report

Specifies where to direct the generated report.

Available options are:

Back to top

Details

CNTGTHMR converts a normal thematic raster or a regular raster into a contiguous thematic raster. A contiguous thematic raster is is a raster where only contiguous pixel regions have the same value.

For example, all the lake pixels for a classified image have the same value. Although the lakes are disconnected (because they have the same pixel value), they point to the same record when they become thematic (that is, an attribute table is generated).

In some cases, an analysis should be performed on contiguous areas only. For example, if all lakes that have more than a specified Area are found, a normal thematic raster cannot be used. After running CNTGTHMR, all lakes have separate records and the Area values are given for each lake.

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