Abstract

This paper deals with 2D image transformations from a perspective of a 3D heterogeneous shape modeling and computer animation. Shape and image morphing techniques have attracted a lot of attention in artistic design, computer animation, and interactive and streaming applications. We present a novel method for morphing between two topologically arbitrary 2D shapes with sophisticated textures (raster color attributes) using a metamorphosis technique called space-time blending (STB) coupled with space-time transfinite interpolation. The method allows for a smooth transition between source and target objects by generating in-between shapes and associated textures without setting any correspondences between boundary points or features. The method requires no preprocessing and can be applied in 2D animation when position and topology of source and target objects are significantly different. With the conversion of given 2D shapes to signed distance fields, we have detected a number of problems with directly applying STB to them. We propose a set of novel and mathematically substantiated techniques, providing automatic control of the morphing process with STB and an algorithm of applying those techniques in combination. We illustrate our method with applications in 2D animation and interactive applications.

MSC codes

  1. metamorphosis
  2. transfinite color interpolation
  3. space-time bounded blending
  4. signed distance fields

MSC codes

  1. 65S05
  2. 51N20
  3. 68R01

Get full access to this article

View all available purchase options and get full access to this article.

Supplementary Material

Index of Supplementary Materials

Title of paper: Automatically Controlled Morphing of 2D Shapes with Textures

Authors: Alexander Tereshin, Valery Adzhiev, Oleg Fryazinov, Felix Marrington-Reeve and Alexander Pasko

File: SupplementaryMaterials1.pdf

Type: PDF

Contents: This file contains the interval estimation for the coefficient a0.

File: figure5.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 5.

File: figure8.mpg

Type: Animation

Contents: figure8.mpg -- Animated sequence of frames represented in Figure 8.

File: figure10a.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 10(a).

File: figure10b.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 10(b).

File: figure10c.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 10(c).

File: figure11a.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 11(a).

File: figure11b.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 11(b).

File: figure11c.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 11(c).

File: figure12.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 12.

File: figure13.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 13.

File: figure15.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 15.

File: figure16.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 16.

File: figure17a.mpg

Type: Animation

Contents: Animated sequemce of frames represented in Figure 17(a).

File: figure17b.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 17(b).

File: figure17c.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 17(c).

File: figure17d.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 17(d).

File: figure18.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 18.

File: figure19.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 19.

File: figure20.mpg

Type: Animation

Contents: Animated sequence of frames represented in Figure 20.

File: space-time-blending_example.mpg

Type: Animation

Contents: Additional animated sequence of frames.

File: application_example.mpg

Type: Animation

Contents: Application example animation.

References

