OpenCV hole filling algorithm engineering and code