Commit 9033d5af07462186896954560fdbce7342bfa275
1 parent
f7368019
Removed matchprob comment
Showing
2 changed files
with
3 additions
and
4 deletions
openbr/core/fuse.cpp
openbr/plugins/quality.cpp
| ... | ... | @@ -181,9 +181,9 @@ class MatchProbabilityDistance : public Distance |
| 181 | 181 | float compare(const Template &target, const Template &query) const |
| 182 | 182 | { |
| 183 | 183 | float rawScore = distance->compare(target, query); |
| 184 | - return -log(rawScore+1); | |
| 185 | - //if (rawScore == -std::numeric_limits<float>::max()) return rawScore; | |
| 186 | - //return mp(rawScore, gaussian); | |
| 184 | + //return -log(rawScore+1); | |
| 185 | + if (rawScore == -std::numeric_limits<float>::max()) return rawScore; | |
| 186 | + return mp(rawScore, gaussian); | |
| 187 | 187 | } |
| 188 | 188 | |
| 189 | 189 | void store(QDataStream &stream) const | ... | ... |