Difference between cvMat, Mat and IpImage

opencv

Solution

`cv::Mat` is the c++ version of `cvMat`, they are identical and if you look through the code you will see that the c++ version just goes to the c code. If you use C++ use `cv::Mat`.

C doesn't have namespaces so you have the kludge of putting cv in front of each function name so it doesn't clash with other library

`IpImage` is the old Intel IPP compatible image format. You should never need to use it, but if you are working with some other old library there are function to convert between them.

Start at Welcome to opencv documentation for the new documentation

(OpenCV has been through a few re-orgs and the old websites have all stayed up confusing matters. From now on hopefully everything is under http://opencv.org/)

Problem

I'm trying to discover opencv library at the moment, but it seems a bit messy with the data structures. so there's `cv::Mat`, `cvMat` and `IpImage`, and different examples to each. I understand that there has been a migration for opencv from C to C++, and then major changes done to version 2.4. So which one of these data structure is recommended, and generally are there any documentation like an opencv programmers guide explaining the recommended data structure and how this code migration happened (I'm not asking about the code api or the tutorials page) Many thanks

Original source