how to convert from cv::Mat to CvArr?

后端 未结 5 1387
遇见更好的自我
遇见更好的自我 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条回答
  •  旧时难觅i
    2021-01-18 07:44

    Are you sure you want to convert it? sometimes there is equivalent function that use what you have. For example cvMorphologyEx is using CvArr but morphologyEx is using cv::Mat.

提交回复
热议问题