OpenCV 3.0.0 support for IPLimage format?
I change my OpenCV version from 2.4.4 to 3.0.0.
then,I can't proclaim Iplimage format.
What should I do ?
I change my OpenCV version from 2.4.4 to 3.0.0.
then,I can't proclaim Iplimage format.
What should I do ?
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++ !
Actually once you include the C++ headers, then the C headers are still automatically included afaik. However they will get removed from those C++ headers once all compatibility issues are resolved. As @berak said, staying in an old and depricated API will only yield more and more problems... before you know you will have done weeks of work and decide to move altogether so better translate it now.
Asked: 2015-01-09 01:26:57 -0600
Seen: 1,581 times
Last updated: Jan 09 '15