Iterated function system

From HandWiki
Sierpinski triangle created using IFS (colored to illustrate self-similar structure)
Colored IFS designed using Apophysis software and rendered by the Electric Sheep.

In mathematics, iterated function systems (IFSs) are a method of constructing fractals; the resulting fractals are often self-similar. IFS fractals are more related to set theory than fractal geometry.[1] They were introduced in 1981.

IFS fractals, as they are normally called, can be of any number of dimensions, but are commonly computed and drawn in 2D. The fractal is made up of the union of several copies of itself, each copy being transformed by a function (hence "function system"). The canonical example is the Sierpiński triangle. The functions are normally contractive, which means they bring points closer together and make shapes smaller. Hence, the shape of an IFS fractal is made up of several possibly-overlapping smaller copies of itself, each of which is also made up of copies of itself, ad infinitum. This is the source of its self-similar fractal nature.

Definition

Formally, an iterated function system is a finite set of contraction mappings on a complete metric space.[2] Symbolically,

[math]\displaystyle{ \{f_i:X\to X\mid i=1,2,\dots,N\},\ N\in\mathbb{N} }[/math]

is an iterated function system if each [math]\displaystyle{ f_i }[/math] is a contraction on the complete metric space [math]\displaystyle{ X }[/math].

Properties

Construction of an IFS by the chaos game (animated)
IFS being made with two functions.

Hutchinson showed that, for the metric space [math]\displaystyle{ \mathbb{R}^n }[/math], or more generally, for a complete metric space [math]\displaystyle{ X }[/math], such a system of functions has a unique nonempty compact (closed and bounded) fixed set S.[3] One way of constructing a fixed set is to start with an initial nonempty closed and bounded set S0 and iterate the actions of the fi, taking Sn+1 to be the union of the images of Sn under the fi; then taking S to be the closure of the limit [math]\displaystyle{ \lim_{n \rightarrow \infty} S_n }[/math]. Symbolically, the unique fixed (nonempty compact) set [math]\displaystyle{ S\subseteq X }[/math] has the property

[math]\displaystyle{ S = \overline{\bigcup_{i=1}^N f_i(S)}. }[/math]

The set S is thus the fixed set of the Hutchinson operator [math]\displaystyle{ F: 2^X\to 2^X }[/math] defined for [math]\displaystyle{ A\subseteq X }[/math] via

[math]\displaystyle{ F(A)=\overline{\bigcup_{i=1}^N f_i(A)}. }[/math]

The existence and uniqueness of S is a consequence of the contraction mapping principle, as is the fact that

[math]\displaystyle{ \lim_{n\to\infty}F^{n}(A)=S }[/math]

for any nonempty compact set [math]\displaystyle{ A }[/math] in [math]\displaystyle{ X }[/math]. (For contractive IFS this convergence takes place even for any nonempty closed bounded set [math]\displaystyle{ A }[/math]). Random elements arbitrarily close to S may be obtained by the "chaos game," described below.

Recently it was shown that the IFSs of non-contractive type (i.e. composed of maps that are not contractions with respect to any topologically equivalent metric in X) can yield attractors. These arise naturally in projective spaces, though classical irrational rotation on the circle can be adapted too.[4]

The collection of functions [math]\displaystyle{ f_i }[/math] generates a monoid under composition. If there are only two such functions, the monoid can be visualized as a binary tree, where, at each node of the tree, one may compose with the one or the other function (i.e. take the left or the right branch). In general, if there are k functions, then one may visualize the monoid as a full k-ary tree, also known as a Cayley tree.

Constructions

Barnsley's fern, an early IFS
Menger sponge, a 3-Dimensional IFS.
IFS "tree" constructed with non-linear function Julia
HERBO avecTige.png


Sometimes each function [math]\displaystyle{ f_i }[/math] is required to be a linear, or more generally an affine, transformation, and hence represented by a matrix. However, IFSs may also be built from non-linear functions, including projective transformations and Möbius transformations. The Fractal flame is an example of an IFS with nonlinear functions.

