BINARY MORPHOLOGY AND CELLULAR AUTOMATA

Similar documents
Modelling with cellular automata

Cellular Automata. Jason Frank Mathematical Institute

Note that numerically, with white corresponding to 0 and black to 1, the rule can be written:

Cellular Automata. History. 1-Dimensional CA. 1-Dimensional CA. Ozalp Babaoglu

Chapter 2 Simplicity in the Universe of Cellular Automata

biologically-inspired computing lecture 12 Informatics luis rocha 2015 INDIANA UNIVERSITY biologically Inspired computing

Cellular automata are idealized models of complex systems Large network of simple components Limited communication among components No central

We prove that the creator is infinite Turing machine or infinite Cellular-automaton.

Introduction to Scientific Modeling CS 365, Fall 2011 Cellular Automata

Instructor (Brad Osgood)

The Nature of Computation

II. Spatial Systems A. Cellular Automata 8/24/08 1

Toward a Better Understanding of Complexity

II. Spatial Systems. A. Cellular Automata. Structure. Cellular Automata (CAs) Example: Conway s Game of Life. State Transition Rule

CAN QUANTUM MECHANICS BE RECONCILED WITH CELLULAR AUTOMATA?

Introduction to Artificial Life and Cellular Automata. Cellular Automata

A little context This paper is concerned with finite automata from the experimental point of view. The behavior of these machines is strictly determin

A Colorful Introduction to Cellular Automata

MITOCW ocw f99-lec30_300k

15-251: Great Theoretical Ideas in Computer Science Lecture 7. Turing s Legacy Continues

Cellular automata in noise, computing and self-organizing

Cell-based Model For GIS Generalization

What is Quantum Mechanics?

Mitchell Chapter 10. Living systems are open systems that exchange energy, materials & information

Elementary Cellular Automata with

Universality in Elementary Cellular Automata

Cellular Automata CS 591 Complex Adaptive Systems Spring Professor: Melanie Moses 2/02/09

Investigation of Rule 73 as a Case Study of Class 4 Long-Distance Cellular Automata. Lucas Kang

Motivation. Evolution has rediscovered several times multicellularity as a way to build complex living systems

Note: Please use the actual date you accessed this material in your citation.

The Game (Introduction to Digital Physics) *

The World According to Wolfram

Katholieke Universiteit Leuven Department of Computer Science

Cellular Automata. and beyond. The World of Simple Programs. Christian Jacob

Turing Machines. Nicholas Geis. February 5, 2015

S.R.S Varadhan by Professor Tom Louis Lindstrøm

Maps and differential equations

MITOCW ocw-18_02-f07-lec17_220k

CELLULAR AUTOMATA WITH CHAOTIC RULE FORMATION AND ITS CHARACTERISTICS ABSTRACT

Learning Cellular Automaton Dynamics with Neural Networks

Grids of Finite Automata

Stream Ciphers. Çetin Kaya Koç Winter / 20

II. Cellular Automata 8/27/03 1

On Elementary and Algebraic Cellular Automata

A mathematician sees room for miracles. July 2009 (minor typos fixed 2/2010) Edward Ordman ordman.net Comments requested

Cellular Automata. ,C ) (t ) ,..., C i +[ K / 2] Cellular Automata. x > N : C x ! N. = C x. x < 1: C x. = C N+ x.

Astronomy Cast Episode 28: What is the Universe Expanding Into?

Lecture 2. When we studied dimensional analysis in the last lecture, I defined speed. The average speed for a traveling object is quite simply

CSE355 SUMMER 2018 LECTURES TURING MACHINES AND (UN)DECIDABILITY

THE SIMPLE PROOF OF GOLDBACH'S CONJECTURE. by Miles Mathis

Predicting AGI: What can we say when we know so little?

ONE DIMENSIONAL CELLULAR AUTOMATA(CA). By Bertrand Rurangwa

ABridgeofBits. Norman Margolus Laboratory for Computer Science Massachusetts Institute of Technology Cambridge, MA

Superposition - World of Color and Hardness

ALBERT EINSTEIN AND THE FABRIC OF TIME by Gevin Giorbran

Dynamical Behavior of Cellular Automata

ARTSCIENCE MUSEUM PRESENTS. RICHARD FEYNMAN S CURIOUS LIFE 20 October March 2019 ACTIVITY SHEET

Further discussion of Turing machines

MITOCW watch?v=hdyabia-dny

