System information (version)
OpenCV => 4.5.0
Operating System / Platform => MacOS
Compiler => Android Studio with ndkBuild
Detailed description
I am developing and android app, I am using openCV android sdk along with some cpp files that process some images, building with ndkBuild all of the files. Now that I updated from OpenCV-3.1-android-sdk to OpenCV-4.5.0-android-sdk I cannot find a function called cvDiv and a class called cvMat. Can you tell me the equivalent ?
I am using these includes:
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
In my cpp file was using it like this:
CvMat src = srcImg;
CvMat mask = CannyImg;
cvDiv(&src, &mask, &mask, 256);
My partial solution:
#include <opencv2/core/core_c.h>
-> for cvDiv
But what about cvMat. If I just changed it to Mat cvDiv will complain that it cannot handle that class