equivalent to CopyTo() for CvMat*
as OpenCv documentation mentioned , Mat::copyTo()
is using an input of type Mat.
http://docs.opencv.org/modules/core/d...
I need an equivalent function that takes an input of type CvMat*
.
please try to avoid opencv's arcane c-api. it is only around for legacy/maintenance reasons, you should write any new code in c++.
http://docs.opencv.org/modules/core/d...
Just add a Mat wrapper around the CvMat pointer and it will solve your problem, but even better, just use the C++ interface like @berak suggested.