Save 1000s frames from Kinect in Image Acquisition Toolbox (IMAQ)

1 view (last 30 days)
Hello! I am using IMAQ to save and use depth information from Kinect. Everthing is going fine, but I really need to acquire a series of 1000 consecutive frames and work on them, reading the depth information.
The problem is of course that I encounter an 'out of memory' error, since the images are uncompressed and very heavy. I tried setting the Region of Interest (since I would be interested in just 1 pixel, and that would not be so heavy in itself, a few MBs) but I encounter the error all the same. It seems that IMAQ acquires the whole frame anyway, even if I just ask for 1 pixel.
If I log to disk it will compress the frame and I'll lose the depth information, right? Is there any solution to this?

Answers (1)

rajkrsaini
rajkrsaini on 27 Jul 2018
HI, please write in small chunks of frames instead of one single file.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!