Fractal Coding. CS 6723 Image Processing Fall 2013

Similar documents
Session 27: Fractals - Handout

Fractals: Self-Similarity and Fractal Dimension Math 198, Spring 2013

Hei nz-ottopeitgen. Hartmut Jürgens Dietmar Sau pe. Chaos and Fractals. New Frontiers of Science

Mathematics 350 Section 6.3 Introduction to Fractals

Fractal Geometry. Prof. Thomas Bäck Fractal Geometry 1. Natural Computing Group

Fractal Geometry. LIACS Natural Computing Group Leiden University


Fractals in Nature and Mathematics: From Simplicity to Complexity

A Review of Fractals Properties: Mathematical Approach

Fractals Week 10, Lecture 19

A TECHNOLOGY-ENHANCED FRACTAL/CHAOS COURSE. Taeil Yi University of Texas at Brownsville 80 Fort Brown Brownsville, TX

Generation of 3D Fractal Images for Mandelbrot and Julia Sets

Iterated Functions Systems and Fractal Coding

Fractals and Multi-Layer Coloring Algorithms

Fractal Image Compression

Computer Graphics (CS 543) Lecture 2c: Fractals. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Fractals: a way to represent natural objects

A Review of Image Compression Techniques

Fractal Image Coding (IFS) Nimrod Peleg Update: Mar. 2008

Computer Graphics 4731 Lecture 5: Fractals. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Complexity is around us. Part one: the chaos game

Fractals. Moreno Marzolla Dip. di Informatica Scienza e Ingegneria (DISI) Università di Bologna.

Clouds, biological growth, and coastlines are

CS 543: Computer Graphics Lecture 3 (Part I): Fractals. Emmanuel Agu

ARi. Amalgamated Research Inc. What are fractals?

Fun with Fractals and Functions. CHAMP at University of Houston March 2, 2015 Houston, Texas

Introduction to fractal geometry: Definition, concept, and applications

Exploring the Effect of Direction on Vector-Based Fractals

Scientific Calculation and Visualization

CSC 470 Computer Graphics. Fractals

Total Choas... Total Chosa

FRACTAL: A SET WHICH IS LARGER THAN THE UNIVERSE

Discovering. Algebra. An Investigative Approach. Condensed Lessons for Make-up Work

Stat 45: Our Fractal World? Topics for Today. Lecture 1: Getting Started. David Donoho Statistics Department Stanford University. Sierpinski Gaskets

Fixed Point Iterative Techniques An Application to Fractals

CGT 581 G Procedural Methods Fractals

Gentle Introduction to Fractals

ITERATED FUNCTION SYSTEMS WITH SYMMETRY IN THE HYPERBOLIC PLANE (Preprint)

Fractals & Iterative Function Systems

An Introduction to Fractals

CS 4300 Computer Graphics. Prof. Harriet Fell Fall 2012 Lecture 28 November 8, 2012

COASTLINES AND FRACTAL GEOMETRY: ESTIMATING LENGTH AND GENERATING ISLANDS. Miranda Bradshaw Dallas Pullen Math 365 Wright 5/8/12

MAADHYAM. Nurturing Gifted Minds. Printed Under Gifted Education Abhiyaan An Initiative By The Office Of Principal Scientific Advisor To The

Fractal Dimension and the Cantor Set

New Escape Time Koch Curve in Complex Plane

Discrete Dynamical Systems: A Pathway for Students to Become Enchanted with Mathematics

Fractals, Fibonacci numbers in Nature 17 mai 2015

Fun with Fractals Saturday Morning Math Group

Lecture 8: Modelling Urban Morphology:

COMPUTER ANALYSIS OF FRACTAL SETS

Procedural modeling and shadow mapping. Computer Graphics CSE 167 Lecture 15

Section 9.5. Tessellations. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

ITERATIVE OPERATIONS IN CONSTRUCTION CIRCULAR AND SQUARE FRACTAL CARPETS

Fractal Analysis. By: Mahnaz EtehadTavakol

