MCPcopy Create free account
hub / github.com/ShiqiYu/CPP / main

Function main

week15/examples/nested-enum2.cpp:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21};
22
23int main()
24{
25 Mat image(Mat::DataType::TYPE8U);
26
27 if (image.getType() == Mat::DataType::TYPE8U)
28 std::cout << "This is an 8U matrix." << std::endl;
29 else
30 std::cout << "I am not an 8U matrix." << std::endl;
31
32 return 0;
33}

Callers

nothing calls this directly

Calls 1

getTypeMethod · 0.45

Tested by

no test coverage detected