MCPcopy Create free account
hub / github.com/PABannier/sam3.cpp / count_fg

Function count_fg

tests/test_visual_only_compare.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29static int count_fg(const sam3_mask& m) {
30 int n = 0;
31 for (auto v : m.data) if (v > 127) n++;
32 return n;
33}
34
35static bool compare_results(const char* label,
36 const sam3_result& full_r,

Callers 1

compare_resultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected