First time here? Check out the FAQ!
answered 2012-12-20 01:35:59 -0600
You can use mean function in C++ and Core.mean() from Java. It is native OpenCV function and it is rather faster then individual pixel access from Java code.