Stereo pair from DTM

Command line

The Stereo pair from DTM operation can be directly executed by typing the following expression on the command line of the Main window:

 

OUTSTEREOPAIR

=

StereoPairFromDTM(InputMapName, DTM)

OUTSTEREOPAIR

=

StereoPairFromDTM(InputMapName, DTM [, Look angle [, Reference height [, Look modus [, Resample modus]]]] )

where:

OUTSTEREOPAIR

The name of the output stereo pair.

StereoPairFromDTM

The command to start the Stereo pair from DTM operation.

InputMapName

The name of your input raster map (any domain) from which you wish to create a stereo pair.

DTM

The name of your DTM, i.e. a raster map with any value domain, i.e. also maps with the Image domain, the Byte domain etc. are allowed.

If you wish to use attribute values of a class map etc. as 'height' value, you can use: tablename.columnname.

Look angle

Optional parameter; specify a value between 0 and 90° for the total angle of 'projection' of the two output raster maps which together will form the output stereo pair. For more information, refer to Stereo pair from DTM : functionality.

When the Look angle is not specified, 30° will be used.

Reference height

Optional parameter to specify a height value (of your DTM) that should appear at 'ground' level of your monitor when inspecting the stereo pair. Larger height values in the DTM will appear 'outside of your monitor'; smaller height values in the DTM will appear 'inside your monitor'.

When the Reference height is not specified, a default value will be calculated from the minimum and maximum height value as found in the DTM, i.e. (min + max) / 2 .

Look modus

Left | Both | Right

Optional parameter to specify how the Look angle should be divided over the two output raster maps that will form the stereo pair.

Select either Left, Both or Right. When the Look modus is not specified, Both will be used.

Left

The left output raster map will be 'projected' using the total Look angle; the right output raster map will be 'projected' vertically.

Both

The left and the right output raster map will each be 'projected' using half the Look angle.

Right

The left output raster map will be 'projected' vertically; the right output raster map will be 'projected' using the total Look angle.

Resample modus

Fast | Accurate

Optional parameter to specify the resampling method. Select either Fast or Accurate. When the Resample modus is not specified, Fast will be used.

Fast

Parameter for quick resampling. Resampling is input-driven (the estimated position of output pixels is less accurate) and biased (nearest neighbour).

Accurate

Parameter for slow but accurate resampling. Resampling is output-driven just as the Resample operation; value maps and maps with the Color domain are resampled using bilinear interpolation; other maps are resampled using nearest neighbour.

Tip: For more information on accurate resampling methods, see Resample : algorithm.

Syntax tips:

The following objects will be created:

The two output raster maps, which together form the stereo pair, are always editable; their dependency links are automatically broken.

See also: