| Environments | PYTHON :: EASI :: MODELER |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Example |
| Back to top |
| Back to top |
| Name | Type | Caption | Length | Value range |
|---|---|---|---|---|
| OEPROJ * | String | OrthoEngine project file name | 1 - 192 | |
| FILE | String | Input file name | 0 - 192 | |
| MMSEG | Integer | Output math model segment | 0 - 1 | Default: -999999999 |
| Back to top |
OEPROJ
Specifies the name of the input OrthoEngine project file containing the math model to copy.
FILE
Specifies the name of the input image file for which the math model will be copied. FILE must be contained within the OrthoEngine project specified by OEPROJ. If FILE is not specified, all images contained within the project are copied.
The FILE parameter expects a valid Image ID that can be found in the project file. If no path is specified, the working directory is used.
MMSEG
Specifies the segment to receive the copied math model. If the segment exists, overwrites the existing segment. If this parameter is not specified, CPMMSEG creates a new segment.
| Back to top |
CPMMSEG copies the math model segments of one or more files based on the computed math models contained in an OrthoEngine project file. It may either create new math model segments or overwrite existing segments. This algorithm is useful for transferring the math models from a manual OrthoEngine project to the images to be used in standalone functions where a math model is required. CPMMSEG is generally run after the OEMODEL, RSMODEL, RFMODEL, or APMODEL tasks, or from the OrthoEngine UI.
If an input file is in a format other than PCIDSK (pix) and the model segment cannot be added, CPMMSEG creates a linked pix file with the same base name as the input file, and adds the math model segment to the new file.
| Back to top |
An OrthoEngine project file named 'spotdemo.prj' contains valid math models. Export the model to every file in the project file.
EASI>OEPROJ = "spotdemo.prj" EASI>FILE = "spotleft.pix" EASI>MMSEG = EASI>REPORT = EASI>R CPMMSEG
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.