Commit 4b900de7ec96e62282d8748f95660cfb15f75449

Authored by Josh Klontz
1 parent 3176623b

added nullOutput

Showing 1 changed file with 17 additions and 0 deletions
openbr/plugins/output.cpp
... ... @@ -355,6 +355,23 @@ BR_REGISTER(Output, evalOutput)
355 355  
356 356 /*!
357 357 * \ingroup outputs
  358 + * \brief Discards the scores.
  359 + * \author Josh Klontz \cite jklontz
  360 + */
  361 +class nullOutput : public Output
  362 +{
  363 + Q_OBJECT
  364 +
  365 + void set(float value, int i, int j)
  366 + {
  367 + (void) value; (void) i; (void) j;
  368 + }
  369 +};
  370 +
  371 +BR_REGISTER(Output, nullOutput)
  372 +
  373 +/*!
  374 + * \ingroup outputs
358 375 * \brief Outputs highest ranked matches with scores.
359 376 * \author Scott Klum \cite sklum
360 377 */
... ...