1 | initial version |
IplImage is the original format for storing image data from the old OpenCV1.x interface which is also called the C - style interface.
Mat is the newer format from the OpenCV2.x versions and on. This is the C++ interface. Largest advantage is that you do not have to take care of pointers anymore. You do not have to deallocate memory, so you do not have to worry that the assigned memory will be locked forever. The garbage collector of the C++ interface will do the work for you :)
I suggest sticking with the newer C++ interface, since it results in much clearer and more understandable code.