EPIPOLAR

Enhanced epipolar-image generation


EnvironmentsPYTHON :: EASI :: MODELER
Batch ModeYes
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Related

Back to top

Description


EPIPOLAR generates epipolar images from stereo pairs of raw images. An epipolar pair is used in automatic extraction of a digital elevation model (DEM).
Back to top

Parameters


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

Parameter descriptions

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.

Note: This parameter is particularly useful when generating epipolar images from scanned-film airphotos, as it can be used to exclude the registration marks and ancillary data printed along the edge of the image.

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.

Available options are:

For specific examples, see the Source Background Values parameter.

Source-background values

Specifies the source-background value or values when the following options are specified for the Source Background Options parameter:
Note: If specifying multiple values, use a comma-delimited list. The first value is applied to the first channel, the second value to the second channel, and so on. If fewer values are specified than the number of input channels, the last value is repeated for all remaining channels. If more values are specified than the number of input channels, the extra values are ignored.
For example:

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.

Acceptable values are:

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:

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.

Image Overlap Calculations

Examples:

Example Overlap Scenarios

CAUTION:
This parameter is ignored with some values of the SELMTHD (pair selection method) parameter.
Note: The MINPC parameter allows for two values. The second value is only used with the SELMTHD STRIPS, and is ignored for other selection methods. See the STRIPS method to understand how the first and second values are used to find epipolar candidates.

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.

CAUTION:
Use this parameter only if the value of the SELMTHD (pair selection method) parameter is OPT or DENSE.
Back to top

Details

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.

Note: This algorithm is available only in canvas mode.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.