1.
M. Alexa, D. Cohen-Or, and D. Levin, As-rigid-as-possible shape interpolation, in Proceedings of the 27th Annual Conference on Computer Graphics and Interactive Techniques (SIGGRAPH '00), ACM Press, Addison-Wesley, 2000, pp. 157--164.
2.
H. Averbuch-Elor, D. Cohen-Or, and J. Kopf, Smooth image sequences for data-driven morphing, Comput. Graph. Forum, 35 (2016), pp. 203--213.
3.
T. Beier and S. Neely, Feature-based image metamorphosis, SIGGRAPH Comput. Graph., 26 (1992), pp. 35--42.
4.
N. Burtnyk and M. Wein, Interactive skeleton techniques for enhancing motion dynamics in key frame animation, Commun. ACM, 19 (1976), pp. 564--569.
5.
Y. Chen, T. T. Georgiou, and A. Tannenbaum, Vector-valued optimal mass transport, SIAM J. Appl. Math., 78 (2018), pp. 1682--1696, https://doi.org/10.1137/17M1130897.
6.
M. Cuturi and G. Peyré, A smoothed dual approach for variational Wasserstein problems, SIAM J. Imaging Sci., 9 (2016), pp. 320--343, https://doi.org/10.1137/15M1032600.
7.
B. Dalstein, R. Ronfard, and M. van de Panne, Vector graphics animation with time-varying topology, ACM Trans. Graph., 34 (2015), pp. 145:1--145:12.
8.
P.-E. Danielsson, Euclidean distance mapping, Computer Graphics Image Process., 14 (1980), pp. 227--248.
9.
M. Eisemann, B. De Decker, M. Magnor, P. Bekaert, E. De Aguiar, N. Ahmed, C. Theobalt, and A. Sellent, Floating textures, Comput. Graph. Forum, 27 (2008), pp. 409--418.
10.
L. Gao, S.-Y. Chen, Y.-K. Lai, and S. Xia, Data-driven shape interpolation and morphing editing, Comput. Graph. Forum, 36 (2017), pp. 19--31.
11.
G. J. Grevera, Distance Transform Algorithms and Their Implementation and Evaluation, Springer, New York, 2007, pp. 33--60.
12.
S. Haker, L. Zhu, A. Tannenbaum, and S. Angenent, Optimal mass transport for registration and warping, Internat. J. Comput. Vision, 60 (2004), pp. 225--240.
13.
B. Jin and W. Geng, Correspondence specification learned from master frames for automatic inbetweening, Multimedia Tools Appl., 74 (2015), pp. 4873--4889.
14.
M. W. Jones, J. A. Baerentzen, and M. Sramek, 3D distance fields: A survey of techniques and applications, IEEE Trans. Visual. Comput. Graphics, 12 (2006), pp. 581--599.
15.
L. Kantorovich, On a problem of Monge, Uspekhi Mat. Nauk, 3 (1948), pp. 225--226.
16.
G. D. Knott, Interpolating Cubic Splines, Progr. Comput. Sci. Appl. Logic 18, Birkhäuser Basel, 2000.
17.
X. Y. Kou and S. T. Tan, Heterogeneous object modeling: A review, Comput. Aided Des., 39 (2007), pp. 284--301.
18.
S. Lee, G. Wolberg, and S. Y. Shin, Polymorph: Morphing among multiple images, IEEE Comput. Graphics Appl., 18 (1998), pp. 58--71.
19.
B. Lévy, A numerical algorithm for L_2 semi-discrete optimal transport in 3D, ESAIM Math. Model. Numer. Anal., 49 (2015), pp. 1693--1715.
20.
F. Leymarie and M. Levine, Fast raster scan distance propagation on the discrete rectangular lattice, CVGIP: Image Understanding, 55 (1992), pp. 84--94.
21.
J. Liao, R. S. Lima, D. Nehab, H. Hoppe, P. V. Sander, and J. Yu, Automating image morphing using structural similarity on a halfway domain, ACM Trans. Graph., 33 (2014), pp. 168:1--168:12.
22.
J. Maas, M. Rumpf, and S. Simon, Transport based image morphing with intensity modulation, in Scale Space and Variational Methods in Computer Vision, F. Lauze, Y. Dong, and A. B. Dahl, eds., Springer, Cham, 2017, pp. 563--577.
23.
Y. Makihara and Y. Yagi, Earth mover's morphing: Topology-free shape morphing using cluster-based EMD flows, in Computer Vision -- ACCV 2010, R. Kimmel, R. Klette, and A. Sugimoto, eds., Springer, Berlin, Heidelberg, 2011, pp. 202--215.
25.
R. E. Moore, R. B. Kearfott, and M. J. Cloud, Introduction to Interval Analysis, SIAM, Philadelphia, 2009, https://doi.org/10.1137/1.9780898717716.
26.
G. Nader and G. Guennebaud, Instant transport maps on 2D grids, ACM Trans. Graph., 37 (2018), pp. 249:1--249:13.
27.
A. Neumann, B. Alexander, and F. Neumann, Evolutionary image transition using random walks, in Computational Intelligence in Music, Sound, Art and Design, J. Correia, V. Ciesielski, and A. Liapis, eds., Springer, Cham, 2017, pp. 230--245.
28.
A. Pasko and V. Adzhiev, Function-based shape modeling: Mathematical framework and specialized language, in Automated Deduction in Geometry, F. Winkler, ed., Springer, Berlin, Heidelberg, 2004, pp. 132--160.
29.
A. Pasko, V. Adzhiev, and P. Comninos, eds., Heterogeneous Objects Modelling and Applications: Collection of Papers on Foundations and Practice, Springer-Verlag, 2008.
30.
G. I. Pasko, A. A. Pasko, and T. L. Kunii, Bounded blending for function-based shape modeling, IEEE Comput. Graphics Appl., 25 (2005), pp. 36--45.
31.
W. Regli, J. Rossignac, V. Shapiro, and V. Srinivasan, The new frontiers in computational modeling of material structures, Computer-Aided Design, 77 (2016), pp. 73--85.
32.
T. u. Rehman, G. Pryor, and A. Tannenbaum, Fast multigrid optimal mass transport for image registration and morphing, in Proceedings of the British Machine Vision Conference, N. M. Rajpoot and A. H. Bhalerao, BMVA Press, 2007, pp. 11.1--11.10.
33.
V. Rvachev, Methods of Logic Algebra in Mathematical Physics, Naukova Dumka, Kiev, Ukraine, 1973 (in Russian).
34.
V. Rvachev, T. Sheiko, V. Shapiro, and I. Tsukanov, Transfinite interpolation over implicitly defined sets, Comput. Aided Geom. Design, 18 (2001), pp. 195--220.
35.
M. Sanchez, O. Fryazinov, V. Adzhiev, P. Comninos, and A. Pasko, Space-time transfinite interpolation of volumetric material properties, IEEE Trans. Visual. Comput. Graph., 21 (2015), pp. 278--288.
36.
R. M. Smelik, T. Tutenel, R. Bidarra, and B. Benes, A survey on procedural modelling for virtual worlds, Comput. Graph. Forum, 33 (2014), pp. 31--50.
37.
A. R. Smith, Planar $2$-pass texture mapping and warping, SIGGRAPH Comput. Graph., 21 (1987), pp. 263--272.
38.
J. Solomon, F. de Goes, G. Peyré, M. Cuturi, A. Butscher, A. Nguyen, T. Du, and L. Guibas, Convolutional Wasserstein distances: Efficient optimal transportation on geometric domains, ACM Trans. Graph., 34 (2015), pp. 66:1--66:11.
39.
G. Wolberg, Image morphing: A survey, The Visual Computer, 14 (1998), pp. 360--372.
40.
L. Zhu, Y. Yang, S. Haker, and A. Tannenbaum, An image morphing technique based on optimal mass preserving mapping, Trans. Image Process., 16 (2007), pp. 1481--1495.

Information & Authors

Information

Published In

cover image SIAM Journal on Imaging Sciences
SIAM Journal on Imaging Sciences
Pages: 78 - 107
ISSN (online): 1936-4954

History

Submitted: 7 February 2019
Accepted: 24 October 2019
Published online: 4 February 2020

MSC codes

  1. metamorphosis
  2. transfinite color interpolation
  3. space-time bounded blending
  4. signed distance fields

MSC codes

  1. 65S05
  2. 51N20
  3. 68R01

Authors

Affiliations

Felix Marrington-Reeve

Metrics & Citations

Metrics

Citations

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

Media

Figures

Other

Tables

Share

Share

Copy the content Link

Share with email

Email a colleague

Share on social media