Encoding Time in seconds. Encoding Time in seconds. PSNR in DB. Encoding Time for Mandrill Image. Encoding Time for Lena Image 70. Variance Partition

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

Contrast Prediction for Fractal Image Compression

FRACTAL IMAGE COMPRESSION OF GRAYSCALE AND RGB IMAGES USING DCT WITH QUADTREE DECOMPOSITION AND HUFFMAN CODING. Moheb R. Girgis and Mohammed M.

On the Selection of Image Compression Algorithms

A Review of Image Compression Techniques

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

5.7. Fractal compression Overview

Fast Fractal Image Encoder

On the Selection of Image Compression Algorithms

Visual Quality Increasing using Image Parts Improvement for Fractal Image Compression

CHAPTER 4 FRACTAL IMAGE COMPRESSION

Hybrid image coding based on partial fractal mapping

Genetic Algorithm based Fractal Image Compression

Iterated Functions Systems and Fractal Coding

AN IMPROVED DOMAIN CLASSIFICATION SCHEME BASED ON LOCAL FRACTAL DIMENSION

Roshni S. Khedgaonkar M.Tech Student Department of Computer Science and Engineering, YCCE, Nagpur, India

Hardware Architecture for Fractal Image Encoder with Quadtree Partitioning

Modified No Search Scheme based Domain Blocks Sorting Strategies for Fractal Image Coding

Pak. J. Biotechnol. Vol. 13 (special issue on Innovations in information Embedded and Communication Systems) Pp (2016)

Linear prediction image coding using iterated function systems

Colour Image Compression Method Based On Fractal Block Coding Technique

Digital Signal Processing

USING FRACTAL CODING FOR PROGRESSIVE IMAGE TRANSMISSION

Image Compression with Function Trees

FAST FRACTAL IMAGE COMPRESSION

Fractal Coding. CS 6723 Image Processing Fall 2013

Journal of Universal Computer Science, vol. 3, no. 10 (1997), submitted: 11/3/97, accepted: 2/7/97, appeared: 28/10/97 Springer Pub. Co.

THREE DESCRIPTIONS OF SCALAR QUANTIZATION SYSTEM FOR EFFICIENT DATA TRANSMISSION

Modified SPIHT Image Coder For Wireless Communication

OPTIMAL HIERARCHICAL PARTITIONS FOR FRACTAL IMAGE COMPRESSION. Dietmar Saupe 1, Matthias Ruhl 2, Raouf Hamzaoui 2, Luigi Grandi 3, Daniele Marini 3

A combined fractal and wavelet image compression approach

A Novel Approach for Deblocking JPEG Images

MRT based Fixed Block size Transform Coding

MRT based Adaptive Transform Coder with Classified Vector Quantization (MATC-CVQ)

Hybrid Fractal Image Compression Based on Graph Theory and Equilateral Triangle Segmentation

Compression of Stereo Images using a Huffman-Zip Scheme

AN EFFICIENT VIDEO WATERMARKING USING COLOR HISTOGRAM ANALYSIS AND BITPLANE IMAGE ARRAYS

A Very Low Bit Rate Image Compressor Using Transformed Classified Vector Quantization

Mesh Based Interpolative Coding (MBIC)

Fractal Image Compression. Kyle Patel EENG510 Image Processing Final project

A Comparison of Still-Image Compression Standards Using Different Image Quality Metrics and Proposed Methods for Improving Lossy Image Quality

Fractal Image Compression on a Pseudo Spiral Architecture

3. MODIFIED BLOCK TRUNCATION CODING 3.1 MODIFIED BTC METHODS FOR IMPROVED CONTRAST

IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG

A new fractal algorithm to model discrete sequences

Fractal Image Compression

Fractal Image Denoising

53 M 0 j èm 2 i è ;1 M 0 j èm 2 i è ;1 èm 2 i è ;0 èm 2 i è ;0 (a) (b) M 0 i M 0 i (c) (d) Figure 6.1: Invalid boundary layer elements due to invisibi

Empirical Study of Discrete Cosine Transform on Image Compression.

signal-to-noise ratio (PSNR), 2

EUSIPCO A SPACE-VARIANT CUBIC-SPLINE INTERPOLATION

Optimizing the Deblocking Algorithm for. H.264 Decoder Implementation

An improved fast fractal image compression using spatial texture correlation

FAST AND EFFICIENT SPATIAL SCALABLE IMAGE COMPRESSION USING WAVELET LOWER TREES

