OpenCV - IplImage

前端 未结 4 2171
借酒劲吻你
借酒劲吻你 2020-12-14 09:42

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

Thanks.

4条回答
  •  不知归路
    2020-12-14 10:17

    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.

提交回复
热议问题