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;