Segmentation of Images

An embedded and efficient low-complexity hierarchical image coder

LOW-DENSITY PARITY-CHECK (LDPC) codes [1] can

simply by implementing large parts of the system functionality in software running on application-speciæc instruction set processor èasipè cores. To s

Optimized Progressive Coding of Stereo Images Using Discrete Wavelet Transform

A New Approach to Fractal Image Compression Using DBSCAN

New Approach of Estimating PSNR-B For Deblocked

Image Error Concealment Based on Watermarking

CHAPTER 5 RATIO-MODIFIED BLOCK TRUNCATION CODING FOR REDUCED BITRATES

Mr.Pratyush Tripathi, Ravindra Pratap Singh

Title. Author(s)Smolka, Bogdan. Issue Date Doc URL. Type. Note. File Information. Ranked-Based Vector Median Filter

Research Article Improvements in Geometry-Based Secret Image Sharing Approach with Steganography

Group Testing for Image Compression

The performance of xed block size fractal coding schemes for this model were investigated by calculating the distortion for each member of an ensemble

Optimization of Bit Rate in Medical Image Compression

DIGITAL TERRAIN MODELLING. Endre Katona University of Szeged Department of Informatics

CHAPTER-4 WATERMARKING OF GRAY IMAGES

Reconstructing. Rectangular Polyhedra. From. Hand-Drawn Wireframe Sketches. Jeremy S. De Bonet. Final Project

COMPUTER ANALYSIS OF FRACTAL SETS

Compression of RADARSAT Data with Block Adaptive Wavelets Abstract: 1. Introduction

A New Configuration of Adaptive Arithmetic Model for Video Coding with 3D SPIHT

Scene Partitioning via Statistic-based Region Growing. Joseph Weber

1 Introduction Object recognition is one of the most important functions in human vision. To understand human object recognition, it is essential to u

Mixed Raster Content for Compound Image Compression

Image Compression Using BPD with De Based Multi- Level Thresholding

ANALYSIS OF SPIHT ALGORITHM FOR SATELLITE IMAGE COMPRESSION

Motion Estimation for Video Coding Standards

