fix for bug #2912 (DescriptorExtractor::compute Java wrapper loses native arg change)
authorAndrey Pavlenko <andrey.pavlenko@itseez.com>
Tue, 26 Mar 2013 15:31:16 +0000 (19:31 +0400)
committerAndrey Pavlenko <andrey.pavlenko@itseez.com>
Tue, 26 Mar 2013 15:31:16 +0000 (19:31 +0400)
modules/java/generator/src/cpp/features2d_manual.hpp

index 66053bc..2457a5d 100644 (file)
@@ -261,8 +261,8 @@ class CV_EXPORTS_AS(DescriptorExtractor) javaDescriptorExtractor : public Descri
 public:
 #if 0
     //DO NOT REMOVE! The block is required for sources parser
-    CV_WRAP void compute( const Mat& image, vector<KeyPoint>& keypoints, Mat& descriptors ) const;
-    CV_WRAP void compute( const vector<Mat>& images, vector<vector<KeyPoint> >& keypoints, CV_OUT vector<Mat>& descriptors ) const;
+    CV_WRAP void compute( const Mat& image, CV_IN_OUT vector<KeyPoint>& keypoints, Mat& descriptors ) const;
+    CV_WRAP void compute( const vector<Mat>& images, CV_IN_OUT vector<vector<KeyPoint> >& keypoints, CV_OUT vector<Mat>& descriptors ) const;
     CV_WRAP virtual int descriptorSize() const;
     CV_WRAP virtual int descriptorType() const;