i have question , sure has faced before. appreciate suggestions.
i working kinect's skeleton data (joint position information). kinect gives information of 20 joints in each frame need keep variable number of frames in memory (let's 2000 frame) , manipulate it, read , write on it, apply different algorithms on it.
what best method in idea keep these frames information (consider simultaneous read/write, threads ..). found far concurrency class , want add each frame concurrent vector or queue like:
concurrency::concurrent_vector<nui_skeleton_data> skeletonframequeue; skeletonframequeue.push_back(framedata);
that came sometime have runtime errors , program crashes , heap.
what think , suggest storing these data? concurrent vectors ok? secure threads? or other options ?
thanks in advance suggestions.
Comments
Post a Comment