Implementation of Lucy-Richardson algorithm in OpenCV