Projects a disparity map into a regular elevation map
This application uses a disparity map computed from a stereo image pair to produce an elevation map on the ground area covered by the stereo pair. The needed inputs are : the disparity map, the stereo pair (in original geometry) and the epipolar deformation grids. These grids have to link the original geometry (stereo pair) and the epipolar geometry (disparity map).
This section describes in details the parameters available for this application. Table 5.51, page 602 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is DisparityMapToElevationMap.
Parameter key | Parameter type |
Parameter description |
io | Group |
Input and output data |
io.in | Input image |
Input disparity map |
io.left | Input image |
Left sensor image |
io.right | Input image |
Right sensor image |
io.lgrid | Input image |
Left Grid |
io.rgrid | Input image |
Right Grid |
io.out | Output image |
Output elevation map |
io.mask | Input image |
Disparity mask |
step | Float |
DEM step |
hmin | Float |
Minimum elevation expected |
hmax | Float |
Maximum elevation expected |
elev | Group |
Elevation management |
elev.dem | Directory |
DEM directory |
elev.geoid | Input File name |
Geoid File |
elev.default | Float |
Default elevation |
ram | Int |
Available RAM (Mb) |
inxml | XML input parameters file |
Load otb application from xml file |
outxml | XML output parameters file |
Save otb application to xml file |
|
||
|
||
|
||
|
||
|
Input and output data This group of parameters allows to set the input and output images and grids.
DEM step Spacing of the output elevation map (in meters)
Minimum elevation expected Minimum elevation expected (in meters)
Maximum elevation expected Maximum elevation expected (in meters)
Elevation management This group of parameters allows to manage elevation values. Supported formats are SRTM, DTED or any geotiff. DownloadSRTMTiles application could be a useful tool to list/download tiles related to a product.
Available RAM (Mb) Available memory for processing (in MB)
Load otb application from xml file Load otb application from xml file
Save otb application to xml file Save otb application to xml file
To run this example in command-line, use the following:
To run this example from Python, use the following code snippet:
None
This application has been written by OTB-Team.
These additional ressources can be useful for further information: