Video Completion Scheme with OpenCV
I'm trying to perform a video stabilization with opencv and c++. I have been able to perform motion estimation and compensation but there exists black areas around the edges of the video as a result.
A sample image showing side by side comparison of an original and stabilized image frame is found below
I understand that it requires that I perform video completion to extrapolate pixels onto the missing image areas but I have no idea how to go about this.
I have heard about mosaicking, motion impainting and space time video completion but I have no idea how to implement these, google searches haven't proved very useful as well. I was hoping for some help with implementing at least a link that shows a guide to carrying this out or any push in the direction to achieve this.