English

Endless Loops: Detecting and Animating Periodic Patterns in Still Images

Computer Vision and Pattern Recognition 2021-05-21 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2105.09374,
  title  = {Endless Loops: Detecting and Animating Periodic Patterns in Still Images},
  author = {Tavi Halperin and Hanit Hakim and Orestis Vantzos and Gershon Hochman and Netai Benaim and Lior Sassy and Michael Kupchik and Ofir Bibi and Ohad Fried},
  journal= {arXiv preprint arXiv:2105.09374},
  year   = {2021}
}

Comments

SIGGRAPH 2021. Project page: https://pub.res.lightricks.com/endless-loops/ . Video: https://youtu.be/8ZYUvxWuD2Y

R2 v1 2026-06-24T02:16:41.343Z