Application of Two-dimensional Periodic Cellular Automata in Image Processing

Similar documents
Netaji Subhash Engineering College, Technocity, Garia, Kolkata , India

A Cellular Automata based Optimal Edge Detection Technique using Twenty-Five Neighborhood Model

Edge Detection Method based on Cellular Automata

Normal Algorithmetic Implementation of Cellular Automata

CARRY Value Transformation (CVT) is one of the first

UNIT 9C Randomness in Computation: Cellular Automata Principles of Computing, Carnegie Mellon University

Light Weight Cellular Automata Computations and Symmetric Key for Achieving Efficient Cryptography

Self-formation, Development and Reproduction of the Artificial System

What are Cellular Automata?

THE DEGREE OF POLYNOMIAL CURVES WITH A FRACTAL GEOMETRIC VIEW

Cellular Automata. Cellular Automata contains three modes: 1. One Dimensional, 2. Two Dimensional, and 3. Life

Generalized Coordinates for Cellular Automata Grids

A New Encryption and Decryption Algorithm for Block Cipher Using Cellular Automata Rules

A Survey on Two Dimensional Cellular Automata and Its Application in Image Processing

DSP-Based Parallel Processing Model of Image Rotation

Automatic Classification of One-Dimensional Cellular Automata

Cellular Automata. Nicholas Geis. January 22, 2015

COMPUTER SIMULATION OF COMPLEX SYSTEMS USING AUTOMATA NETWORKS K. Ming Leung

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

FPGA IMPLEMENTATION FOR REAL TIME SOBEL EDGE DETECTOR BLOCK USING 3-LINE BUFFERS

Detection of objects in moving images and implementation of the purification algorithm on Analog CNN and DSP processors

Design of a Parallel Adder Circuit for a Heavy Computing Environment and the Performance Analysis of Multiplication Algorithm

Uniform Graph Construction Based on Longitude-Latitude Mapping for Railway Network

The packing problem: A divide and conquer algorithm on cellular automata

Analysis of Different Multiplication Algorithms & FPGA Implementation

Pseudorandom Number Generation Based on Controllable Cellular Automata

Design and Implementation of CVNS Based Low Power 64-Bit Adder

COMPARISON OF OCTAGON-CELL NETWORK WITH OTHER INTERCONNECTED NETWORK TOPOLOGIES AND ITS APPLICATIONS

DESIGNING OF STREAM CIPHER ARCHITECTURE USING THE CELLULAR AUTOMATA

Fixed-point Simulink Designs for Automatic HDL Generation of Binary Dilation & Erosion

6. Concluding Remarks

An Evolution of Mathematical Tools

Image coding using Cellular Automata based LDPC codes

Complex Dynamics in Life-like Rules Described with de Bruijn Diagrams: Complex and Chaotic Cellular Automata

Introduction. Computer Vision & Digital Image Processing. Preview. Basic Concepts from Set Theory

A Combined Encryption Compression Scheme Using Chaotic Maps

A New Approach To Fingerprint Recognition

NCC 2009, January 16-18, IIT Guwahati 267

Design and Analysis of Kogge-Stone and Han-Carlson Adders in 130nm CMOS Technology

Survey on Cellular Automata (1-Dimension and 2-Dimension CA)

Implementation Of Fuzzy Controller For Image Edge Detection

Skeletonization Algorithm for Numeral Patterns

Use of Local Minimization for Lossless Gray Image Compression

CHAPTER 2 TEXTURE CLASSIFICATION METHODS GRAY LEVEL CO-OCCURRENCE MATRIX AND TEXTURE UNIT

Overlapped Scheduling for Folded LDPC Decoding Based on Matrix Permutation

Mobile Robot Path Planning in Static Environments using Particle Swarm Optimization

Drawdown Automata, Part 1: Basic Concepts

Realization of Hardware Architectures for Householder Transformation based QR Decomposition using Xilinx System Generator Block Sets

K Anup Kumar et al,int.j.comp.tech.appl,vol 3 (1), 32-39

Contents Systems of Linear Equations and Determinants

COMPUTER AND ROBOT VISION