Fractals and the Chaos Game

Study of Fractal Antennas and Characterization

Mathematics Numbers: Percentages. Science and Mathematics Education Research Group

4.3 Discovering Fractal Geometry in CAAD

In this lesson, students build fractals and track the growth of fractal measurements using tables and equations. Enduring Understanding

New Mandelbrot and Julia Sets for Transcendental Function

Fractal Compression. Related Topic Report. Henry Xiao. Queen s University. Kingston, Ontario, Canada. April 2004

Exploring Fractals through Geometry and Algebra. Kelly Deckelman Ben Eggleston Laura Mckenzie Patricia Parker-Davis Deanna Voss

Uttarkhand Technical University, J.B.Institute of Technology, Uttarakhand Technical University, Dehradun, INDIA Dehradun, INDIA Dehradun, INDIA

Copyright 2009 Pearson Education, Inc. Chapter 9 Section 7 - Slide 1 AND

CHAPTER 4 FRACTAL IMAGE COMPRESSION

Fractals. Fractals. Beautiful designs of infinite structure and complexity Qualities of Fractals:

Vector Algebra Transformations. Lecture 4

From Sierpinski Triangle to Fractal Flowers

Fractals. Materials. Pencil Paper Grid made of triangles

<The von Koch Snowflake Investigation> properties of fractals is self-similarity. It means that we can magnify them many times and after every

Construction of 3D Mandelbrot Set and Julia Set

Fractal Geometry: History and Theory. Classical Euclidean geometry cannot accurately represent the natural world; fractal geometry is

Lecture 3: Some Strange Properties of Fractal Curves

INTERNATIONAL JOURNAL OF COMPUTER ENGINEERING & TECHNOLOGY (IJCET) FRACTALS: A RESEARCH. Dr. MAMTA RANI 1, SALONI 2

Solid models and fractals

CSE 167: Lecture #17: Procedural Modeling. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Applications. 44 Stretching and Shrinking

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK

Chapel Hill Math Circle: Symmetry and Fractals

Housing Layout Design using Fractals:

CSE 167: Lecture #15: Procedural Modeling. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012

Graph Fractals. An Honors Thesis (Honrs 499) by Ben J. Kelly. Thesis Advisor. Ball State University Muncie, Indiana. May 1995

Images of some fractals

Fractals. University. 1 The approach and terminology used here are from Michael Frame s Fractal course taught for many years at Yale

Self-Similar Snowflakes with Optional Fractal Extension

Prentice Hall Mathematics: Course Correlated to: Colorado Model Content Standards and Grade Level Expectations (Grade 8)

FRACTALS AND THE SIERPINSKI TRIANGLE

The Many Lessons in Fractals

On Fractal Colouring Algorithms

Dr. Julia, meet Dr. Mandelbrot

Beautiful Repetitions

Housing Layout Design Using Fractals A Computer Tool and its Practical Use

Koch-Like Fractal Images

IJSRD - International Journal for Scientific Research & Development Vol. 4, Issue 01, 2016 ISSN (online):

Lecture 6: Fractals from Iterated Function Systems. He draweth also the mighty with his power: Job 24:22

Prentice Hall Mathematics: Pre-Algebra 2004 Correlated to: Colorado Model Content Standards and Grade Level Expectations (Grade 8)

Fractal Art based on The Butterfly Effect of Chaos Theory

Some geometries to describe nature

Chapter 12: Fractal Geometry The Koch Snowflake and Self-Similarity

A New Approach for Finding Correlation Dimension Based on Escape Time Algorithm

Transcription:

Fractal Coding CS 6723 Image Processing Fall 2013

Fractals and Image Processing The word Fractal less than 30 years by one of the history s most creative mathematician Benoit Mandelbrot Other contributors: Cantor, Hausdorff, Julia, Koch, Peano, Poincare, Sierpinski, Weierstrass, Richardson Fractal from Latin verb frangere, meaning to break or fragment

Fractal Examples Basically, a fractal is any pattern that reveals greater complexity as it is enlarged, worlds within worlds

