OpenCV - IplImage

前端 未结 4 2159
借酒劲吻你
借酒劲吻你 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:03

    If you are usin C++ you don´t use IplImage because this only use in a C program, (IplImage is in C API). In addition if you are usin C you need post Cv before the variables names: "CvMat *" "CvPoint " "IplImage " etc. It ´s better to use C++ code, you don´t use Cv: "Mat *" etc. but you can´t use the IplImage type, instead of IplImage you use a Mat type for example in findchessboardcorner function.

提交回复
热议问题