Closed bowieshi closed 3 weeks ago
First, you can call this interface. Its function is to set whether the depth after D2C (depth-to-color alignment) should be scaled to the resolution of the color image. If set to false, it will not be scaled to the color resolution. When set to false, the resolution of the depth after D2C needs to be scaled to match the color resolution for proper alignment.
/**
* @brief Set whether the depth needs to be scaled after setting D2C
*
* @param enable Whether scaling is required
*/
void setDepthScaleRequire(bool enable);
config->setDepthScaleRequire(false);
Hi. I am using D2C alignment to save RGB color image and depth image to my disk. However, after alignment, the depth image will have the same size as the color image (grow from 640x576 to 1280x960). Further the depth is stored with float32, which takes up space much larger than uint8. So for single depth image it may takes up over 2.5MB while the same size color image only takes up around 300kb. This means a 1 mins video may takes up over 5GB storage. I have 2 idea to alleviate this problem:
Can I ask for some advice from you how can I storage the RGBD data in a efficient format? Thank you very much.