Image Encryption and Decryption Algorithm Using Two Dimensional Cellular Automata Rules In Cryptography

Announcements. Problem Set 6 due next Monday, February 25, at 12:50PM. Midterm graded, will be returned at end of lecture.

Justine Seastres. Cellular Automata and the Game of Life

PHYSICS 107. Lecture 27 What s Next?

Turing machines and linear bounded automata

18 : ( ( ( ( ( ( ( ( ( ( ( (3-4. (1. (2. (3. (4-5» «. (4 (3 (2

Cellular Automata: Tutorial

Any live cell with less than 2 live neighbours dies. Any live cell with 2 or 3 live neighbours lives on to the next step.

Complexity Theory. Ahto Buldas. Introduction September 10, Slides based on S.Aurora, B.Barak. Complexity Theory: A Modern Approach.

Chapter 23. Predicting Chaos The Shift Map and Symbolic Dynamics

Outline 1 Introduction Tiling definitions 2 Conway s Game of Life 3 The Projection Method

Complexity Classes in the Two-dimensional Life Cellular Automata Subspace

Untitled 1/21/18, 11:31 AM Physics: What We Do and Don t Know Steven Weinberg NOVEMBER 7, 2013 ISSUE Speculations of this sort ran into an obvious dif

The Fixed String of Elementary Cellular Automata

UNVEILING THE ULTIMATE LAWS OF NATURE: DARK MATTER, SUPERSYMMETRY, AND THE LHC. Gordon Kane, Michigan Center for Theoretical Physics Warsaw, June 2009

Chapter 7 Turing Machines

Do you know the man that dropped out of school and still was one of the greatest physicists of the 20th century? That is Albert Einstein.

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Turing machines and linear bounded automata

MITOCW ocw f99-lec01_300k

CS 361 Meeting 26 11/10/17

Shadows of the Mind. A Search for the Missing Science of Consciousness ROGER PENROSE. Rouse Ball Professor of Mathematics University of Oxford

Newsletter No. 2. (part B)

Introductory Quantum Chemistry Prof. K. L. Sebastian Department of Inorganic and Physical Chemistry Indian Institute of Science, Bangalore

MITOCW 6. Standing Waves Part I

Dynamics and Chaos. Melanie Mitchell. Santa Fe Institute and Portland State University

Real Analysis Prof. S.H. Kulkarni Department of Mathematics Indian Institute of Technology, Madras. Lecture - 13 Conditional Convergence

Turing machines COMS Ashley Montanaro 21 March Department of Computer Science, University of Bristol Bristol, UK

Cosmic Strings and Other Topological Defects. by A. Vilenkin and E. P. S. Shellard. Reviewed by John Preskill. 28 March 1996

0. Introduction 1 0. INTRODUCTION

Bio-inspired Models of Computation Seminar. Daniele Sgandurra. 16 October 2009

Flat Geometry. Spherical Geometry

Partitioning of Cellular Automata Rule Spaces

Real numbers, chaos, and the principle of a bounded density of information

Lecture 6: Sequential Dynamical Systems

Dick's PhAQs II: Philosopher-Asked Questions

Computational Thinking

Lecture notes on Turing machines

Mathematical Statements

Units and Magnitudes (lecture notes)

Computational Mechanics of the Two Dimensional BTW Model

Transcription:

BINARY MORPHOLOGY AND CELLULAR AUTOMATA I can't leave this subject without mentioning cellular automata (CAs). Conway's "Game of Life" is an example of a cellular automaton (CA). In each generation (or iteration), a set of rules is applied to a binary image to generate another image. Conway used a very simple set of rules, where the value of a pixel on the next iteration depends only on the number of ON pixels adjacent to it. Too few neighboring ON pixels (starvation) or too many (overpopulation) caused the pixel to be OFF (die) in the next iteration. The result was a complicated and unexpected evolution of patterns. Now I find it interesting that people only seem to use 2-D CAs. Not much happens in 1-D. Using a 3-neighborhood consisting of the binary pixel and its two neighbors in 1-D, you can have 2 3 = 8 different patterns, each of which can have a rule that sets the new pixel value to either ON or OFF. Thus, you can have 2 8 = 256 different sets of rules for how each pixel changes in the next iteration. A large number, but certainly manageable. But in 2-D, if your rule depends on the 3- neighbors, you can have 2 9 = 512 different patterns, leading to 2 512 different sets of rules. That's a very large set, much too large to be usefully explored at random.

With such large numbers, it is easy to see that people might be impressed with the computational power. And the numbers continue to explode in higher dimensions. For example, in 3-D, with a 3-neighborhood you have 2 27 patterns, and approximately 2 130000000 different rule sets! I haven't seen anything done in 3-D, though I imagine it would be much more interesting than 2-D, though much harder to show visually what is happening. For amusement, you can see some interesting 2-D CA at this web site. Each CA is described by its rule, which enumerates the output pixel result for each possible combination of neighbor pixels. There is a simple relation between 2-D CAs and binary morphology. The hitmiss operation is a rule that gives a single pattern of ON and OFF pixels to be matched at each location, with the result that if the pattern is matched the output value is ON, and otherwise it is OFF. Any cellular automaton can thus be built as a generalization of the hit-miss operation, where in general more than one pattern is checked for a match. So in computational power, the hit-miss operation (thus generalized) is equivalent to the cellular automaton! Things get even more interesting. Alan Turing's fundamental discovery was that all programmed computers are equivalent to a very simple Turing Machine that could read and write binary data on an infinitely long tape.

Any machine that is equivalent to a Turing Machine is called Turing complete. And it is easily shown that cellular automata are Turing complete. Consequently, the hit-miss operator can be used to implement a Turing Machine! In principle, you can compute anything with this generalized hit-miss operator! People who have spent a lot of time with CAs tend to become captivated by their power. I believe it is because the 2-D CA have both general computational power and, at the same time, are able to show us the computational evolution directly through our visual system, rather than analytically in some abstract mathematical representation. The laws of physics can be expressed in many ways; among them, a local description of fields and their derivatives being the most common. The fields, which can be related to physical measurements, are the solutions to partial differential equations. These are solved on digital computers, typically by discretizing space onto a lattice and time into discrete increments, as a set of difference equations. A very simple example is the Laplace equation for the electrostatic potential in some region surrounded by a closed boundary on which the potential values are known everywhere. The solution on the lattice points inside is found by applying, over and over, a very simple rule: replace the value of the potential at each point by the average of the four closest neighboring values.

This is a relaxation method; eventually the potential at each point arrives at its final value. You can implement this by a CA; for 2-D geometries, you can even implement it on a spreadsheet! (You may be worried because the world -- and spreadsheet cells -- appear to be described by real numbers instead of binary numbers. We'll sweep this objection under the rug by noting that real numbers can be approximated to arbitrary precision by binary numbers, patterns of 0s and 1s.) Because the laws of nature seem to be expressible locally by such very simple rules, people naturally wonder if the entire universe is, at the root, one big CA with some very simple rules. There are two areas of physics in particular that have proven to be very difficult to explain, and that have recently forced physicists to develop new fields of mathematics. One is elementary particles, where things are not understood at the very small scales and mathematical descriptions tend to blow up. The other is in the macroscopic regime where we have particle interactions (e.g., in fluids) leading to complex nonlinear behavior such as turbulence and associated chaotic dynamics. In both cases, people naturally search for a set of simple underlying rules to explain the complex behavior. In particle physics, Wheeler speaks of the "quantum foam" at the scale of the Planck length, about 10-33 cm, where space-time itself is strongly perturbed by quantum gravity. Can rules at that tiny scale, perhaps given by a CA on a lattice, lead to the observed phenomenology of particle physics at

much larger scales such as 10-17 cm? Likewise, people have observed chaotic behavior arising out of 2-D CAs, along with universal scaling parameters for the phenomena, such as period-doubling in chaos, that arise from very simple dynamical rules for the system evolution. So it is natural to hope that CAs can model and perhaps even explain the most difficult fields of physics. And why stop there? What about conscious intelligence, a mystery so slippery and deep that the mind is completely boggled at its contemplation? Could we possibly be CAs? Edward Fredkin, a physicist at Boston University, has spent much of his career on the search for the rules of the universe based on the assumption that space and time are discrete. A good introduction to his thinking is his 1992 paper, A new cosmogony. In 2002, Stephen Wolfram published his Opus Magnus, A new kind of science, a 1200 page treatise on cellular automata based on unpublished work he did over the past 10 years. Wolfram, who got his PhD in physics from CalTech at age 20, has a history of brilliant work, including founding the company (of his name) that makes Mathematica. Like Julian Schwinger, his motto could well be "If you can't join 'em, beat 'em," but unlike Schwinger, Wolfram is still in the game. I expect Wolfram to make some important observations in this field. Source: http://www.leptonica.com/binary-morphology.html