OpenKinect / libfreenect2

Open source drivers for the Kinect for Windows v2 device
2.08k stars 753 forks source link

How can I make the registration image retain background color pixels? #1086

Open buaazsj opened 5 years ago

buaazsj commented 5 years ago

I want to map RGB pixels to depth data. I tried to align all the rgb pixels into the depth map, comment out the lines of code in registered.cpp, and keep these backgrounds, but the actual effect is still only the foreground of the depth map, and the background still has no data. Why is there no effect?

屏幕快照 2019-08-19 10 41 21
floe commented 5 years ago

I don't quite understand what the problem is. Can you post an image?