The most common algorithm to compute IFS fractals is called the "chaos game". It consists of picking a random point in the plane, then iteratively applying one of the functions chosen at random from the function system to transform the point to get a next point. An alternative algorithm is to generate each possible sequence of functions up to a given maximum length, and then to plot the results of applying each of these sequences of functions to an initial point or shape.

Each of these algorithms provides a global construction which generates points distributed across the whole fractal. If a small area of the fractal is being drawn, many of these points will fall outside of the screen boundaries. This makes zooming into an IFS construction drawn in this manner impractical.

Although the theory of IFS requires each function to be contractive, in practice software that implements IFS only require that the whole system be contractive on average.[5]

Partitioned iterated function systems

PIFS (partitioned iterated function systems), also called local iterated function systems,[6] give surprisingly good image compression, even for photographs that don't seem to have the kinds of self-similar structure shown by simple IFS fractals.[7]

The inverse problem

Main page: Fractal compression

Very fast algorithms exist to generate an image from a set of IFS or PIFS parameters. It is faster and requires much less storage space to store a description of how it was created, transmit that description to a destination device, and regenerate that image anew on the destination device, than to store and transmit the color of each pixel in the image.[6]

The inverse problem is more difficult: given some original arbitrary digital image such as a digital photograph, try to find a set of IFS parameters which, when evaluated by iteration, produces another image visually similar to the original. In 1989, Arnaud Jacquin presented a solution to a restricted form of the inverse problem using only PIFS; the general form of the inverse problem remains unsolved.[8][9][6]

As of 1995, all fractal compression software is based on Jacquin's approach.[9]

Examples

The diagram shows the construction on an IFS from two affine functions. The functions are represented by their effect on the bi-unit square (the function transforms the outlined square into the shaded square). The combination of the two functions forms the Hutchinson operator. Three iterations of the operator are shown, and then the final image is of the fixed point, the final fractal.

Early examples of fractals which may be generated by an IFS include the Cantor set, first described in 1884; and de Rham curves, a type of self-similar curve described by Georges de Rham in 1957.

History

IFSs were conceived in their present form by John E. Hutchinson in 1981[3] and popularized by Michael Barnsley's book Fractals Everywhere.

IFSs provide models for certain plants, leaves, and ferns, by virtue of the self-similarity which often occurs in branching structures in nature.
—Michael Barnsley et al.[10]

See also

Notes

  1. Zobrist, George Winston; Chaman Sabharwal (1992). Progress in Computer Graphics: Volume 1. Intellect Books. p. 135. ISBN 9780893916510. https://play.google.com/store/books/details?id=Ai6Qo0qoE9EC. Retrieved 7 May 2017. 
  2. Michael Barnsley (1988). Fractals Everywhere, p.82. Academic Press, Inc. ISBN:9780120790623.
  3. 3.0 3.1 Hutchinson, John E. (1981). "Fractals and self similarity". Indiana Univ. Math. J. 30 (5): 713–747. doi:10.1512/iumj.1981.30.30055. https://maths-people.anu.edu.au/~john/Assets/Research%20Papers/fractals_self-similarity.pdf. 
  4. M. Barnsley, A. Vince, The Chaos Game on a General Iterated Function System
  5. Draves, Scott; Erik Reckase (July 2007). "The Fractal Flame Algorithm". http://flam3.com/flame.pdf. 
  6. 6.0 6.1 6.2 Bruno Lacroix. "Fractal Image Compression". 1998.
  7. Fischer, Yuval (1992-08-12). "SIGGRAPH'92 course notes - Fractal Image Compression". in Przemyslaw Prusinkiewicz. SIGGRAPH. Fractals - From Folk Art to Hyperreality. ACM SIGGRAPH. https://karczmarczuk.users.greyc.fr/matrs/Dess/RADI/Refs/fractal_paper.pdf. Retrieved 2017-06-30. 
  8. Dietmar Saupe, Raouf Hamzaoui. "A Review of the Fractal Image Compression Literature".
  9. 9.0 9.1 John Kominek. "Algorithm for Fast Fractal Image Compression". doi:10.1117/12.206368.
  10. Michael Barnsley, et al.,"V-variable fractals and superfractals". http://www.maths.anu.edu.au/~barnsley/pdfs/V-var_super_fractals.pdf.  (2.22 MB)

References

External links