Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

open cv binding for c++ <> c

Hello, i have a stupdid question as i really new to c++ / c development. I am doing it now since 2 days. I managed to pass the class cv::Mat around from one c++ dll to another - great.

Now i have a c dll which expects type CvMat. From my understanding this is the c representation of the cv::Mat class. Are these two object compatible to each other - can i convert the c++ cv::Mat to a c CvMat object? I have the memory adress of the CMat object.

Hmm i hope this makes any sense. Any help on this is highly welcome.

Thank you + Greetings, Holger