DepthSpacePoint Structure
A 2D location in depth space.
Syntax
typedef struct _DepthSpacePoint {
float X;
float Y;
} DepthSpacePoint;
Members
- X
The X component in depth space. - Y
The Y component in depth space.
Remarks
Depth space is the term used to describe a 2D location on the depth image. Think of this as a row/column location of a pixel where x is the column and y is the row. So x=0, y=0 corresponds to the top left corner of the image and x=511, y=423 (width-1, height-1) is the bottom right corner of the image. In some cases, a z value is needed in order to map out of depth space. For these cases, simply sample the depth image at the row/column in question, and use that value (which is depth in millimeters) directly as z.
Requirements
Header: kinect.h
Library: kinect20.lib