Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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);
}