Timelapse video generation
AssigneeAdobe Inc.
InventorsNipun Jindal, Tanya Jindal, Pramendra Rathi
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure include obtaining an input video depicting a change to an image, wherein the input video has a first aspect ratio. Some embodiments compute a cost function for a frame of the input video based on a location of the change. A modified frame corresponding to the frame of the input video is generated based on the cost function. In some examples, the modified frame has a second aspect ratio different from the first aspect ratio. Then, an output video including the modified frame is generated and the output video has the second aspect ratio.
Claims20
A method comprising:
- obtaining an input video depicting a change to an image, wherein the input video has a first aspect ratio;
- computing a cost function for a frame of the input video based on a relation between a location of the change and a position of a cropping window for the frame, wherein the cropping window has a second aspect ratio different from the first aspect ratio;
- generating a modified frame corresponding to the frame of the input video based on the cost function and the position of the cropping window for the frame, wherein the modified frame has the second aspect ratio;
- and
- generating an output video including the modified frame, wherein the output video has the second aspect ratio.
An apparatus comprising:
- at least one processor;
- at least one memory including instructions executable by the at least one processor;
- an optimization model comprising parameters stored in the at least one memory and configured to compute a cost function for a frame of an input video based on a relation between a location of a change to an image and a position of a cropping window for the frame, wherein the input video has a first aspect ratio and depicts the change to the image, and wherein the cropping window has a second aspect ratio different from the first aspect ratio;
- a frame editing component comprising parameters stored in the at least one memory and configured to generate a modified frame corresponding to the frame of the input video based on the cost function and the position of the cropping window for the frame, wherein the modified frame has the second aspect ratio;
- and
- a video generation component comprising parameters stored in the at least one memory and configured to generate an output video including the modified frame, wherein the output video has the second aspect ratio.
A non-transitory computer readable medium storing code for video processing, the code comprising instructions executable by at least one processor to:
- obtain an input video depicting a change to an image, wherein the input video has a first aspect ratio;
- compute a cost function for a frame of the input video based on a relation between a location of the change and a position of a cropping window for the frame, wherein the cropping window has a second aspect ratio different from the first aspect ratio;
- generate a modified frame corresponding to the frame of the input video based on the cost function and the position of the cropping window for the frame, wherein the modified frame has the second aspect ratio;
- and
- generate an output video including the modified frame, wherein the output video has the second aspect ratio.
Dependencies are inferred from the claim text.