The Stereo pair from DTM operation creates a stereo pair from an input photograph or image and a Digital Terrain Model (DTM). The input photograph or image will be displayed over the terrain. The result can be viewed in stereo.
The input photo or image is draped twice, once from the left and once from the right, with a certain angle, over the terrain and is then projected onto the plane of the reference height.
The rows of the left and the right output map are created by parallel projections (at right angles to the columns) onto these two shifted planes. Relief displacement as defined by the DTM is taken into account.
This is done row by row; any row of the input map will end up in the same row in both output maps.
Depending on the terrain height, objects in a row of the input map, are shifted in X-direction (x-parallax) in the rows of the output maps. This ensures stereo vision.
An object in a row on the specified reference height will end up in exactly the same column of a row in the output maps.
Resampling:
Tip: For more information on accurate resampling methods, see Resample : algorithm.
Note: With this operation, stereo vision is only achieved for height differences in terrain. When viewing an output stereo pair, you will not see the heights of objects such as buildings, trees, etc. because these heights are not included in the DTM.
See also: