How to check if an image is total black [closed]
Hi everyone, I'm trying to check if a threshold is empty (and so, if the result Mat is total black). I don't want to iterate each pixel and see if the total number of black pixels is equal to the total dimension of the Mat, but I'm looking for a faster way. Any suggestion? (I'm using C++)
see findNoneZero()
Thanks! Had just found it :)