style: clang mass formatting

This commit is contained in:
Constrat
2025-04-17 09:32:58 +02:00
parent 4761f1690e
commit f33fcc4ce5
17 changed files with 72 additions and 76 deletions

View File

@@ -191,7 +191,7 @@ std::vector<Matcher::RawResult> Matcher::preproc_and_match(const cv::Mat& image,
fp.convertTo(fp, CV_32S);
cv::Mat count_result;
cv::divide(2 * tp, tp + fp + tp_fn, count_result, 1, CV_32F); // 数色结果为 f1_score
cv::multiply(matched, count_result, matched); // 最终结果是数色和模板匹配的点积
cv::multiply(matched, count_result, matched); // 最终结果是数色和模板匹配的点积
}
results.emplace_back(RawResult { .matched = matched, .templ = templ, .templ_name = templ_name });
}