1 | initial version |
opencv moved to a c++ api using cv::Mat instead in 2010 already, and you should do so, too.
if you must use the outdated c-api in opencv3.0, you will have to include different headers:
#include <opencv2/core.hpp> // c++
#include <opencv2/core/core_c.h> // c
#include <opencv2/imgproc.hpp> // c++
#include <opencv2/imgproc/imgproc_c.h> // c
... and so on..
again, seriously consider re-writing your code in c++ !