diff --git a/modules/features2d/src/bagofwords.cpp b/modules/features2d/src/bagofwords.cpp index c0b4b26096..11f8c4ba37 100644 --- a/modules/features2d/src/bagofwords.cpp +++ b/modules/features2d/src/bagofwords.cpp @@ -204,14 +204,4 @@ void BOWImgDescriptorExtractor::compute( const Mat& descriptors, Mat& imgDescrip imgDescriptor /= descriptors.rows; } -int BOWImgDescriptorExtractor::descriptorSize() const -{ - return vocabulary.empty() ? 0 : vocabulary.rows; -} - -int BOWImgDescriptorExtractor::descriptorType() const -{ - return CV_32FC1; -} - }