Commit a31c20227ca24586036896b3bcad283cdcff7e5b
1 parent
a0e864ec
Changed MatchProbability crossModality key to fit sigset convention
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/plugins/quality.cpp
| ... | ... | @@ -173,7 +173,7 @@ class MatchProbabilityDistance : public Distance |
| 173 | 173 | for (int j=0; j<i; j++) { |
| 174 | 174 | const float score = matrixOutput.data()->data.at<float>(i, j); |
| 175 | 175 | if (score == -std::numeric_limits<float>::max()) continue; |
| 176 | - if (crossModality) if(src[i].file.get<QString>("Modality") == src[j].file.get<QString>("Modality")) continue; | |
| 176 | + if (crossModality) if(src[i].file.get<QString>("MODALITY") == src[j].file.get<QString>("MODALITY")) continue; | |
| 177 | 177 | if (labels[i] == labels[j]) genuineScores.append(score); |
| 178 | 178 | else impostorScores.append(score); |
| 179 | 179 | } | ... | ... |