• Christof Kaufmann's avatar
    Add multi-channel mask support to mean, meanStdDev and setTo · 46a668c5
    Christof Kaufmann authored
    This adds the possibility to use multi-channel masks for the functions
    cv::mean, cv::meanStdDev and the method Mat::setTo. The tests have now a
    probability to use multi-channel masks for operations that support them.
    This also includes Mat::copyTo, which supported multi-channel masks
    before, but there was no test confirming this.
    46a668c5
stat.cpp 158 KB