First time here? Check out the FAQ!
answered 2017-09-20 07:16:34 -0600
well, you need at least 1 loop:
vector<Mat> img = ... Mat m(img[0].size(), img[0].type(), Scalar::all(255)); // all on "max" for (auto i:img) { cv::min(m,i,m); }