1 | initial version |
You are mixing the OpenCV C API (CvMat*) and OpenCV C++ (Mat), something you do not really want to do, at least not like this. If you want to create an image with a 1pixel extra border, its easy theres even a function to do it directly
2 | No.2 Revision |