What’s the difference between CvImage and IplImage?
I’m trying to integrate OpenCV with ARToolKit, but I’m getting an error here:
CvImage *image;
The error is:
expected ‘=’,’,’,’;’,’ask’,or ‘__atrribute__’before *token
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
CvImage is a deprecated wrapper to IplImage, don’t use it. Best thing to use is cv::Mat, and if you need to interface with old code, IplImage.
If you really need to use it:
I assume you miss the legacy.hpp include. See the “legacy” module in current OpenCV.