H
H
Horoko2015-09-21 16:04:39
WPF
Horoko, 2015-09-21 16:04:39

How to get depth by X,Y coordinates?

Subject. I have depthData array filled with depth values. How do I get the depth value in coordinates, let's say the center is (256,212)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-09-21
@Horoko

https://en.wikipedia.org/wiki/Z-%D0%B1%D1%83%D1%84...
the length of the depthData array should be equal to the width multiplied by the height.
ps I didn't work with kinect, so I could be wrong, but as far as I remember it works exactly on this principle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question