| Environments | PYTHON :: EASI :: MODELER |
| Batch Mode | Yes |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Related |
| Back to top |
| Back to top |
| Name | Type | Length | Value range |
|---|---|---|---|
| Input: Input raster channel(s) | Raster port | 0 - 1024 | |
| InputMM: Input math-model segment | BIN port port | 0 - 1 | |
| Raster input window | Integer | 0 - 4 | XOff, YOff, XSize, YSize |
| RADIODIF | String | 0 - | Default: LOW |
| Output Background | Float | 0 - 1 | Default: 0 |
| Automatic Edge Clipping | Integer | 0 - 1 | 0 - 49 Default: 0 |
| Output Projection | String | 0 - 1 | |
| Horizontal Pixel Size * | String | 1 - 1 | |
| BYPXSZ | String | 0 - 1 | |
| Tile Positioning Transformation | String | 0 - | |
| InputDEM: Input elevation channel | DEM port | 0 - 1 | |
| Background Elevation Value | Float | 0 - 1 | |
| Elevation Reference | String | 0 - | MSL | ELLIPS | MATHMODEL |
| Elevation Units | String | 0 - 1 | METER | FEET | US_FEET |
| Elevation Offset and Scale | Float | 0 - 2 | |
| Building Model Error | Integer | 0 - 1 | 0 - Default: 1 |
| InputDBM: Input-vector layer | DBM port | 0 - 1 | |
| DBM Elevation Reference | String | 0 - | MSL | ELLIPS | MATHMODEL Default: MSL |
| DBM Elevation Units | String | 0 - 1 | METER | FEET | US_FEET Default: METER |
| DBM Elevation Offset and Scale | Float | 0 - 2 | Default: 0.0,1.0 |
| Resample Mode | String | 0 - | Default: CUBIC |
| ALGO | String | 0 - | See Parameter Details. Default: OCCLUDE |
| Back to top |
Input: Input raster channel(s)
The channel or channels to process in the input file.
Each channel must contain the same data type. If no value is specified for this parameter, all of the channels in the source file will be processed.
InputMM: Input math-model segment
The math-model segment of the input raw image to use in the orthorectification process. All math-model types are supported.
If this parameter is not specified, the last model segment of the input file is used.
This parameter can be overridden by a corresponding value in the MFILE text file.
Raster input window
The raster window (Xoffset, Yoffset, Xsize, Ysize) of data to read from the input channels.
If no value is specified for this parameter, the entire image is processed. XOff, YOff define the upper-left starting pixel coordinates of the window. XSize is the number of pixels that define the window width. YSize is the number of lines that define the window height.
RADIODIF
The allowable extent of radiometric difference between a candidate image and the current image for it to be considered for occlusion recovery.
This parameter can be overridden by an entry in the MFILE.
Output Background
The background (NoData) value to use for ortho pixels that are not populated. Each channel is set to the same background value. The background value provided is truncated to the range allowed by the source image data type.
Automatic Edge Clipping
The percentage of the image that is clipped from the edges during orthorectification. Clipping is applied to each edge of the image; for example, if the value specified is 5, five percent is clipped from the left-most edge and five percent from the right-most edge). The maximum value is 49 (percent).
Edge clipping is performed after the ortho image extents (ULX, ULY, LRX, LRY) are determined, but before the tile-positioning transformation (TIPOSTRN) is applied.
Output Projection
The projection string for the output ortho image. If no value is specified for this parameter, the map units are determined automatically.
If METER or FEET is specified, the math model and DEM must be METER or FEET.
If a regular, Earth-referenced projection is specified, the math model and digital elevation model (DEM) must also use a regular projection (not necessarily the same one); neither METER nor FEET are allowed.
LCC D350 | 0 0 3.0 46.5 44.0 49.0 700000 6600000 0 0 0 0 0 0 0 0 0 -1
This parameter can specify the UTM grid-zone number and row, and Earth model, as follows:
UTM [mm] [r] [Ennn]
The Earth model can be specified for LONG/LAT (and other units except METER or FEET), as follows:
LONG/LAT [Ennn]
This parameter can specify the SPCS zone number and Earth model as follows:
SPCS [mmmm] [Ennn]
where [mmmm] is the four-digit zone number.
If the Earth model is not specified, it is assumed to be E000 (Clarke 1866).
Horizontal Pixel Size
The horizontal pixel size of the output image.
The output-pixel size is expressed in the units of the ortho coordinate system.
BYPXSZ
The vertical pixel size of the output image.
The output-pixel size is expressed in the units of the ortho coordinate system.
If no value is specified for this parameter, the value specified for the horizontal pixel size (BXPXSZ) is used.
Tile Positioning Transformation
An upper-left corner-coordinate adjustment for the orthorectified image.
This parameter allows you to generate ortho images that occur in a specific raster grid. You specify it by providing a keyword and either two or four values.
These values define the position of the corner or center relative to the specified raster grid.
Of the four values, only Stride_X is required. If not specified, Stride_Y defaults to the Stride_X value, and Ref_X, Ref_Y default to 0.
Stride_X must double an integer multiplier of the horizontal pixel size, and Stride_Y must double an interger multiplier of the vertical pixel size.
For example:
TIPOSTRN="CORNER, 20, 20, 432345.000, 5438882.000"
In the preceding example, the upper-left corner of the upper-left pixel of the image will be an even 20-unit multiple from the reference point (432345.000, 5438882.000). Depending on the distance of the tile from that point, its upper-left x-coordinate can be 432345.000, 432365.000, or any other multiple, but will never be 432346.000 nor 432355.000.
If a value is specified for this parameter, it is applied in all scenarios, whether the image-corner coordinates come from the input file (MFILE), ULX and ULY, or through automatic computation.
This parameter is optional.
InputDEM: Input elevation channel
Specifies the channel number for the input digital elevation model (DEM) elevation channel to be processed.
Background Elevation Value
The background elevation (NoData) value in the input elevation channel.
Output ortho pixels with this value are set to the value of OUTBGD (Output Background), as it is impossible to interpolate a height for these pixels.
If no value is specified for this parameter, the function checks for ELEVATION_BACKGROUND or NO_DATA_VALUE metadata tags, first at the channel level, and then at the file level. If this value is not specified or found in the metadata, the function uses the default value of -32768.
This parameter is optional.
Elevation Reference
The vertical reference for the elevation values contained in the source digital elevation model (DEM), or for the constant value of ELFACTOR, if it is used.
Elevation Units
The units of the elevation values that are stored as pixel values in the input digital elevation model (DEM), as specified either by FILEDEM or by the first entry in ELFACTOR.
Elevation Offset and Scale
If an input digital elevation model (DEM) is specified and will be used in the orthorectification (see FILEDEM), the value of this parameter is used to shift and scale the DEM pixel values to values in the units indicated by the value of ELEVUNIT (Elevation Unit).
Using this parameter, two values are specified: the first defines the offset, and the second, optionally, specifies the scale.
The conversion formula is as follows:
elevation_value = scale * (DEM_pixel_value + offset)
If no value is specified for ELFACTOR, an offset of 0.0 is applied by default, and the scale default is 1.0.
Building Model Error
The accuracy of the building models in units of ortho pixels.
This parameter is used to grow the occluded regions before they are filled in with data from neighboring images. This allows the algorithm to compensate for small inaccuracies in the elevation data set.
InputDBM: Input-vector layer
The segment number for the input digital building model (DBM) vector layer to be processed. The specified vector layer must contain three-dimensional (3-D) triangles that represent building rooftops.
DBM Elevation Reference
The vertical reference for the elevation values contained in the source digital building model (DBM), if used.
DBM Elevation Units
The units of the elevation values stored as vertex z-coordinates in the input digital building model (DBM), as specified by the value of FILEDBM.
If elevation values are specified as FEET, the conversion factor to meters is 0.3048 (corresponding to International Feet); if specified as US_FEET, the conversion factor is 1200/3937 (corresponding to U.S. Survey Feet).
DBM Elevation Offset and Scale
If an input digital building model (DBM) is specified and will be used in the orthorectification (see FILEDBM), the value of this parameter is used to shift and scale the vertex z-coordinates to values in the units indicated by the value of DBMELEVUNIT (Elevation Unit).
Using this parameter, two values are specified: the first defines the offset while the second, optionally, specifies the scale.
The conversion formula is as follows:
elevation_value = scale * (Vertex_Z_value + offset)
If no value is specified for ELFACTOR, the offset default is 0.0 and the scale default is 1.0.
Resample Mode
The resampling method to use in the orthorectifying process.
For each resampling method, the parameters MIN=[min], MAX=[max], and FILL=[NN or BGD] can be appended as a comma-delimited list. MIN and MAX define the clamp range for output pixels; this is useful when you want to keep pixel values within a certain range (for example, 1 to 2047 if 11-bit data is stored in a 16-bit file). FILL defines the behavior when the resampling window contains NoData pixels: NN directs the resampler to use the nearest-neighbor method, while BGD indicates that the output pixel will be set to the background value. By default, NN is used as the value of FILL.
ALGO
| Back to top |
TORTHO provides GPU-accelerated full orthorectification of images using digital elevation models (DTMs) and digital building models (DBMs). The output ortho images are corrected for geometric distortions due to sensor tilt and ground-surface relief, are compensated at occluded areas, and are further post-processed to fill holes and reduce color differences along seam lines.
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.