A NOTE ON COST ESTIMATION BASED ON PRIME NUMBERS

A NEW DYNAMIC SINGLE-ROW ROUTING FOR CHANNEL ASSIGNMENTS

Identifying Layout Classes for Mathematical Symbols Using Layout Context

IDENTIFYING GEOMETRICAL OBJECTS USING IMAGE ANALYSIS

[10] Industrial DataMatrix barcodes recognition with a random tilt and rotating the camera

Almost Curvature Continuous Fitting of B-Spline Surfaces

Genetic Algorithm For Fingerprint Matching

Design and Development of Vedic Mathematics based BCD Adder

Representing 2D Transformations as Matrices

Invariant Recognition of Hand-Drawn Pictograms Using HMMs with a Rotating Feature Extraction

Two Algorithms of Image Segmentation and Measurement Method of Particle s Parameters

A Family of Controllable Cellular Automata for Pseudorandom Number Generation

Maximization Versions of Lights Out Games in Grids and Graphs

Achieving Reliable Digital Data Communication through Mathematical Algebraic Coding Techniques

Enhanced Cellular Automata for Image Noise Removal

Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Simulating Geological Structures Based on Training Images and Pattern Classifications

University of Groningen. Morphological design of Discrete-Time Cellular Neural Networks Brugge, Mark Harm ter

COLOR TEXTURE CLASSIFICATION USING LOCAL & GLOBAL METHOD FEATURE EXTRACTION

Images Reconstruction using an iterative SOM based algorithm.

Improvement of SURF Feature Image Registration Algorithm Based on Cluster Analysis

L Modeling and Simulating Social Systems with MATLAB

C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S. Image Operations II

Calculation of extended gcd by normalization

Detection of a Single Hand Shape in the Foreground of Still Images

Cellular Learning Automata-Based Color Image Segmentation using Adaptive Chains

RESEARCH ON OPTIMIZATION OF IMAGE USING SKELETONIZATION TECHNIQUE WITH ADVANCED ALGORITHM

You ve already read basics of simulation now I will be taking up method of simulation, that is Random Number Generation

Recognizing Handwritten Digits Using the LLE Algorithm with Back Propagation

Morphological Image Processing

Hexagonal Lattice Systems Based on Rotationally Invariant Constraints

Massively Parallel Computing on Silicon: SIMD Implementations. V.M.. Brea Univ. of Santiago de Compostela Spain

Designing of Optimized Combinational Circuits Using Particle Swarm Optimization Algorithm

Analysis of Irregularly Shaped Texture Regions 1

Texture Analysis. Selim Aksoy Department of Computer Engineering Bilkent University

RGB Digital Image Forgery Detection Using Singular Value Decomposition and One Dimensional Cellular Automata

DUE to the high computational complexity and real-time

Robots & Cellular Automata

1. Introduction. 2. Motivation and Problem Definition. Volume 8 Issue 2, February Susmita Mohapatra

Hyperbola for Curvilinear Interpolation

Learning to Detect Faces. A Large-Scale Application of Machine Learning

CS 5540 Spring 2013 Assignment 3, v1.0 Due: Apr. 24th 11:59PM

SIMULATION OF ARTIFICIAL SYSTEMS BEHAVIOR IN PARAMETRIC EIGHT-DIMENSIONAL SPACE

Model-based segmentation and recognition from range data

CHAPTER 1 INTRODUCTION

A Comparative Study on Optimization Techniques for Solving Multi-objective Geometric Programming Problems

What will we learn? What is mathematical morphology? What is mathematical morphology? Fundamental concepts and operations

Webpage: Volume 5, Issue VII, July 2017 ISSN

Mathematica CalcCenter

Transcription:

