| Environments | PYTHON :: EASI :: MODELER |
| Batch Mode | Yes |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details |
| Back to top |
| Back to top |
| Name | Type | Length | Value range |
|---|---|---|---|
| Input: Input file name * | Raster port | 1 - | 1 - 3 |
| InputGCP: Input GCP segment | GCP port | 0 - 1 | |
| Background Data Value in Raw Layer | Integer | 0 - 3 | |
| InputMM: Math model segment | BIN port | 0 - 1 | |
| Resampling Method | String | 0 - 1 | NEAREST, BILINEAR, CUBIC Default: CUBIC |
| Chip Database * | String | 1 - | |
| Chip Sensor Type | String | 0 - 1 | |
| Chip Date | String | 0 - 1 | |
| Chip Size | Integer | 0 - 2 | 64,64 - 256,256 Default: 64,64 |
| Back to top |
Input: Input file name
Specifies the PCIDSK file that contains the raw input image for processing.
InputGCP: Input GCP segment
Specifies the Ground Control Point segment or layer number in the input raw image from which to extract chips.
If empty, this parameter uses the last segment in the input file.
Background Data Value in Raw Layer
Specifies the background, or no-data value, of the input file.
If empty, all pixels are considered as valid data. Selected chips contain no background pixels.
In some cases, chips must be rejected; for example, if the center of a chip is located on a background value, or if a chip contains more than 50 percent background value.
InputMM: Math model segment
Specifies the math model segment or layer that contains a math model (any type) for the input image. This value is used as the approximate position of the image for creating the chips.
If empty, this parameter uses the last math model segment in the input file.
Resampling Method
Specifies the type of resampling method that is used.
Resampling extracts and interpolates the gray levels from the original pixel locations to corrected locations.
Three resampling modes are supported.
The default value is CUBIC.
Chip Database
Specifies the name of the chip database in which to store extracted chips. If the specified file already exists, new chips are appended to it; otherwise, a new .cdb file is created.
Chip Sensor Type
Specifies the sensor origin of the newly created chips; for example "Spot".
This is a free-format sensor name that is used elsewhere to identify chips to match with other features. The sensor name is limited to 16 characters.
Chip Date
Specifies the acquisition date of the geocoded file.
A regular expression for chip dates (ddmmmyyyy) is acceptable. This information may be used elsewhere to identify chips matching a specific time period.
Chip Size
Specifies the size of each extracted chip, in pixels x lines. The minimum chip size is 64x64; this is the default value. The maximum chip size is 256x256.
| Back to top |
RAW2CHIP automatically extracts chips from raw image files containing Ground Control Point (GCP) segments and stores them in a chip database.
The function collects information from the GCPs (XYZ, ID, pixel and line location, and projection system) and the raw image that corresponds to a feature, and outputs to a chip database that contains chips for all the GCPs in the specified segment.
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.