integration of ECC into OpenCV