MCPcopy Create free account
hub / github.com/WallBreaker2/op / CvConnectedComponents

Method CvConnectedComponents

libop/com/OpAutomation.cpp:1518–1528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1516}
1517
1518STDMETHODIMP OpAutomation::CvConnectedComponents(BSTR src_file, DOUBLE min_area, BSTR *retjson, LONG *ret) {
1519 if (!retjson || !ret) {
1520 return E_POINTER;
1521 }
1522
1523 SetOutValue(ret, 0L);
1524
1525 std::wstring s;
1526 obj.CvConnectedComponents(src_file, min_area, s, ret);
1527 return CopyOutBstr(retjson, s);
1528}
1529
1530STDMETHODIMP OpAutomation::CvFindContours(BSTR src_file, DOUBLE min_area, BSTR *retjson, LONG *ret) {
1531 if (!retjson || !ret) {

Callers 1

OpCvConnectedComponentsFunction · 0.45

Calls 2

SetOutValueFunction · 0.85
CopyOutBstrFunction · 0.85

Tested by

no test coverage detected