-1

I'm new to the Opencv.I have started reading the official documentation, i couldn't understand the types CvMat, mat and IplImage ? thank you for your help.

Eric
  • 19
  • What don't you understand in particular? Reread your question thoroughly, how should one know what you want to know/don't understand in particular?!? Do you wan't us to repeat the whole documentation including personal, explanatory comments here, really? – πάντα ῥεῖ Aug 06 '14 at 23:43
  • 1
    javacv is a 3rd party java wrapper around opencv's old, now deprecated c-api bindings. you might be much better off using opencv's own java wrappers (which are not using those types at all) – berak Aug 07 '14 at 04:55
  • I will refer you to this - https://docs.opencv.org/2.4/doc/tutorials/core/mat_the_basic_image_container/mat_the_basic_image_container.html – tauseef_CuriousGuy Jun 07 '18 at 10:38

1 Answers1

2

Forget JavaCV, it was a JavaCV binding to OpenCV created by Google but they no longer maintain it. OpenCV now has its own official Java binding. JavaCV now seems to be part of bytedeco.

Note that OpenCV's Java API only has a Mat, IplImage and CvMat are relics of the C API (which is basis of JavaCV) which has been deprecated in favor of the C++ API. Mat is a primary data-structure of the C++ API, hence the Java API.

In Summary, do not use JavaCV, and if you write C++, do not create new code that uses CvMat or IplImage.

Bull
  • 11,771
  • 9
  • 42
  • 53