| 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 |
|---|---|---|---|
| InputDEM: Input elevation channel | DEM port | 0 - 1 | Default: 1 |
| Input: Image layers * | Raster port | 1 - 1024 | |
| Output: Vector-polygon layer * | Vec port | 1 - 1024 | |
| Epipolar-image-selection method | String | 0 - 1 | PAIR | MAXIMUM | ALL | OPT | DENSE | STRIPS | AUTO | TRI Default: PAIR |
| Minimum overlap (%) | Integer | 0 - 2 | 0 - 100 |
| Flight-line-break angle (deg) | Float | 0 - 1 |
| Back to top |
InputDEM: Input elevation channel
The elevation channel to prepare for editing.The default value is 1.
If any of the tags is missing or has an invalid value, processing stops, and an error message is displayed.
Input: Image layers
The raw images to process.Output: Vector-polygon layer
The vector cutlines from the input images.Epipolar-image-selection method
The method to use to form the epipolar pairs. The default isPair.
PAIR: automatically forms pairs according to the order in which the files are listed in the input folder or file. No other processing or screening of images is performed.
MAXIMUM(Maximum): for each image, a single epipolar pair is created using the image that provides the most amount of overlap. If necessary, you can use theMinimum Overlap (%)(MINPC) parameter to specify the minimum percentage of overlap required to create a pair for consideration.
ALL: for each image, epipolar pairs are generated using all images that overlap above the value specified for the Minimum Overlap (%)(MINPC) parameter.
OPT(Optimum): epipolar pairs are generated to cover the entire project area, but an attempt is made to eliminate excessive duplication. The value of the Minimum Overlap (%)(MINPC) parameter is ignored with this method. Before pairs are selected, the images are assigned to contiguous flight lines, and only pairs of images from the same flight line are considered, to eliminate side overlaps. This method is intended for processing airborne images, where the concept of flight lines is well defined.
DENSE: epipolar pairs 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 value of the Minimum Overlap (%)(MINPC) parameter is ignored with this method. Before pairs are selected, the images are assigned to contiguous flight lines, and only pairs of images from the same flight line are considered, to eliminate side overlaps. This method is intended for processing airborne images, where the concept of flight lines is well defined.
STRIPS: TheSTRIPSselection method uses the same concept as theDENSEselection method. But it groups the images into flight lines using their geographic data extents. TheSTRIPSselection method will only give good results if the flight lines are straight and parallel to each other.
AUTO: TheAUTOselection method will use the best results from theSTRIPSandDENSEselection methods. It will use the selection method that generated the fewest flight lines.
TRI(Triple Stereo): this method is designed for triple-stereo images. It assembles them into triplets of Forward, Nadir and Backward looking images. Incomplete triplets, that is, pairs are also accepted, for example Forward and Nadir, in which case the data is treated as stereo rather than tri-stereo. The values of theMinimum Overlap (%)(MINPC) and Flight-line-break angle (deg) (BREAKANG) parameters are ignored with this method.
With the Max,All, Opt(Optimum), andDensemethods, you can specify additional options with a 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 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 SSLis specified, the pairs with stereo separation lower than the provided value are not formed. If the SSLkey is not provided or SSLorSSL= by itself is specified, the limit is set at 1(one degree). The value you specify must be greater than0degrees and less than180degrees.
SSU: Stereo separation upper limit, in degrees. If SSUis specified, the pairs with stereo separation higher than the value you specify are not formed. If the SSUkey is not provided orSSU or SSU= by itself is specified, the limit is set at 140degrees. The value you specify must be greater than0degrees and less than180degrees. If bothSSLand SSUare provided,SSL must be lower than SSU.
SAR: Specifies SAR-satellite-specific parameters to use in forming SAR epipolar pairs. You specify the parameters by using single-letter codes, and they 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.
The SARkey is evaluated only for the MaxandAll selection methods. SAR images without the required metadata tags are omitted from further analysis.
If SARorSAR= by itself is specified, all of the preceding parameters must be identical for two images to form a pair (that is, the default is equivalent to SAR=NLOBPT).If you specify only a partial list, 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 formsSAR=ALL andSAR=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 percentage of minimum overlap acceptable between two images for them to be considered a valid pair. The value you specify must be between0and100.
The default value is50(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,AandB, two overlap values are calculated:A/BandB/A.Pairs are rejected when the minimum ofA/BandB/Ais less than the valueMINPC / 100. The difference between the values A/B versus B/A is larger the more the two image sizes differ.
Example Overlap Scenarios:
Flight-line-break angle (deg)
The break angle of the flight line, 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 centers is greater than the break-angle threshold, this is determined to be the end of the flight line, at which point a new one begins. The default value is22.5(22.5 degrees).
This parameter is optional.
| Back to top |
DEMEDPREP prepares data for DEM editing in theDEM Editingwindow ofCATALYST Professional Focus.
The input image files must have a math-model segment to use to create epipolar pairs or triplets. The highest-numbered math-model segment of each file is used. If an image has no model, it is removed from processing. If fewer than two images with a math model are found during pair generation, processing stops, and an error message is displayed.Incomplete triplets, that is, pairs are accepted.
If the input elevation channel was linked to the output file, the in-place edited file containing the DEM can be used in further processing. If the input elevations were copied to the output file, the edited DEM in the output file should be used instead.
DEMEDPREP exits with an error if there is no overlap between the DEM area and the final cutline polygons.The output file is still created, and can be examined for any potential problems.
Pair: automatically forms the pairs according to the order in which the files are listed in the input file names, folder, or text file. The number of generated pairs will be half of the number of images selected for processing, or one less for an odd number of images. If the available images are A, B, C, D, E, F, G, H, and I, the generated pairs will be AB, CD, EF, and GH. This selection method is intended for internal use, as in some cases it may result in gaps in the coverage of the project area.
Max:automatically forms the pairs that demonstrate the highest amount of overlapping. Use theMinimum-percentage overlap(MINPC) parameter to specify the minimumpercentage of overlap; pairs with overlaps below this percentage are not considered valid. The number of generated pairs will be equal to or slightly lower than the number of images selected for processing. If the available images are A, B, C, D, E, F, G, H, and I, the generated pairs will be AB, BC, CD, DE, EF, FG, GH, and HI, provided all pairs meet the minimum-overlap criteria.
All:automatically forms all pairs that overlap above the specified value of theMinimum-percentage overlap(MINPC) parameter. The number of generated pairs may be several times higher than the number of images selected for processing, depending on the image spatial layout and the specified value of theMinimum-percentage overlap(MINPC) parameter.
Optimum(Opt:) automatically assigns images into spatially contiguous flight lines, and within each flight line selects pairs that provide full coverage of the flight-line length, with maximum overlap within each pair. The number of generated pairs will not exceed the number of images selected for processing, and in some cases may be less than half of the number. Provided that the available images constitute two flight lines, with images A, B, C, D, E, and F in the first line, and G, H, I, and J in the second line, the generated pairs may be AB, DE, and EF for the first line, and GH and IJ for the second line. The first and last pairs of each flight line are always generated, and no pairs are created from images belonging to different flight lines.
Dense:automatically assigns images into spatially contiguous flight lines, and within each flight line selects all pairs with maximum overlap within each pair. The number of generated pairs will be the same as or slightly lower than the number of images selected for processing. Provided that the available images constitute two flight lines, with images A, B, C, D, E, and F in the first line, and G, H, I, and J in the second line, the generated pairs will be AB, BC, CD, DE, and EF for the first line, and GH, HI, and IJ for the second line. This method is similar to theMaxmethod, except the images are divided into flight lines and no pairs are created from images belonging to different flight lines.
Tri:this method is designed for tri-stereo data, such as ZY-3, Gokturk-1, and ADS.It assembles image triplets from the forward, nadir and backward views of the same area on the ground.Each image in the tri-stereo dataset must contain the metadata tag named"LookDirection"with values"forward","nadir"or"backward".In this method theMINPCandBREAKANGparameters are ignored, and the optional KEY=value pairs are not supported.
You can further refine the selection criteria by using the optional KEY=value pairs. You can use the lower and upper values of stereo separation for theMax,All, Optimum(Opt), andDensemethods. For example, to restrict theDensepair-selection method to the range of convergence angles from 20 degrees to 40 degrees, specify the value of theEpipolar-image-selection method(SELMTHD) parameter as"DENSE,SSL=20,SSU=40".
TheSARkey is specific to satellite-SAR images, and is evaluated only for theMaxand Allmethods.Typically, all of the parameters are used and, therefore, it is sufficient to specify the SAR keyword by itself, for example"MAX,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.
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.