| 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 image channels or layers | Raster port | 0 - 4 | |
| InputMM: Input math-model segment | BIN port | 0 - 1 | |
| OutputLeft: Output left-epipolar-image layer | Raster port | 0 - 1 | |
| OutputLeftMM: Output left-math-model layer | BIN port | 0 - 1 | |
| OutputLeftHeader: Output left-epipolar header | BIN port | 0 - 1 | |
| OutputRight: Output right-epipolar-image layer | Raster port | 0 - 1 | |
| OutputRightMM: Output right-math-model layer | BIN port | 0 - 1 | |
| OutputRightHeader: Output right-epipolar header | BIN port | 0 - 1 | |
| Input window | Integer | 0 - 4 | XOff, YOff, XSize, YSize |
| Source background options | String | 0 - | Default: File Metadata |
| Source-background values | Integer | 0 - 1024 | Default: 0 |
| Epipolar Pair Selection Method | String | 0 - 1 | PAIR | MAXIMUM | ALL | OPT | DENSE | STRIPS | AUTO | PAIR_CONT Default: PAIR |
| Minimum overlap (%) | Integer | 0 - 2 | 0 - 100 |
| Downsampling factor | Integer | 0 - 1 | Default: 1 |
| Output background | Float | 0 - 1 | Default: 0 |
| Flight line break angle | Float | 0 - 1 |
| Back to top |
Input: Input image channels or layers
The input channel list of raw images used to create epipolar images.
InputMM: Input math-model segment
The number of the segment in the input file that contains the math model for the raw images.
OutputLeft: Output left-epipolar-image layer
The output raster layer for the left epipolar image.
OutputLeftMM: Output left-math-model layer
The output math-model layer in which to store the computed model for the left image.
OutputLeftHeader: Output left-epipolar header
The output epipolar-header layer in which to store the header file for the left image.
OutputRight: Output right-epipolar-image layer
The output raster layer for the right-epipolar image.
OutputRightMM: Output right-math-model layer
The output math-model layer in which to store the computed model for the right image.
OutputRightHeader: Output right-epipolar header
The output epipolar-header layer in which to store the header file for the right image.
Input window
Specifies the raster window (x-offset, y-offset, x-size, y-size) of data to read from the input channels.
If no value is specified for this parameter, the entire image is processed. XOff and 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.
Source background options
Specifies, potentially with the Source Background Values parameter, which pixels in the source image are to be considered background (NoData) pixels. In general, if a pixel is considered NoData, EPIPOLAR processes the pixel in a specific manner.
For specific examples, see the Source Background Values parameter.
Source-background values
Epipolar Pair Selection Method
The method used to form the epipolar pairs. If no value is specified for this parameter, the Pair option is used by default.
PAIR: automatically forms pairs according to the order in which the files are listed in the input MFILE or in the input folder. No other processing or screening of images is performed.
MAXIMUM: for each image, a single stereopair is generated using the image that provides the highest amount of overlap. Use the MINPC (Minimum Overlap Percent) parameter to specify the minimum percentage of overlap required to create a pair for consideration.
ALL: for each image, stereopairs are generated using all images that overlap above the minimum percentage specified in the MINPC (Minimum Overlap Percent) parameter.
OPT: stereopairs are generated to cover the entire project area, but an attempt is made to eliminate excessive duplication. The minimum-percentage value of the MINPC parameter is ignored with this method. Before pairs are selected, the images are assigned to contiguous flightlines, and only pairs of images from the same flightline are considered, to eliminate side overlaps. The OPT selection method is intended for use in processing airborne images, where the concept of flightlines is well defined.
DENSE: stereopairs are generated to cover the entire project area, with every image used exactly twice: as a left image and a right image of adjacent pairs. The minimum-percentage value of the MINPC parameter is ignored with this method. Before pairs are selected, the images are assigned to contiguous flightlines, and only pairs of images from the same flightline are considered, to eliminate side overlaps. The DENSE selection method is intended for use in processing airborne images, where the concept of flightlines is well defined.
STRIPS: The STRIPS selection method uses the same concept as the DENSE selection method. But it groups the images into flight lines using their geographic data extents. The STRIPS selection method will only give good results if the flight lines are straight and parallel to each other.
AUTO: The AUTO selection method will use the best results from the STRIPS and DENSE selection methods. It will use the selection method that generated the fewest flight lines.
PAIR_CONT: automatically forms pairs according to the sequential order in which the files are listed in the MFILE parameter or in the input directory. The user can control the pair selection using minimum percentage overlap (MINPC). This method is intended for the automatic processing in the GXL system.
For the MAXIMUM, ALL, OPT, and DENSE methods, additional options may be specified in the form of KEY=value. Each KEY=value pair must be preceded by a comma.
The following KEYs and their values are recognized:
SSL: Stereo Separation Lower limit in degrees. Stereo separation is defined as the angle between the lines of sight from the centroid of the image-overlap area to the positions of the two cameras or satellites. If SSL is specified, the pairs with stereo separation lower than the provided value are not formed. If the SSL key is not provided or SSL or SSL= by itself is specified, the limit is set at 1 degree. The provided value must be greater than 0 and less than 180 degrees.
SSU: Stereo Separation Upper limit in degrees. If SSU is specified, the pairs with stereo separation higher than the provided value are not formed. If the SSU key is not provided or SSU or SSU= by itself is specified, the limit is set at 140 degrees. The provided value must be greater than 0 and less than 180 degrees. If both SSL and SSU are provided, SSL must be lower than SSU.
SAR: Specifies SAR-satellite-specific parameters to use in forming SAR epipolar pairs. The parameters are specified by single-letter codes, and can be provided as a contiguous string of letters that does not include the coma. The actual values are extracted from the metadata of each image. Candidate pairs are accepted if all specified SAR parameters match exactly; otherwise, the candidate pairs are rejected. If the SAR option is not provided, no SAR-specific screening is performed before forming epipolar pair candidates.
The SAR key is evaluated only for the MAXIMUM and ALL selection methods. SAR images without the required metadata tags are omitted from further analysis.
If SAR or SAR= by itself is specified, all parameters listed above must be identical for two images to form a pair (that is, the default is equivalent to SAR=NLOBPT). If only a partial list is specified, the parameters included in the list must match for the two images to form a pair, and the parameters not included in the list are ignored. Special forms SAR=ALL and SAR=NONE are also recognized. The NONE option disables all checks, but ensures that only SAR (as opposed to optical) images are used in forming pair candidates.
Minimum overlap (%)
The minimum percentage value of overlap acceptable between two images for them to be considered a valid pair. If no value is specified for this parameter, the minimum-overlap percentage defaults to 50 percent.
The first step in the pairing is to evaluate every pair to determine if the overlap is greater or equal to the value of this parameter. For each image pair, A and B, two overlap values are calculated: A/B and B/A. Pairs are rejected when the minimum of A/B and B/A is less than the value MINPC / 100. The difference between the values A/B versus B/A is larger the more the two image sizes differ.
Examples:
Downsampling factor
The downsampling interval for the created epipolar image. This parameter controls the number of pixels that are used from the raw images to generate the epipolar image. The cubic-convolution resampling is performed in converting the two images to epipolar geometry. Unless specified, one pixel is used for downsampling.
Output background
The background (NoData) value to use for epipolar pixels that are not populated. Each channel is set to the same background value. If the value specified for SAR images in decibel scaling is larger than -100.0, it is reset to -100.0. The provided background value will be truncated to the range allowed by the source-image data type.
Flight line break angle
Optionally specifies a flight line break angle, which is used to determine the end of a flight line. The vector angles between image centers are calculated , and if the vector angle between two image center is greater than the break angle threshold the flight line ends, and a new one begins. Default value is 22.5 dgrees.
| Back to top |
Epipolar images are pairs of raw images that are reprojected so that two images have a common orientation. Matching features between the images appear along a common x-axis. Epipolar pairs can be used in automatic extraction of a digital elevation model (DEM). Using epipolar images increases the speed of the correlation process and reduces the possibility of uncorrected matches.
The raw input files must have a math-model segment (MMSEG) before they can be used to create epipolar pairs. To obtain a math-model segment, export the model from CATALYST Professional OrthoEngine, or run CPMMSEG or OEMODEL.
The selection criteria can be further refined by the optional KEY=value pairs. The lower and upper values of stereo separation can be used for the MAXIMUM, ALL, OPT, and DENSE methods. For example, to restrict the DENSE pair-selection method to the range of convergence angles from 20 to 40 degrees, specify the value of the SELMTHD parameter as "DENSE,SSL=20,SSU=40".
The SAR key is specific to satellite-SAR images, and is evaluated only for the MAXIMUM and ALL methods. Typically, all of the parameters are used and, therefore, it is sufficient to specify the SAR keyword by itself, for example "MAXIMUM,SAR,SSL=5,SSU=20". The non-default settings should be used only in rare circumstances and for well-understood data, so that undesirable pairs are not formed.
For example, assume a combination of images is available from the same sensor, but with right-looking ascending orbits and left-looking descending orbits. The images can be processed with the SELMTHD parameter set to "MAXIMUM,SAR=NBPT". This will ignore the look-direction and orbit-direction values when forming the pairs, and accept all pairs with the difference in incidence angles of 1 degree of more. Note that for such pairs there may be a large difference in image orientations, and the extracted digital elevation model (DEM) may be of lower quality than expected.
In another example, assume images from two different satellites are available, and they are known to have identical polarizations and similar resolutions. Such data can be processed with the SELMTHD parameter set to "ALL,SAR=LOP,SSL=10,SSU=20". This will require the same look direction, orbit direction, and polarizations for both images, but ignore the sensor-specific platform name, beam mode, and product type. The pairs would be formed only from images with scene-center incidence angles separated by between 10 and 20 degrees.
With the Epipolar Pair Selection Method parameter, you must manually enter the pairs in the order in which the files are listed in the input folder. If overlap options are specified, EPIPOLAR reads the relevant information from the input math-model segment.
With SAMPLING (Downsampling Factor) parameter, you can specify the number of image pixels and lines to use to calculate one epipolar-image pixel. For example, the value "2" indicates that one pixel in the epipolar images is formed by combining two adjoining pixels and two adjoining lines from the raw images.
Before processing, EPIPOLAR tests the convergence angle between images. Image pairs that exhibit poor stereo convergence will not be processed. The minimum acceptable convergence angle is 1 degree, and the maximum is 140 degrees.
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.