how to convert from cv::Mat to CvArr?

后端 未结 5 1305
遇见更好的自我
遇见更好的自我 2021-01-18 07:35

i have passed a lot of time searching on how to convert from cv::Mat or CvMat to CvArr but with no gain ,please help me in that,thanks.

5条回答
  •  花落未央
    2021-01-18 07:58

    When I need to do that I just use :

    IplImage tmp = image;
    

    With image a Mat variable.

提交回复
热议问题