Ask Your Question

Revision history [back]

Implementing and integrating custom data structures with OpenCV

Hi.

I want to implement a custom data structure - circular buffer with a maximum size. I would use a fixed amount of memory. However it would begin at an arbitrary position and wrap around at the end, so that the memory access would not be linear. Is there a way to integrate such a data structure into OpenCv, so that it can be used with many of its useful functions?

Regards,