Disparity

The disparity steps where the geometry information should be computed.

For each given disparity, the corresponding values Distance, LeftTop, RightTop, LeftBottom, RightBottom and PixelSize will be computed.

Note

Either Disparity or Distance must be given as input, not both. Specifying the disparities is not supported for monocular cameras.

Note

The given disparities are interpreted as unscaled disparities (as if Binning and Scaling are both 1). If you want to use this command to compute the depth of a disparity from a disparity map, you have to scale it back accordingly. For more information about scaling of disparities see e.g. this topic.

JSON Format

Type

Any of the types listed below.

Types

Type

Description

Array

Values have the format specified by the sample item at index 0.

Number

A disparity value.