Commit bc2d76c095959567c54a956bc0b7483e9d627f05

Authored by Charles Otto
1 parent 5f550074

Make single template vs. gallery compare virtual

Showing 1 changed file with 1 additions and 1 deletions
openbr/openbr_plugin.h
... ... @@ -1206,7 +1206,7 @@ public:
1206 1206 static QSharedPointer<Distance> fromAlgorithm(const QString &algorithm); /*!< \brief Retrieve an algorithm's distance. */
1207 1207 virtual void train(const TemplateList &src) { (void) src; } /*!< \brief Train the distance. */
1208 1208 virtual void compare(const TemplateList &target, const TemplateList &query, Output *output) const; /*!< \brief Compare two template lists. */
1209   - QList<float> compare(const TemplateList &targets, const Template &query) const; /*!< \brief Compute the normalized distance between a template and a template list. */
  1209 + virtual QList<float> compare(const TemplateList &targets, const Template &query) const; /*!< \brief Compute the normalized distance between a template and a template list. */
1210 1210 virtual float compare(const Template &a, const Template &b) const = 0; /*!< \brief Compute the distance between two templates. */
1211 1211  
1212 1212 protected:
... ...