Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the short answer is : do NOT use any of this. the c-api was deprecated in 2010, is no more maintained, and will be gone in future releases (so your code is unmaintainable, too !)

also, the c api is hidden from the c++ headers (again, on purpose !) so you would have to use headers like:

#include "opencv2/core_c.h"

but again, DON'T. you're only wasting anyone's time.