Controllable Animation of Fluid Elements in Still Images
Aniruddha Mahapatra, Kuldeep Kulkarni
Abstract
We propose a method to interactively control the animation of fluid elements in still images to generate cinemagraphs. Specifically, we focus on the animation of fluid elements like water, smoke, fire, which have the properties of repeating textures and continuous fluid motion. Taking inspiration from prior works, we represent the motion of such fluid elements in the image in the form of a constant 2D optical flow map. To this end, we allow the user to provide any number of arrow directions and their associated speeds along with a mask of the regions the user wants to animate. The user-provided input arrow directions, their corresponding speed values, and the mask are then converted into a dense flow map representing a constant optical flow map (F <inf xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">D</inf> ). We observe that F <inf xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">D</inf> , obtained using simple exponential operations can closely approximate the plausible motion of elements in the image. We further refine computed dense optical flow map F <inf xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">D</inf> using a generative-adversarial network (GAN) to obtain a more realistic flow map. We devise a novel UNet based architecture to autoregressively generate future frames using the refined optical flow map by forward-warping the input image features at different resolutions. We conduct extensive experiments on a publicly available dataset and show that our method is superior to the baselines in terms of qualitative and quantitative metrics. In addition, we show the qualitative animations of the objects in directions that did not exist in the training set and provide a way to synthesize videos that otherwise would not exist in the real world. Project url: https://controllable-cinemagraphs.github.io/
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 3dd30ac7-eee2-41b6-ba46-14266d1cc827Cited by top-tier papers18
- Motion-I2V: Consistent and Controllable Image-to-Video Generation with Explicit Motion ModelingXiaoyu Shi, Zhaoyang Huang, Fu-Yun Wang, Weikang Bian et al.SIGGRAPH 2024 · 66 citations
- TRIP: Temporal Residual Learning with Image Noise Prior for Image-to-Video Diffusion ModelsZhongwei Zhang, Fuchen Long, Yingwei Pan, Zhaofan Qiu et al.CVPR 2024 · 19 citations
- Simulating Fluids in Real-World Still ImagesSiming Fan, Jingtan Piao, Chen Qian, Hongsheng Li et al.ICCV 2023 · 16 citations
- Automatic Animation of Hair Blowing in Still Portrait PhotosWenpeng Xiao, Wentao Liu, Yitong Wang, Bernard Ghanem et al.ICCV 2023 · 15 citations
- Make-It-4D: Synthesizing a Consistent Long-Term Dynamic Scene Video from a Single ImageLiao Shen, Xingyi Li, Huiqiang Sun, Juewen Peng et al.ACM MM 2023 · 15 citations
Builds on10
- Improved Conditional VRNNs for Video PredictionLluís Castrejón, Nicolas Ballas, Aaron C. CourvilleICCV 2019 · 177 citations
- Stochastic Latent Residual Video PredictionJean-Yves Franceschi, Edouard Delasalles, Mickaël Chen, Sylvain Lamprier et al.ICML 2020 · 166 citations
- iPOKE: Poking a Still Image for Controlled Stochastic Video SynthesisAndreas Blattmann, Timo Milbich, Michael Dorkenwald, Björn OmmerICCV 2021 · 50 citations
- Endless loops: detecting and animating periodic patterns in still imagesTavi Halperin, Hanit Hakim, Orestis Vantzos, Gershon Hochman et al.SIGGRAPH 2021 · 14 citations
- Softmax Splatting for Video Frame InterpolationSimon Niklaus, Feng LiuCVPR 2020
Related papers
- StyleCineGAN: Landscape Cinemagraph Generation Using a Pre-trained StyleGANJongwoo Choi, Kwanggyoon Seo, Amirsaman Ashtari, Junyong NohCVPR 2024
- Learning meaningful controls for fluidsMengyu Chu, Nils Thuerey, Hans-Peter Seidel, Christian Theobalt et al.SIGGRAPH 2021 · 22 citations
- Blowing in the Wind: CycleNet for Human Cinemagraphs from Still ImagesHugo Bertiche, Niloy J. Mitra, Kuldeep Kulkarni, Chun-Hao Paul Huang et al.CVPR 2023
- AnimateAnything: Consistent and Controllable Animation for Video GenerationGuojun Lei, Chi Wang, Rong Zhang, Yikai Wang et al.CVPR 2025
- LoopGaussian: Creating 3D Cinemagraph with Multi-view Images via Eulerian Motion FieldJiyang Li, Lechao Cheng, Zhangye Wang, Tingting Mu et al.ACM MM 2024 · 4 citations
