Mapping Kinect Image to depth array
in
Contributed Library Questions
•
3 months ago
I'm trying to get the values from the Kinect depth image array based on a specific part of the image. I have found two ways: using get() and reading the pixel values from the image (and therefore loosing the definition of the raw depth data and making everything slower) or using iteration as explained on the image tutorials.
The problem with the second method is that everytime I need to change the sector (or it's shape) it's a mess. Is there a more efficient way?
In other words, I need to asses a specific square or circle in the depth image, but I don't want to use PImage but the raw depth data. Is there a efficient way to map one to the other?
Sorry for the broken english!
1