How to Average Images Using OpenCV