ivan16luis / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Java bindings don't match C syntax for cvGoodFeaturesToTrack() #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The function signature for cvGoodFeaturesToTrack doesn't match between C and 
Java

In C, an array of CvPoint2D32f is supposed to be passed in for the 3rd argument 
of cvGoodFeaturesToTrack(). However, in the Java bindings this 3rd argument is 
a single CvPoint2D32f instead of an array. 

As a result, the function can't be used for it's intended purpose when using 
Java.

Original issue reported on code.google.com by teefs28...@gmail.com on 7 Feb 2012 at 3:08

GoogleCodeExporter commented 9 years ago
CvPoint2D32f is a Pointer, which is also an array in C/C++. The [] operator is 
mapped to Pointer.position(). Please read the README.txt file

Original comment by samuel.a...@gmail.com on 7 Feb 2012 at 3:16