International Journal of Computer, Mathematical Sciences and Applications Serials Publications Vol. 5, No. 1-2, January-June 2011, pp. 49 55 ISSN: 0973-6786 Application of Two-dimensional Periodic Cellular Automata in Image Processing 1 SUDHIR RANJAN PATTANAIK, 2 BIRENDRA KUMAR NAYAK, AND 3 SUDHAKAR SAHOO 1 Orissa Computer Academy (Krupajal Group Bhubaneswar). E-mail: sudhirpattanaik.oca@gmail.com 2 P.G. Department of Mathematics, Utkal University, Bhubaneswar-751004. E-mail: bknatuu@yahoo.co.uk 3 Department of CSEA, SIT, Silicon Hills, Patia, Bhubaneswar-751024. E-mail: sudhakar.sahoo@gmail.com Abstract: This paper deals with the application of 2-Dimensional periodic nine neighborhood uniform as well as hybrid Cellular Automata (2D CA) linear rules in image processing. These rules, which are classified into nine groups, have been found to be rendering multiple copies of a given image depending on the groups to which they belong. These rules are also shown to be characterizing the phenomena of zooming in, zooming out, thickening and thinning of a given image. Further these rules have been found to be useful for simulating the migration of organisms of a surrounding towards a single point destination. This can be achieved by applying different CA rules iteratively in different regions obtained by rotating an axis about a point as destination. Keywords: Cellular Automata, Boolean functions, Linear rules, Problem matrix, Real-time image processing. 1. INTRODUCTION The semiconductor technology is moving towards the sub-micron era and the system designers try to embed complex functions from software domain to hardware blocks on the silicon floor. While doing this, within a feasible limit of the complexity, the designers are forced to look for simple, modular, cascadable and reusable building blocks for implementing various complex functions. The homogeneous structure of Cellular Automata (CA) fulfills all the above objectives. Further the ever-increasing need for faster computing necessitates adoption of parallel processing architectures. It has been demonstrated by various authors [1, 2] that the parallel processing architecture built around the CA machine (CAM) suits for a variety of applications. The study of Cellular Automata developed by John von Neumann in the early 50 s framed CA as a cellular space capable of self-reproduction [3]. Since then many researchers have taken interest in the study of CA for modeling the behavior of complex systems. Wolfram et al. [4] studied one-dimensional CA with the help of polynomial algebra. Pries et al. [5] studied one-dimensional CA exhibiting group properties based on a similar kind of polynomial algebra. Later, Das et al. [6] extended the characterization of one-dimensional CA with the help of matrix algebra. In recent years many applications of one-dimensional CA have been reported. On the other hand two-

50 International Journal of Computer, Mathematical Sciences and Applications dimensional CA (2D CA) is not yet a well-studied area. Packard et al. [7] reported some empirical studies on 2D CA depending on five neighborhood CA. Chowdhury etal. [8] extended the theory of 1-D CA built around matrix algebra for characterizing 2-D CA. However, emphasis was laid on special class of additive 2D CA, known as restricted vertical neighborhood (RVN) CA. In this class of 2-D CA the vertical dependency of a site is restricted to either the sites on its top or bottom, but not both. This paper primarily deals with the application of the 2-D periodic CA linear rules in image processing. This requires introduction of the 2-D nine-neighborhood CA and the rules by which the dependencies of a cell are governed. In Section 2, the application of such rules on problem matrix is demonstrated which forms the basis of image processing. Section 3, presents the study of 512 linear Boolean functions, their matrix construction, structure of those matrices and their properties both in uniform as well as in hybrid CA. In Section 4, the effect of these linear rules on a given image is discussed. Particularly these rules are used for image transformations like translation, multiplication of one image into several, zooming- in and zooming-out, thickening and thinning of images While the translation and multiplication can be carried out on any arbitrary image, structured images are needed for others. Multiple copies of any arbitrary image, so available, find enumerable applications in real life situation. Also in this section a new algorithm is developed using hybrid CA called sweepers algorithm with its applications. The implementation part in hardware and the architectural details are shown in Section 5. 2. MATHEMATICAL MODEL FOR 2-D CA In 2-D Nine Neighborhood CA the next state of a particular cell is affected by the current state of itself and eight cells in its nearest neighborhood (Figure below). Such dependencies are accounted by various rules. For the sake of simplicity, in this section we take into consideration only the linear rules, i.e. the rules, which can be realized by EX-OR operation only. A specific rule convention that is adopted here is as follows: Fig. 1: The central box represents the current cell (i.e. the cell being considered) and all other boxes represent the eight nearest neighbors of that cell. The number within each box represents the rule number characterizing the dependency of the current cell on that particular neighbor only. Rule 1 characterizes dependency of the central cell on itself alone whereas such dependency only on its top neighbor is characterized by rule 128, and so on. These nine rules are called fundamental rules. In case the cell has dependency on two or more neighboring cells, the rule number will be the arithmetic sum of the numbers of the relevant cells. For example, the 2D CA rule 171 (128 + 32 + 8 + 2 + 1) refers to the five-neighborhood dependency of the central cell on (top, left, bottom, right and itself).

