0

I need some help with disparity maps.

I was wondering which are the exact units of a disparity value? Is it pixel units or mm?

Every answer would be appreciated

Pibben
  • 1,452
  • 10
  • 25
Tony
  • 1

2 Answers2

3

The disparity is in pixels. And the relation to depth, baseline and focal length is:

disparity [pixels]       focal length [pixels]
------------------   =   ---------------------
  baseline [mm]                depth [mm]
Pibben
  • 1,452
  • 10
  • 25
0

@Pibben just nailed the answer. But I would like to add that the units of baseline basically come from the calibration. If the checkerboard size is given in mm, baseline would be in mm, if its given in other units such as cm,meters, the depth is also calculated in the latter units.