SIGGRAPH `92 Course Notes. Yuval Fisher. Visiting the Department of Mathematics. Technion Israel Institute of Technology. from

Image Inpainting Using Sparsity of the Transform Domain

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

Image Quality Assessment Techniques: An Overview

Structured Light II. Thanks to Ronen Gvili, Szymon Rusinkiewicz and Maks Ovsjanikov

DCT-BASED IMAGE COMPRESSION USING WAVELET-BASED ALGORITHM WITH EFFICIENT DEBLOCKING FILTER

EE 5359 Multimedia project

Detecting Salient Contours Using Orientation Energy Distribution. Part I: Thresholding Based on. Response Distribution

CHAPTER 6 COUNTER PROPAGATION NEURAL NETWORK FOR IMAGE RESTORATION

Design of Navel Adaptive TDBLMS-based Wiener Parallel to TDBLMS Algorithm for Image Noise Cancellation

CS443: Digital Imaging and Multimedia Binary Image Analysis. Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University

SIGNAL COMPRESSION. 9. Lossy image compression: SPIHT and S+P

A Novel Fractal Monocular and Stereo Video Codec based on MCP and DCP

Frequency Band Coding Mode Selection for Key Frames of Wyner-Ziv Video Coding

A Comparative Study of DCT, DWT & Hybrid (DCT-DWT) Transform

OPTIMIZED MULTIPLE DESCRIPTION SCALAR QUANTIZATION BASED 3D MESH CODING

Functional Fractal Image Compression

Embedded Descendent-Only Zerotree Wavelet Coding for Image Compression

Content Based Image Retrieval Using Color Quantizes, EDBTC and LBP Features

Transcription:

Fractal Image Compression Project Report Viswanath Sankaranarayanan 4 th December, 1998 Abstract The demand for images, video sequences and computer animations has increased drastically over the years. This has resulted in image and video compression becoming an important issue in reducing the cost of data storage and transmission. is currently the accepted industry standard for still image compression, but alternative methods are also being explored. Fractal Image Compression is one of them. This scheme works by partitioning an image into blocks and using Contractive Mapping to map range blocks to domains. high computational complexity. The encoding step in fractal image compression has In this project we implement an innovative method of partitioning an image, which reduces the computational complexity in the encoding step. We also present a comparison of this method against the quadtree method and against the standard. 1

1 Introduction The encoding step in fractal image compression has high computational complexity. In this project we have implemented a method to reduce this computational complexity. We ærst present an introduction to fractal image compression. Then, we look into the complexity involved in the encoding step, describe the solution we have implemented, and present the results obtained. This section presents an introduction to fractal image compression. The term fractals was coined by Mandelbrot ë1ë in 1975 to describe the irregular and fragmented patterns that appear in nature. Barnsley ë2, 3ë suggest that storing images as a collection of transformations will result in image compression. The image to be encoded is partitioned into non-overlapping range blocks R. The encoder then ænds a larger domain block D of the same image for every range block, such that a transformation of D is a good approximation of the range block R. This transformation ç is a combination of an aæne transformation ë2, 3, 4, 11ë æ and a luminance transformation ç. In matrix form ç can be expressed as ç B@ x y z 1 CA = B @ k11 k12 k21 k22 a 1 CA B@ x y z 1 CA + B @ æx æy b 1 CA Here, z denotes the pixel intensity at position èx; yè. k ij are the co-eæcients of the aæne transformation. æx and æy are the relative x and y positions of the range with respect to the domain. a and b are the contrast and brightness adjustments for the transformation. The encoder stores only these eight numbers. The decoder iteratively applies the transformations to any initial image and generates the reconstructed image. To ensure convergence at the decoder, the transformations ç have to be contractive ë2, 4ë. The ærst practical fractal compression system to appear in literature was by Jacquin ë6ë. He compressed an image by a block-based compression scheme. Most other compression systems to appear in literature are based on Jacquin's block-based compression system. One of the compression systems is a quadtree-based ë4ë fractal encoding scheme and we use this method to implement our improvement. Another method uses the same quadtree scheme, 2

but further breaks down the square region into irregular shapes before coding ë5, 9ë. 2 Encoding Time The objective of this project is to reduce the time complexity in the encoding step. We ærst see where the time complexity arises in the encoding step the time complexity arises, and how we can reduce it. Consider an image that is 256x256 pixels in size. We partition it into 8x8 non-overlapping ranges R1; R2 :::;R124. We also partition it into 16x16 overlapping domains D = D1; D2; :::;D58;81. Now, for each R i, we search through all D to ænd a D i which minimizes some threshold. In other words, we try to ænd a part of the image that looks similar to R i. There are eight ways to map one square to another. So for each range R i, 464,648 domains have to be compared. Various techniques have been proposed to overcome the time complexity. One such technique is the classiæcation of domains based on some feature, such as the edges ë6, 1ë or bright spots ë4, 8ë. A domain once discarded removes from the pool all other similar domains for a particular range. Another technique is to classify the domains as multidimensional keys. This reduces the complexity from OèN è to Oèlog N è ë7ë. The weakness of this method is that the size of the range R i is æxed. This is overcome in the quadtree partition ë4ë method. Here, a square in the image is split up into four equal-sized sub-squares when it is not covered suæciently by the domain. This process is repeated recursively, starting from the complete image and continued until the squares are small enough to be covered within some speciæed threshold. This range-domain match is the time 3 Variance Based Image Partitioning In the quadtree partitioning, a range R i whichwould have been split further is also compared with the domains. These futile range comparisons increase the encoding time unnecessarily. To prevent these futile domain searches, we have to partition the image before we begin the 3

1 encoding. We model the image as a contour of the grey-scale value versus position. 1 5 6 7 5 6 7 Model of Lena image Now, for good detail and for good chance of a domain match, we have to partition the image such that, each range is a æat portion of the contour. We could use the variance metric for determining how æat the contour is. The variance metric is deæned ë4ë as nx V i = èrjè 2 i, A 2 i j=1 where i is the range under consideration, n is the total number of pixels in the range, r j i is the grey level of the j th pixel in the i th range, and nx A i = j=1 This computation is quite involved and would consume considerable time. r i j Instead, we assume that if the peak diæerence between the pixels is above some threshold, we have 4

to split the range further. This partitioning is done before we start the domain matches and thus only useful ranges are compared with the domains. This method gives signiæcant improvement over the quadtree partition method, with comparable image quality. The disadvantage of this method it that, some of the larger squares, which would have been mapped originally, would be skipped now. The `C' code for the quadtree partition method already exists ë4ë. We implemented the variance partition method, using this quadtree code. 4 Results In this section, we present the results that we obtained with our method. 7 Encoding Time for Lena Image 7 Encoding Time for Mandrill Image Variance Partition Variance Partition 6 Quadtree Partition 6 QuadTree Partition 5 5 Encoding Time in seconds Encoding Time in seconds 1 1 1 5 6 Compression Ratio 5 1 15 25 Compression Ratio 45 PSNR for Lena Image 45 PSNR for Mandrill Image Variance Partition Variance Partition Quadtree Partition QuadTree Partition 35 35 PSNR in db PSNR in DB 25 25 1 5 6 Compression Ratio 5 1 15 25 Compression Ratio Comparison of the Encoding Time and Compression Ratio for the diæerent schemes 5

