Difference between cvMat, Mat and IpImage

前端 未结 1 1388
清酒与你
清酒与你 2020-12-14 18:07

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 IpIma

相关标签:
1条回答
  • 2020-12-14 18:42

    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/)

    0 讨论(0)
提交回复
热议问题