From bc2d76c095959567c54a956bc0b7483e9d627f05 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Tue, 25 Jun 2013 14:22:59 -0400 Subject: [PATCH] Make single template vs. gallery compare virtual --- openbr/openbr_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/openbr_plugin.h b/openbr/openbr_plugin.h index 981f360..759b360 100644 --- a/openbr/openbr_plugin.h +++ b/openbr/openbr_plugin.h @@ -1206,7 +1206,7 @@ public: static QSharedPointer fromAlgorithm(const QString &algorithm); /*!< \brief Retrieve an algorithm's distance. */ virtual void train(const TemplateList &src) { (void) src; } /*!< \brief Train the distance. */ virtual void compare(const TemplateList &target, const TemplateList &query, Output *output) const; /*!< \brief Compare two template lists. */ - QList compare(const TemplateList &targets, const Template &query) const; /*!< \brief Compute the normalized distance between a template and a template list. */ + virtual QList compare(const TemplateList &targets, const Template &query) const; /*!< \brief Compute the normalized distance between a template and a template list. */ virtual float compare(const Template &a, const Template &b) const = 0; /*!< \brief Compute the distance between two templates. */ protected: -- libgit2 0.21.4