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 » Tue Oct 22, 2019 8:13 pm

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

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

Post by k.schauwecker » Wed Oct 23, 2019 6:24 am

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 » Wed Oct 23, 2019 2:09 pm

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