Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No, you can do it,

Simple inherent from MatAllocator

Implement the virtual functions needed

Create a singleton instance for your allocator

Pass it to:

Mat::setDefaultAllocator()

worked for me

S

No, Yes, you can do it, redefine cv::Mat allocator !!!

Simple inherent from MatAllocator

Implement the virtual functions needed

Create a singleton instance for your allocator

Pass it to:

Mat::setDefaultAllocator()

worked for me

S S