c++opencviplimage

OpenCV - IplImage


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

Thanks.


Solution

  • 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.