Application of Two-dimensional Periodic Cellular Automata in Image Processing 51 The number of such rules is 9 C 0 + 9 C 1 +... + 9 C 9 = 512 which includes rule characterizing no dependency. These rules are grouped into nine groups in the following manner. Group-N (N = 1, 2. 9) includes the rules that refer to the dependency of current cell on the N neighboring cells amongst top, left, bottom, right, top-left, top-right, bottom-left, bottom-right and itself. The above-mentioned rule 171 therefore belongs to group-5. Thus group 1 includes 1, 2, 4, 8, 16, 32, 64, 128, and 256. Group 2 includes 3, 5, 6, 9, 10, 12, 17, 18, 20, 24, 33, 34, 36, 40, 48, 65, 66, 68, 72, 80, 96, 129, 130, 132, 136, 144, 160, 192, 257, 258, 260, 264, 272, 288, 320 and 384. Similarly rules belonging to other groups can be obtained. The next illustration shows to find the group to which a particular rule belongs: Illustration: Find the group of Rule 47 Step 1: (47) 10 = (000101111) 2 Step 2: 5-1 s are there Step 3: Rule 47 is in group-5 3. BASIC CONCEPTS Definition 1: A null boundary CA is the one in which the extreme cells are connected to logic - 0 state. Definition 2: A periodic boundary CA is the one in which the extreme cells are connected to each other. 3.1 Uniform and Hybrid CA The application of linear rules mentioned in the previous section can be realized on a problem matrix, where every entry is either 0 or 1. It may be mentioned that instead of applying the same rule to each entry of the problem matrix, it is admissible to apply different rules to different entries at the same time. While the former characterizes the uniform CA the latter characterizes hybrid CA. Illustration (for Uniform CA) In Fig. 2, Rule 170 (2 + 8 + 32 + 128) is applied uniformly to each cell of a problem matrix of order (3 4) with periodic boundary condition (extreme cells are connected with logic-1 states). 0 0 1 0 1 0 1 1 Rule 170 1 1 1 0 0 0 1 0 1 0 1 1 1 1 0 1 [Figure 2: shows the cell under consideration, will change its state by adding the states of its 4 orthogonal neighboring cells. 0 + 1 + 1 + 1 = 1. Similarly, Rule 170 is applied to all other cells.] Illustration (for hybrid CA) Here is an example of a hybrid CA in null boundary condition where 3 rules (Rule 2, Rule 3, and Rule 4) are applied in 3 different rows (1st, 2nd and 3rd rows respectively) in the above problem matrix.

