From 0c4da123e9ec924cd70f5ec6751040a38f1c24b3 Mon Sep 17 00:00:00 2001 From: Mathieu Barnachon Date: Sun, 24 Nov 2013 14:33:41 +0100 Subject: [PATCH] Remove duplicate functions. --- modules/features2d/src/bagofwords.cpp | 10 ---------- 1 file changed, 10 deletions(-) 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; -} - }