arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.03051cs.CV
收藏

静态图像中流体元素的可控动画生成

Controllable Animation of Fluid Elements in Still Images

Adobe Research India(Adobe印度研究院)

Aniruddha Mahapatra, Kuldeep Kulkarni

AI总结:

本文提出一种通过用户输入箭头、速度和掩码生成恒定光流图,并用GAN细化和UNet自回归生成未来帧的方法,实现静态图像中水、烟、火等流体元素的可控动画,在公开数据集上优于基线方法。

摘要:

我们提出了一种方法,用于交互式地控制静态图像中流体元素的动画,以生成电影图(cinemagraphs)。具体来说,我们专注于水、烟、火等流体元素的动画,这些元素具有重复纹理和连续流体运动的特性。受先前工作的启发,我们将图像中此类流体元素的运动表示为恒定二维光流图的形式。为此,我们允许用户提供任意数量的箭头方向及其关联速度,以及用户希望动画化的区域掩码。用户提供的输入箭头方向、对应的速度值和掩码随后被转换为表示恒定光流图(FD)的稠密流图。我们观察到,使用简单指数运算获得的 FD 可以紧密近似图像中元素的合理运动。我们进一步使用生成对抗网络(GAN)对计算得到的稠密光流图 FD 进行细化,以获得更逼真的流图。我们设计了一种新颖的基于 UNet 的架构,通过在不同分辨率下对输入图像特征进行前向扭曲(forward-warping),利用细化后的光流图自回归地生成未来帧。我们在一个公开可用的数据集上进行了大量实验,并表明我们的方法在定性和定量指标上均优于基线方法。此外,我们展示了物体在训练集中不存在的方向上的定性动画,并提供了一种合成在现实世界中原本不存在的视频的方法。

英文摘要:

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 (FD). We observe that FD, obtained using simple exponential operations can closely approximate the plausible motion of elements in the image. We further refine computed dense optical flow map FD 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