Image alignment and registration with OpenCV