Error running my project
Hi, I have this error running my project. I suppose is an error about a file in openCV I downloaded. Is it true? Can I post all my project to see if it works , or what are eventual problems. I m new in OpenCV. Best regards
OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) in cvGetMat, file /build/buildd/opencv-2.3.1/modules/core/src/array.cpp, line 2482
terminate called after throwing an instance of 'cv::Exception'
what(): /build/buildd/opencv-2.3.1/modules/core/src/array.cpp:2482: error: (-206) Unrecognized or unsupported array type in function cvGetMat
please post your code
May be there is a problem with the type of the image that your code reads , have a look here http://opencv.willowgarage.com/documentation/cpp/reading_and_writing_images_and_video.html#cv-imread
i m going to open a new question because I can' t write all the code here now.
that message says, that some input image mat is empty. check any place in your code, where you load something, images, etc.
yes I try your code and everything is ok
so why it give me this message if is ok?
I m using ubuntu on a VM cos I have win8 as OS, so what I need to do is download the jpeg library? where do I find and use it?
I used a bmp image in the code because is always supported as is written in comments of wiki, and I see the same error. So I suppose that is an error using some openCV function . All my project's code is here: http://answers.opencv.org/question/14589/project-about-image-processing/?comment=14597#comment-14597