From 36db97068c5c4eeb944dace83d6bab5cd9f51320 Mon Sep 17 00:00:00 2001 From: Ievgen Khvedchenia Date: Thu, 24 Apr 2014 22:00:37 +0100 Subject: [PATCH] Added missing operator() --- modules/features2d/include/opencv2/features2d.hpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/features2d/include/opencv2/features2d.hpp b/modules/features2d/include/opencv2/features2d.hpp index e45c17771f..b6f9e44490 100644 --- a/modules/features2d/include/opencv2/features2d.hpp +++ b/modules/features2d/include/opencv2/features2d.hpp @@ -906,10 +906,12 @@ public: AlgorithmInfo* info() const; - void operator()(InputArray image, InputArray mask, - std::vector& keypoints, - OutputArray descriptors, - bool useProvidedKeypoints) const; + // Compute the KAZE features on an image + void operator()(InputArray image, InputArray mask, std::vector& keypoints) const; + + // Compute the KAZE features and descriptors on an image + void operator()(InputArray image, InputArray mask, std::vector& keypoints, + OutputArray descriptors, bool useProvidedKeypoints = false) const; protected: void detectImpl(InputArray image, std::vector& keypoints, InputArray mask) const; @@ -938,7 +940,7 @@ public: // Compute the AKAZE features on an image void operator()(InputArray image, InputArray mask, std::vector& keypoints) const; - // Compute the BRISK features and descriptors on an image + // Compute the AKAZE features and descriptors on an image void operator()(InputArray image, InputArray mask, std::vector& keypoints, OutputArray descriptors, bool useProvidedKeypoints = false) const;