We ænd that our method gives considerable saving in encoding time over the quadtree method for all images and compression ratios. The image quality is slightly degraded for some images at higher compression ratios. The `Mandrill' image coded with diæerent schemes is shown below ècompression ratio 6:1è. Original Image QuadTree Partitioned Variance Partitioned 6

We ænally give results for the encoding time for 11 standard images. There ægures show that our method is faster than the quadtree method for all of these images. 6 5 Encoding Time Quadtree Variance Time in seconds 1 1 2 3 4 5 6 7 8 9 1 11 Image Encoding Time on Standard Images 5 Conclusion Our method gives a considerable saving in the encoding time over the quadtree method, with comparable image quality. The key point to note from the results is that is better than both these methods. Fractal image compression, using a quadtree partition is far from replacing as the standard for still image compression. There are some properties of fractals that make them ideal for other applications. æ Fractals have no characteristic size, and an encoded image can be decoded at any resolution. æ Realistic detail is artiæcially generated at all scales. 7

æ Fractals perform very well for highly sampled, natural images. æ Synthetic images and half tones are not compressed by this method. æ The encoding step is time consuming, but the decoding step is very fast. All these properties make fractals a good choice for transmitting images over the Internet. The resolution independence property is desired, as target browsers have diæerent resolutions. Images are encoded only once, but decoded many times. A sizeable portion of the images over the Internet are natural images. The decoding step works is the natural way that images load up in browsers. Netscape 4.2 has a plug in for the Fractal Image Format. The 1992 version of Microsoft Encarta had all its images compressed in this format. The quadtree partition is not the optimal way of compressing images ë5ë. Other methods like the triangular partition ë4, 8ë and irregular partition ë5, 1ë yield better image quality. Our variance partition improvement can also be applied to these methods to reduce the encoding time. References ë1ë B. B. Mandelbrot, The Fractal Geometry of Nature, W.H. Freeman and Company, ISBN -7167-1186-9, 1983. ë2ë M. F. Barnsley and L. Y. Hurd, Fractal Image Compression, AK Peters Ltd., ISBN 1-56881--8, 1993. ë3ë M. F. Barnsley, Fractals Everywhere, Academic Press Professional, ISBN -12-7961-, 1993. ë4ë Y. Fisher, Fractal Image Compression - Theory and Application, Springer-Verlag, ISBN -387-94211-4, 1994. ë5ë L. Thomas and F. Deravi, ëregion-based Fractal Image Compression Using Heuristic Search," IEEE Trans. on Image Processing, vol. 4, no. 6, pp. 832-838, Jun. 1995. 8

ë6ë A. E. Jacquin, ëimage Coding Based on a Fractal theory of Iterated Contractive Image Transformations, " IEEE Trans. on Image Processing, vol. 1, no. 1, pp. 18-, Jan. 1992. ë7ë D. Saupe, ëbreaking the Time complexity of Fractal Image Compression," Technical Report, vol. 53, Institut fíur Informatik, Universitíat Freiburg, 1994. ë8ë F. Davoine, M. Antonini, J. M. Chassey and M. Barlaud, ëfractal Image Compression Based on Delaunay Triangulation and Vector Quantization," IEEE Trans. on Image Processing, vol. 5, no. 2, pp. 338-346, Feb. 1996. ë9ë Y. Wang, Y. Jin and Q. Peng, ëmerged quadtree fractal image compression," Optical Engineering, vol. 37, no. 8, pp. 2284-2288, Aug. 1998. ë1ë H. Lin and A. N. Venetsanopoulos, ëfast fractal image compression using pyramids," Optical Engineering vol. 36, no. 6, pp. 17-17, Jun. 1998. ë11ë D. Saupe and R. Hamzaoui, ëa review of the fractal compression literature," Computer Graphics, vol. 28, no. 4, pp. 268-276, 1994. 9