We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I try to capture the depth data with
PImage depth = kinect.GetDepth();
For a certain x,y pixel I try to get the depth value with:
depth.loadPixels();
println(depth.pixels[x + y*width]);
but get funny high negative values.
What' s the trick to get reasonable numbers?
Answers
that sounds like you are getting a colour
https://processing.org/reference/color_datatype.html
https://forum.processing.org/two/discussion/8086/what-is-a-color-in-processing
was able to prove that, get 3 equal byte values but only for distances > 1 m and with low resolution (starts with 230 and decreases for about every 5 cm by 1. Have not found a Kinect4WinSDK function equivalent to
org.openkinect.processing.getRawDepht();