Image processing algorithms in OpenCV