Depth value at specific coordinate of (i,j)

Post Reply
aditya
Posts: 9
Joined: Fri May 03, 2019 3:02 pm

Depth value at specific coordinate of (i,j)

Post by aditya »

Are there any examples showing how to extract depth at a point (i,j) from the disparity map?
k.schauwecker
Posts: 62
Joined: Mon Mar 25, 2019 1:12 pm

Re: Depth value at specific coordinate of (i,j)

Post by k.schauwecker »

Hi Aditya,

you can use Reconstruct3D::projectSinglePoint() for projecting only a single point. The arguments are the disparity map and q matrix which you can get directly form the ImagePair. Here's the documentation:

https://nerian.com/support/documentation/api-doc/html/classvisiontransfer_1_1Reconstruct3D.html#aeeca79381d047ee41bb61743bdfcec04
aditya
Posts: 9
Joined: Fri May 03, 2019 3:02 pm

Re: Depth value at specific coordinate of (i,j)

Post by aditya »

Thank you for pointing me into the right direction.
Post Reply