More Fractal Examples

More Fractal Examples

More Fractal Examples

Fractal Transform Typical transform: Discrete Cosine Transform (DCT) Wavelet Transform (WT) Fractal Transform: Rather than describing the image data directly, describe a system that can generate the image. Fractal image compression offers enormous compression ratios.

Fractals and Image Processing Reference Benoit B. Mandelbrot, Michael F. Barnsley, Amaud E. Jacquin Fractals for the Classroom, Heinz-Otto Peitgen, Hartmut Jürgens, Dietmar Saupe, Springer Verlag, New York, 1992. Fractal Image Compression: Theory and Application to Digital Images, Yuval Fisher (Ed.), Springer Verlag, New York, 1995 is a collection of articles on Fractal Image Encoding. Fractal Image Encoding and Analysis: A NATO ASI Series Book, Yuval Fisher (Ed.), Springer Verlag, New York, 1996

What is a fractal? A fractal is a geometric shape which 1. is self-similar and 2. has fractional (fractal) dimension Courtesy of Mary Ann Connors, University of Massachusetts

An Introduction Fractal geometry and chaos theory are providing us with a new perspective to view the world. For centuries we've used the line as a basic building block to understand the objects around us. Chaos science uses a different geometry called fractal geometry. Fractal geometry is a new language used to describe, model and analyze complex forms found in nature.

An Introduction Traditionally Euclidean pattern appear simpler as they are magnified. For example, your home in one area, the shape looks more and more like a straight line. But fractals like bumps of broccoli, are not differentiable: the more closer you come, the more detail you see.

Examples

An Introduction A few things that fractals can model are: plants weather fluid flow geologic activity planetary orbits human body rhythms animal group behavior socioeconomic patterns music and more

An Introduction Some ideas: Broccoflower This is how nature creates a magnificent tree from a seed the size of a pea... or broccoflower

Ferns An Introduction

An Introduction Others: Trees Bushes Roots and Shoots of Plants Mountains Coastlines Clouds Galaxies The Human Brain Human Circulatory System

Geometry Euclidean Traditional (>2000 yr) Based on characteristic size of scale Suits man-made objects Describe by formula Topological dimension Fractals Modern monster (~20-25 yr) No specific size or scaling Appropriate for natural shapes (recursive) algorithms Fractal dimension

Coastline of An Island D T =1 L=? N()=? Depends on : yardstick Yardstick()->0 L= N()->

Coastline of An Island Because the roughness of the coastline does not vanish in smaller scales, i.e., it does not become smoother. This is contrast to the traditional geometrical sets For these curves 1 ) k N( for small Spain vs. Portugal Netherlands vs. Belgium 987 km 1214 km 380 449 km over 20% difference

Coastline of An Island Richardson showed that 1 N( ) k D depends on roughness lim 0 D N( ) k Higher D -> 0 Right D -> k Lower D -> k D

Fractal Dimension The D for which lim 0 D N( ) k 0 is called the fractal dimension of the curve

Fractal Dimension Fractal dimension can measure the texture and complexity of everything from coastline to mountains to storm clouds. We can now use fractals to store photographic quality images in a tiny fraction of the space ordinarily needed. Fractals provide a different way of observing and modeling complex phenomena than Euclidean Geometry or the Calculus developed by Leibnitz and Newton. An arising cross disciplinary science of complexity coupled with the power of desktop computers brings new tools and techniques for studying real world systems.

Self-Similarity A fractal Looks the same Over all the range

of scale Self-Similarity

Self-Similarity Exact Self-Similarity Statistical Self-Similarity

What is a dimension? What is dimension? How do we assign dimension to an object? In what dimension does each move? a train moving along railroad tracks?

a boat sailing on a lake? a plane in the sky

Try a more difficult one Crumple it up into a ball What is the dimension of the ball?

When you carefully reopen the ball of foil, what dimension has it become?

Answers 1. Train: 1 2. Ship: 2 3. Plane: 3 4. Aluminum a) 2 b) 3 c) somewhere between 2 and 3

