| Environments | PYTHON :: EASI :: MODELER |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Example :: Related |
| Back to top |
| Back to top |
| Name | Type | Caption | Length | Value range |
|---|---|---|---|---|
| FILI * | String | Input "new" image file name | 1 - 192 | |
| DBIC | Integer | Input "new" image channels | 0 - | |
| FILI_REF * | String | Input reference image file name | 1 - 192 | |
| DBIC_REF | Integer | Input reference image channels | 0 - | |
| FILO * | String | Output file name | 1 - 192 | |
| ALGO | String | Change detection algorithm | 0 - 10 | COMBINE | MAGDIFF | CHANDIFF | INTENRATIO | TCGNDIFF | TCSBDIFF | AVGDIFF | AVGRATIO Default: MAGDIFF |
| OPERTYPE | String | Difference operation type | 0 - 3 | POS | NEG | ABS Default: POS |
| ASENSOR | String | Sensor name | 0 - 29 | See Description. |
| MASK | Integer | Area mask | 0 - 4 | |
| MASKFILE | String | Area mask file name | 0 - 192 | |
| FTYPE | String | Output file type | 0 - 4 | Default: PIX |
| FOPTIONS | String | Output file options | 0 - 64 | |
| MONITOR | String | Monitor mode | 0 - 3 | ON, OFF Default: ON |
| Back to top |
FILI
Specifies the name of the file that contains the raster data after change occurs.
DBIC
Specifies the input image channels representing the area after change occurs.
If this parameter is not explicitly specified, the behavior depends on the ALGO (Algorithm) parameter setting.
FILI_REF
Specifies the name of the file that contains the reference raster data representing the area before change occurs.
DBIC_REF
Specifies the input image channels representing the area before change occurs.
If this parameter is not explicitly specified, the behavior depends on the ALGO (Algorithm) parameter setting.
FILO
Specifies the name of the output file that will be created. The file must not already exist. The output file's georefencing will be based on the reference file, but its extents will be the overlap area of the two input data sets. See the Details sections for notes about the exact content of the output file.
ALGO
Specifies the algorithm used for automated change detection.
OPERTYPE
Specifies the direction of change to be detected, unless ALGO (Algorithm) is set to COMBINE, in which case this parameter is ignored.
ASENSOR
Specifies the name of the sensor used to capture the input images.
This parameter is ignored unless ALGO is TCGNDIFF or TCSBDIFF.
To use either of the tasseled cap based change detection algorithms, the sensor must be known. Identifying information can either exist in metadata or be specified explicitly using this parameter.
Change detection is typically done between two images from the same sensor. It is possible, however, to use images from two sensors, provided the images are spatially comparable. You may specify two sensors by separating the names with a comma and space; for example, "Landsat-5 MSS, Landsat-4 MSS". When two sensors are specified, the first entry is applied to the new image; the second is applied to the reference image.
If this parameter is not specified, the function checks for CollectorType, PlatformName, PlatformNumber, and SensorModelName metadata tags at the file level.
When sensor information is required, if this parameter is not specified and the necessary tags are not found in the metadata, an error is generated.
MASK
Optionally, specifies the areas of the data to be processed. If this parameter is specified, only pixels within the mask area are processed; all other pixels in the output will be set to -3.4E38 and defined as NoData. If the Algorithm parameter is specified as Combine, however, the NoData values in the input channels are preserved. If this parameter is not specified, the entire overlapping region is processed.
You can define these areas using three types of mask boundaries: window, bitmap, and vector.
For a window mask, define a rectangular area by specifying a starting pixel (Xoffset) and line (Yoffset) reference, and a window size (Xsize and Ysize).
For a bitmap mask, specify the number of the bitmap segment that you want to use. All the pixels within the specified segment having a pixel value of 1 define the area where input data must exist to be processed.
For a vector mask, specify the number of the vector segment that you want to use as a mask. If the segment is a polygon layer, the input data is clipped along the polygon boundary. If the segment is not a polygon layer, the extents of the shapes in the segment are used to define the mask area.
If you specify a MASK but not a MASKFILE, the MASK is obtained from the input file.
MASKFILE
Specifies the name of the file containing the MASK.
If you do not specify a MASK, this parameter is ignored. If you specify a MASK but not a MASKFILE, CHDETOP obtains the MASK from the input file.
FTYPE
Specifies the output file format type, represented by a three- or four-letter code. The format type must be a GDB-recognized file type.
Supported file format codes include:
For a complete list of GDB-recognized file types and their codes, see the GDB file formats section of the CATALYST Professional online Help.
FOPTIONS
Specifies the file creation options to be applied when creating the output file. These are specific to the file format; in each case, the default of no options is allowed. FOPTIONS can be used to specify the compression schemes, file format subtypes, and other information.
Different options are available for different file types (see the FTYPE parameter). The options are described in the 'GDB file formats' section of the CATALYST Professional online Help.
MONITOR
The program progress can be monitored by printing the percentage of processing completed. A system parameter, MONITOR, controls this activity.
Available options are:
| Back to top |
CHDETOP automatically detects changes between two specified raster images (new and reference). The two input rasters must overlap, align at the pixel level and have the same spatial resolution. They can have different extents and the output will cover the spatial intersection of the two input rasters. The two files should be co-registered and radiometrically normalized.
The same number of channels must be processed from both the input new and reference images. When channels are explicitly specified for DBIC (InputNew), the corresponding channels must be explicitly specified through DBIC_REF (InputRef) or vice versa. When input channels are not explicitly specified, the automatic behavior depends on the setting for the ALGO (Algorithm) parameter. If ALGO (Algorithm) is specified as COMBINE, MAGDIFF (Magnitude Difference), CHANDIFF (Channel Difference), or INTENRATIO (Intensity Ratio), all the channels in the input files are automatically used unless specifically defined. When using either of the tasseled cap based algorithms, however, the appropriate input channels are automatically determined based on the metadata of the input files. In particular, the input files must contain MINWAVELENGTH and MAXWAVELENGTH metadata tags at the channel level to properly associate each channel with the correct band. If this metadata is not present (and the channels are not explicitly specified and ALGO is TCGNDIFF or TCSBDIFF), an error is generated.
When using TCGNDIFF (Tassel Cap Greenness Difference) or TCSBDIFF (Tassel Cap Brightness Difference), there must be four input channels for Landsat-4/5 MSS, IKONOS, and QUICKBIRD data, and six channels for Landsat-4/5 TM, Landsat-7 ETM+ data. Furthermore, for the tasseled cap calculations to have meaning when specifying channels explicitly, you must specify them in increasing band order.
Intensity Ratio (INTENRATIO): the output will consist of four channels. The first channel is the normalized intensity for the new image. The second channel is the normalized intensity for the reference image. The third channel is the absolute value of the intensity ratio (written in decibels) between the new and reference intensity. The fourth channel stores the normalized change, as percentiles.
The sign of the percentiles (+ or -) is dependent on the specified OPERTYPE (Difference detection algorithm) string. If OPERTYPE is set to POS, pixels that were greater in the input than in the reference file are set to positive (+). If OPERTYPE is set to NEG, pixels that were greater in the input than in the reference are set to negative (-). If OPERTYPE is set to ABS, all values are between 0 and 100%.
| Back to top |
EASI>FILI = "after.tif"
EASI>DBIC = 1,2,3
EASI>FILI_REF = "before.tif"
EASI>DBIC_REF = 1,2,3
EASI>FILO = "test1.pix"
EASI>ALGO = "COMB"
EASI>OPERTYPE =
EASI>ASENSOR =
EASI>MASK =
EASI>MASKFILE =
EASI>FTYPE =
EASI>FOPTIONS =
EASI>RUN CHDETOP
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.