Confusion between OpenCv4Android and C++ data types
I am trying to write some applications using OpenCv4Android for Android devices. Earlier, i was using Android NDK and C++ native codes. But that technique wasn't much lucid. So i switched over to latest Java API coming along with OpenCV 2.4.4 version.
I was able to write simple programs and run samples. But, while i tried to write some codes for advanced problems like - Model POSE estimation, Camera calibration routines etc, I came across this very strange confusion. Some of the data types whose names are very intuitive in C++ API doesn't really fit in in their Java counterpart. Hence, I am facing terrible difficulty to port my functionality from C++ to Java. I am facing utter confusion in these functions
- Point2f (in C++ ) - MatOfPoint2f (in Java)
- Point3f (in C++) - MatOfPoint3f (in Java)
- Point2 (in Java)
- Point3 (in Java)
Please help me understand the terms used in OpenCV Java and its analogy with C++.
Also, please suggest me some reference where, clear and crisp description of these terms are given (i tried watching the help provided along, but it didn't help me much, as it was somewhat similar for both C++ and Java).
just a guess in the blind (I haevn't used the java-api so far): does MatOfPoint2i and MatOfPoint3i work for Point2 and Point3, respectively?