Mathematical Interpretation 1. Notice that the line segment is self-similar. It can be separated into 4 = 4^1 "miniature" pieces. Each is 1/4 the size of the original. Each looks exactly like the original figure when magnified by a factor of 4 (magnification or scaling factor).

Mathematical Interpretation 2. The square can be separated in to miniature pieces with each side = 1/4 the size of the original square. However, we need 16 = 4^2 pieces to make up the original square figure

Mathematical Interpretation 2. The cube can be separated into 64 = 4^3 pieces with each edge 1/4 the size of the original cube

Mathematical Interpretation In these simple cases the exponent gives the dimension: 4 = 4^1pieces 16 = 4^2pieces 64 = 4^3pieces Therefore, N (the number of miniature pieces in the final figure) is equal to S (the scaling factor) raised to the power D (dimension). N = S^D

Dimension of a Fractal In the previous cases it is easy to find the dimension by simply reading the exponent. However it's not always so easy. Consider the Sierpinski Triangle - an example of a fractal. Let's look at how it is generated: Begin with a triangle

Dimension of a Fractal Draw the lines connecting the midpoints of the sides and cut out the center triangle

Dimension of a Fractal Note that we have in our new triangle 3 miniature triangles. Each side = 1/2 the length of a side of the original triangle. Each miniature triangle looks exactly like the original triangle when magnified by a factor of 2 (magnification or scaling factor). Take the result and repeat (iterate).

Dimension of a Fractal and again and forever

Notice that the lower left portion of the triangle is exactly the same as the entire triangle when magnified by a factor of two. It is self-similar.

Now we compute the dimension of the Sierpinski Triangle: Notice the second triangle is composed of 3 miniature triangles exactly like the original. The length of any side of one of the miniature triangles could be multiplied by 2 to produce the entire triangle (S = 2). The resulting figures consists of 3 separate identical miniature pieces. (N = 3). What is D?

In general, Fractal Dimension

This method of finding fractal dimension can be used for only exact self-similar fractals. Other ways of computing fractal dimension include: mass, box, compass, etc.

Generating Fractals Three transformations are enough

Generating Fractals

What is a fractal? Fractals are self-similar geometrical objects. How to construct a fractal? The fractal can be constructed by iterating the same process. Two properties: 1. The further the process goes, the more detail is added; 2. A different initial image can be used to create the same fractal. Only the process is important. Transformation Affine Transform

Fractal Coding Consider an image like the square Transformations: 1. Take the origin as the bottom left corner, shrink the square by half; the second is shrunk and moved up; the third is shrunk and moved up and right (a) 2. Do the same thing again, but using (b) as the original to be transformed 3. Keep iteratively, and repeat the whole process four more times. (b) This is the famous fractal called Sierpinski triangle (c)

So the original square + three simple transformations this very complex detailed image Compression ratio is very high! The final image is independent of the original image, it is uniquely determined by the transforms alone.

Take a very different initial picture Apply exactly the same transformation five times. But if I take a different set of transformation

Affine Transform Affine transformations include the basic transformations of rotation, translation, reflection, scaling, and shear. A shear transform in X-direction

Affine Transform Affine Transform T AX X W ) ( d c b a A f e T e by ax x ' f dy cx y ' Or 2 2 1 1 2 2 1 1 cos sin sin cos r r r r d c b a The matrix A can always be written in the form

Affine Transform A single affine transformation W=[A, T] is defined by just 6 real numbers. The Sierpinski triangle was defined by three affine transformations, or just 18 real numbers. Fantastic compression ratio with fractal compression.

Generating Exactly Self- Similar Fractal

Fractal Dimension

Fractal Dimension

See class notes Metric Spaces

A contraction mapping doing its work, drawing all of a compact metric space X towards the fixed point.

Iterated Function System (IFS)

Iterated Function System (IFS)

Iterated Function System (IFS)

Iterated Function System (IFS)

Iterated Function System (IFS)

Iterated Function System (IFS)