OpenNI / OpenNI2

OpenNI2
Apache License 2.0
432 stars 892 forks source link

Registration mode and offline reconstruction point cloud #72

Open shawnshuailin opened 10 years ago

shawnshuailin commented 10 years ago

Hi guys,

I have two issues which I need your help to solve them. First, I used function setImageRegistrationMode( openni::IMAGE_REGISTRATION_DEPTH_TO_COLOR ) to calibrate depth to color, but I found the depth's size after calibrated was smaller than original and the reconstructed point cloud was shrunk as well. So if there is a function to calibrate image to depth to solve this problem?

Second, I used function convertDepthToWorld or convertWorldToDepth to realize conversion between depth and world, but it needs depth VideoStream as a parameter. Currently I want to utilize these functions in offline mode, but I can not provide VideoStream which generated during device initialization process, so does anyone know some methods to avoid this limitation and process depth and color files offline? Thanks very much!

Best,

shawn