OpenCV 4 Computer Vision Application Programming Cookbook(Fourth Edition)
上QQ阅读APP看书,第一时间看更新

There's more...

It is also possible to use the usual C++ arithmetic operator on the cv::Mat instances or on the individual channels of cv::Mat instances. The following two subsections explain how to do this.