Method and system for generating a video frame
First Claim
1. A method for generating a video frame, comprising:
- obtaining at least two frames in a video captured by an image capture unit through a network;
calculating a first set of optical flow vectors of the at least two frames by a first algorithm;
generating a set of modified vectors according to at least one parameter;
combining the set of modified vectors and the first set of optical flow vectors to obtain a second set of optical flow vectors;
shifting one of the at least two frames according to the second set of optical flow vectors to generate a virtual image;
calculating a difference between the virtual image and the one of the at least two frames being shifted based on the second set of optical flow vectors to obtain a patched area in the virtual image, andperforming image compensation on the patched area by a second algorithm, wherein the second algorithm is an exemplar-based image inpainting (EBI) method.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a method for generating a video frame and a system thereof, including: receiving at least two frames of a video captured by an image capture unit through a network; calculating a first set of optical flow vectors of the at least two frames by a first algorithm; generating a set of modified vectors according to at least one parameter; combining the set of modified vectors and the first set of optical flow vectors to obtain a second set of optical flow vectors; and shifting one of the at least two frames according to the second set of optical flow vectors to generate a virtual image. Therefore, the present disclosure can reduce deviation caused by the latency of the network and improve user experience.
-
Citations
15 Claims
-
1. A method for generating a video frame, comprising:
-
obtaining at least two frames in a video captured by an image capture unit through a network; calculating a first set of optical flow vectors of the at least two frames by a first algorithm; generating a set of modified vectors according to at least one parameter; combining the set of modified vectors and the first set of optical flow vectors to obtain a second set of optical flow vectors; shifting one of the at least two frames according to the second set of optical flow vectors to generate a virtual image; calculating a difference between the virtual image and the one of the at least two frames being shifted based on the second set of optical flow vectors to obtain a patched area in the virtual image, and performing image compensation on the patched area by a second algorithm, wherein the second algorithm is an exemplar-based image inpainting (EBI) method. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for generating a video frame, comprising:
-
an image capture unit configured for capturing a video; and a calculation unit connected with the image capture unit through a network and configured for receiving at least two frames in the video, the calculation unit including; a modified vector generating module configured for generating a set of modified vectors based on at least one parameter; an optical flow vector generating module configured for calculating a first set of optical flow vectors of the at least two frames by a first algorithm, and combining the set of modified vectors and the first set of optical flow vectors to generate a second set of optical flow vectors; a virtual image generating module configured for shifting one of the at least two frames based on the second set of optical flow vectors to generate a virtual image; and an image compensation module configured for calculating a difference between the virtual image and the one of the at least two frames being shifted based on the second set of optical flow vectors to obtain a patched area in the virtual image, and performing image compensation on the patched area by a second algorithm, wherein the second algorithm is an exemplar-based image inpainting (EBI) method. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
Specification