We present an algorithm for producing a seamless animated loop from a single image. The algorithm detects periodic structures, such as the windows of a building or the steps of a staircase, and generates a non-trivial displacement vector field that maps each segment of the structure onto a neighboring segment along a user- or auto-selected main direction of motion. This displacement field is used, together with suitable temporal and spatial smoothing, to warp the image and produce the frames of a continuous animation loop. Our cinemagraphs are created in under a second on a mobile device. Over 140,000 users downloaded our app and exported over 350,000 cinemagraphs. Moreover, we conducted two user studies that show that users prefer our method for creating surreal and structured cinemagraphs compared to more manual approaches and compared to previous methods.
翻译:我们提出了一个从单一图像中生成无缝动画循环的算法。算法检测周期结构,如建筑物的窗户或楼梯的阶梯,并生成一个非三角迁移矢量场,按照用户或自动选择的主要运动方向将结构的每个部分映射到相邻部分。这个移位场与适当的时间和空间平滑一起,用于扭曲图像和制作连续动画循环的框架。我们的电影作品在一个移动设备上以秒数为基础创建。超过140 000名用户下载了我们的应用程序,并出口了超过350 000部电影。此外,我们进行了两项用户研究,表明用户更喜欢我们制作超现实和结构化电影作品的方法,而比较了更多的手动方法,也比较了以往的方法。