I'm using OpenNI SDK v1 and attempting to store the alignment between rgb and depth data. In NiViewer, I enable the overlay mode with registration turned on like so:
// sets the the depth image output from the vantage point of the rgb image
g_Depth.GetAlternativeViewPointCap().SetViewPoint(g_Image);
I understand that this would give me a 1:1 pixel mapping between rgb and depth if both were recorded at the same resolution. However, for my application, I need rgb to be at 1280x1024 (high res) and depth to be at 640x480.
I'm not sure how the mapping between the depth pixels to rgb would work in this mode.