From 9033d5af07462186896954560fdbce7342bfa275 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Wed, 15 May 2013 12:34:00 -0400 Subject: [PATCH] Removed matchprob comment --- openbr/core/fuse.cpp | 1 - openbr/plugins/quality.cpp | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/openbr/core/fuse.cpp b/openbr/core/fuse.cpp index fe4136b..4a91c46 100644 --- a/openbr/core/fuse.cpp +++ b/openbr/core/fuse.cpp @@ -14,7 +14,6 @@ * limitations under the License. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -#include #include #include #include diff --git a/openbr/plugins/quality.cpp b/openbr/plugins/quality.cpp index 5ebb34e..bb0c87b 100644 --- a/openbr/plugins/quality.cpp +++ b/openbr/plugins/quality.cpp @@ -181,9 +181,9 @@ class MatchProbabilityDistance : public Distance float compare(const Template &target, const Template &query) const { float rawScore = distance->compare(target, query); - return -log(rawScore+1); - //if (rawScore == -std::numeric_limits::max()) return rawScore; - //return mp(rawScore, gaussian); + //return -log(rawScore+1); + if (rawScore == -std::numeric_limits::max()) return rawScore; + return mp(rawScore, gaussian); } void store(QDataStream &stream) const -- libgit2 0.21.4