OpenCV - IplImage

Simplicity picture Simplicity · Mar 4, 2011 · Viewed 26.5k times · Source

What is IplImage in OpenCV? Can you just explain what is meant by it as a type? When should we use it?

Thanks.

Answer

ypnos picture ypnos · Mar 4, 2011

Based on the 'c++' tag you have in your question: You should not use it, you should use cv::Mat. Every IplImage is a cv::Mat internally.

IplImage is only used in the C API. It is a kind of CvMat and holds image data. Its name originates from OpenCV's roots (Intel IPL).

It is not relevant anymore if you use the C++ API of OpenCV.