From 4b900de7ec96e62282d8748f95660cfb15f75449 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Tue, 30 Apr 2013 14:03:56 -0400 Subject: [PATCH] added nullOutput --- openbr/plugins/output.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+), 0 deletions(-) diff --git a/openbr/plugins/output.cpp b/openbr/plugins/output.cpp index 4ec68f0..bd426e8 100644 --- a/openbr/plugins/output.cpp +++ b/openbr/plugins/output.cpp @@ -355,6 +355,23 @@ BR_REGISTER(Output, evalOutput) /*! * \ingroup outputs + * \brief Discards the scores. + * \author Josh Klontz \cite jklontz + */ +class nullOutput : public Output +{ + Q_OBJECT + + void set(float value, int i, int j) + { + (void) value; (void) i; (void) j; + } +}; + +BR_REGISTER(Output, nullOutput) + +/*! + * \ingroup outputs * \brief Outputs highest ranked matches with scores. * \author Scott Klum \cite sklum */ -- libgit2 0.21.4