52 International Journal of Computer, Mathematical Sciences and Applications 0 0 1 0 0 1 0 0 Rule 2, Rule 3, Rule 4 1 1 1 0 0 0 1 0 1 0 1 1 0 0 0 0 [Fig. 3] The 2D periodic CA behavior can be analyzed with the help of an elegant mathematical model, where we use two fundamental matrices to obtain row and column dependencies of the cells. Let the two-dimensional binary information matrix be denoted as X t that represents the current state of a 2D CA configured with a specific rule. The next state of any cell will be obtained by EX-OR operation of the states of its relevant neighbors associated with the rule. The global transformation associated with different rules can be made effective with the following two fundamental matrices, referred to as T 1 and T 2 in the rest of the paper: 0 1 0 0 0 0 T1 = 0 0 1 and T2 = 1 0 0 0 0 0 0 1 0 [Fig. 4] 4. APPLICATIONS IN IMAGE PROCESSING The 2D periodic CA linear rules, which are applicable for image processing, are 2, 4, 8,16, 32, 64, 128, 256 and these are of group 1. Moreover, in the case of multiplication of images, any 2D periodic CA linear rule can be applied. For applying 2D periodic CA linear rules in image processing, we take a binary matrix of size (100 100). We map each element of the matrix to a unique pixel on the screen (Using BGI graphics of Turbo C++ 3.0) and we color a pixel White for 0 and Black for 1 for the matrix elements. This is the way, how the image is drawn within an area of (100 100) pixels, which we indicate by coloring its boundary by Red. We apply 2D periodic CA linear rules on that (100 100) matrix (Both in regular and in some cases hybrid form) and each time the rule is applied using the changed matrix and a new image is redrawn. Initial image is taken by making some elements of the (100 100) matrix as 1, in a suitable fashion. We call this initial image as seed image. Application Rule - 8 (To a circle of radius - 26 pixels)

Application of Two-dimensional Periodic Cellular Automata in Image Processing 53 Application of Rule - 256 (To a complex pattern) Application Rule - 510, Group - 8 (To a complex pattern) Application Rule - 511, Group - 9 (To a complex pattern) Application of Rules - 2,32,8,128 (To a square of length - 40 pixels, transformation is zooming in)

54 International Journal of Computer, Mathematical Sciences and Applications Application of Rules - 2,32,8,128 (To a + sign of length - 55 pixels and breadth - 3 pixels, transformation is zooming in) Application of Rules - 32,2,128,8 (To a rectangle of length - 50 & breadth - 70 pixels, transformation is zooming out) Application of Rules - 32,2,128,8 (To a complex pattern, transformation is zooming out) 6. CONCLUSION In various purposes image processing is needed, and there are various software and other means to do it. But here on using two-dimensional Cellular Automata we propose the high level design for various image processing functions which can be easily embedded in the VLSI chip form. The result is, the time taken to process any image or the time taken to any searching technique is in nanoseconds, which will be much faster compared to the other means of image processing and searching techniques available in literature. And there lies the novelty of our work. Although only some important primary image transformations are being reported here, we feel that the work can be extended further for any other complex image processing or transformations. Our future research efforts are on towards that direction. REFERENCES [1] A.R. Khan, P.P. Choudhury, K. Dihidar, S. Mitra, and P. Sarkar, VLSI Architecture of Cellular Automata Machine. Computers Math. Applic, 33(5), 79-94, (1997).

Application of Two-dimensional Periodic Cellular Automata in Image Processing 55 [2] A.R. Khan, P.P. Choudhury, K. Dihidar and R. Verma, Computers and Mathematics with Applications 37 (1999), 115-127. [3] J. Von Neumann, The Theory of Self- Reproducing Automata, (Edited by A.W. Burks) Univ. of Illinois Press Urbana (1996). [4] S. Wolfram, Statistical Mechanics of Cellular Automata, Rev Mod Phys. 55, 601-644 (July 1983). [5] W. Pries, A Thanailakis, and H.C. Card, Group Properties of Cellular Automata and VLSI Application, IEEE Trans on computers, C-35, 1013-1024 (December 1986). [6] A.K. Das, Additive Cellular Automata: Theory and Applications as a Built-in Self-test Structure, Ph.D. Thesis, I.I.T. Kharagpur, India, (1990). [7] N.H. Packard, and S. WolForm, Two-dimensional Cellular Automata, Journal of Statistical Physics, 38 (5/6) 901-946, (1985). [8] D.R. Chowdhury, I.S. Gupta, and P.P. Chaudhuri, A Class of Two-dimensional Cellular Automata and Applications in Random Pattern Testing, Journal of Electronic Tesing: Theory and Applications 5, 65-80, (1994). [9] P.P. Choudhury, K. Dihidar, Matrix Algebraic Formulae Concerning Some Special Rules of Twodimensional Cellular Automata, International journal on Information Sciences, Elsevier Publication, 165 (1-2).