DisparityΒΆ

This parameter specifies the disparity steps where the geometry information should be computed. For each disparity given in this parameter the corresponding values Distance, LeftTop, RightTop , LeftBottom, RightBottom and PixelSize will be computed.

Format

Number

A disparity value

Array

An array of disparity values. Each element must be of type Number.

Note

Either Disparity or Distance must be given as input, not both. Specifying the disparities does not work 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.