SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Downloaden Sie, um offline zu lesen
Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440
www.ijera.com 435 | P a g e
Jpeg Image Compression
Rajshree („), Naincey Rathore (*), Neha Kuttarmare (†), Manasi Gangapurkar
(^), Nishant.H.Pandey(&)
(„) Department of Electronics Engineering, G. H. Raisoni College of Engineering for Women, Nagpur
(*) Department of Electronics Engineering, G. H. Raisoni College of Engineering for Women, Nagpur
(†) Department of Electronics Engineering, G. H. Raisoni College of Engineering for Women, Nagpur
(^) Department of Electronics Engineering, G. H. Raisoni College of Engineering for Women, Nagpur
(&)Department of Electronics Engineering, G. H. Raisoni College of Engineering for Women, Nagpur
Abstract
One of the most common methods of representing graphical information in a digital form is by spatially
sampling the color components of an image—red, green, and blue for example. These digitized samples can be
placed in a long sequence for the purpose of storage and transmission. For any reasonably detailed image, this
string of samples can become very long. As of this writing, a typical digital camera will produce images in
excess of three million samples. Consequently, various methods are employed to translate this representation
into a compact form. A particular approach to image data compression—known as the JPEG compression. The
objective of JPEG image compression is simple: to store the data necessary to reconstruct a digital image using
as little space as possible while maintaining enough visual detail so that storing the image is actually
worthwhile.
The basis for the JPEG algorithm is the Discrete Cosine Transform (DCT) which extracts spatial frequency
information from the spatial amplitude samples and huffman coding in MATLAB.
Keywords—compression, jpeg, discrete cosine transform, huffman coding.
I. INTRODUCTION
A. OVERVIEW
An image consists of rectangular array of
dots called pixels which are mainly of three types:
BLACK&WHITE GREY COLOUR
A digital image is an array of real or
complex numbers represented by finite number of
bits.
Image processing is the process of
manupulating and analysing data in order to improve
its quality.[6]There are three techniques of
processing:[8]
a) Image Enhancement:
It refers to sharpening of image features.
b) Image restoration:
It refers to filtering of observed image.
c) Image compression:
It refers to minimizing the number of bits required to
represent image.
RESEARCH ARTICLE OPEN ACCESS
Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440
www.ijera.com 436 | P a g e
Image compression is the art and science of
reducing the amount of data required to represent an
image.It is most useful and commercially successful
technologies in the field of Digital Image Processing.
It is mainly of two types:
Lossy compression Lossless compression
It should be noted early that, unlike
compression techniques used with other types of
data—like financial records, or word processing
documents—JPEG is a lossy algorithm, meaning that
visual information is selectively discarded in order to
improve the compression ratio. Once discarded, this
information can not be recovered, but it is selected to
minimize the effect on the perception of someone
viewing the reconstructed image. In order to
determine which information can be removed, and to
perform the removal in a straight forward fashion, the
image data is converted from a space-intensity form
to a space- frequency form.[5]
B. History
In the late 1980‟s and early 1990‟s, a joint
com- mittee, known as the Joint Photographic Experts
Group (JPEG), of the International Standards
Organization (ISO) and the Comit´e Consultatif
International T´ el´ephonique et T´ el´egraphique
(CCITT) developed and established the first in-
ternational compression standard for continuous-tone
images. A good summary of their work can be found
in.[5]
C. TECHNICAL DETAILS
A digitized sample is known as a picture
element or pixel for short. Each pixel is most
commonly represented by three 8-bit unsigned
integers. The three values correspond to theintensity
of three color components1 (e.g. red, green, and blue)
on a scale of 0 to 255. JPEG compression operates on
each color component separately, so the discussion
that follows will deal only with 8-bit pixels. It may be
useful for the reader to visualize grayscale images
(like a black and white photograph), wherein each
pixel can be stored as an 8-bit value indicating the
amount of whiteness, instead of amounts of redness,
greenness, and blueness. There are several variants—
modes of operation—of the JPEG algorithm included
in the standard. We are principally concerned with
the Baseline DCT Sequential mode. This
compression method takes place in four stages, which
will be described in detail shortly. 1) The
uncompressed source data is separated into 8×8
blocks of pixels. 128 is subtracted from the value of
each pixel so that the new effective range is from -
128 to 127. 2) Each block is transformed into an 8 × 8
block of frequency coefficients. 3) These coefficients
are quantized. 4) An entropy encoder is applied to the
quantized coeffi-cients.[5]
This paper is divided into four sections :
I . Compression
II . Discrete cosine transform
III. Huffman coding
IV. Results
V . Applications
VI. References
II. COMPRESSION
A. Compression Framework:
The objective of image compression is to
reduce irrelevance and redundancy of the image data
in order to be able to store or transmit data in an
efficient form.[1] Image compression is minimizing
the size in bytes of a graphics file without degrading
the quality of the image to an unacceptable level. The
reduction in file size allows more images to be stored
in a given amount of disk or memory space. It also
reduces the time required for images to be sent over
the Internet or downloaded from Web pages. Ideally,
an image compression technique removes redundant
and/or irrelevant information, and efficiently encodes
what remains. Practically, it is often necessary to
throw away both non- redundant information and
relevant information to achieve the required
compression.[7]
Fig1:compression framework
Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440
www.ijera.com 437 | P a g e
B. Block Diagram:
Fig 2: Block diagram
1. Quantization:
In addition to classifying the spatial
frequency components the quantization process aims
to reduce the size of the DC and AC coefficients so
that less bandwidth is required for their transmission
(by using a divisor)[2].The sensitivity of the eye
varies with spatial frequency and hence the amplitude
threshold below which the eye will detect a particular
frequency also varies. The threshold values vary for
each of the 64 DCT coefficien`1ts and these are held
in a 2-D matrix known as the quantization table with
the threshold value to be used with a particular DCT
coefficient in the corresponding position in the
matrix.[7]
The quantized DCT coefficients are
computed with
Where G is the un quantized DCT coefficients; Q is
the quantization matrix above; and B is the quantized
DCT coefficients.
Fig 3: computation of a set of quantized DCT
coefficients
2. Zigzag Ordering:
Irregular ordering of the AC coefficients is
called zigzag Encoding. This is done so that the
coefficients are in order of increasing frequency. The
higher frequency coefficients are more likely to be 0
after quantization. This improves the compression of
run-length encoding.[6]
Fig 4: Zigzag scanning order
3. Entropy Encoding:
Entropy coding is a special form of lossless
data compression. It involves arranging the image
components in a "zigzag" order employing run-length
encoding (RLE) algorithm that groups similar
frequencies together, inserting length coding zeros.
The term data compression refers to the process of
reducing the amount of data required to represent a
given quantity of information .Entropy encoding
includes Run length coding and Huffman coding. Run
length coding is done on DC as well as AC
coefficients. The differentially coded DC coefficients
are ordered in a separate file and AC coefficients in
another. Run length coding is done individually for
them. And then Huffman coding is done on what is
left.[2]
III. DISCREATE COSINE
TRANSFORM(DCT)
This transformation can be developed
starting with the Fourier series, extending to the
Fourier transform, switching from continuous to
discrete, and finally using a cosine instead of a
complex exponential for the basis. The details of that
progression will not be reproduced here because they
are thoroughly covered elsewhere [3]. Instead, it will
Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440
www.ijera.com 438 | P a g e
be most useful to investigate the DCT in the context
of vector spaces, projections, and matrices.The DCT
transforms the data from the spatial domain to the
frequency domain. The spatial domain shows the
amplitude of the color as you move through space.
The frequency domain shows how quickly the
amplitude of the color is changing from one pixel to
the next in an image file.[3]
A . Proposed DCT Algorithm:
 The following is a general overview of the
JPEG process.
 The image is broken into 8x8 blocks of
pixels.
 Working from left to right, top to bottom,
the DCT is applied to each block.
 Each block is compressed through
quantization.
 The array of compressed blocks that
constitute the image is stored in a drastically
reduced amount of space.
 When desired, the image is reconstructed
through decompression, a process that uses
the inverse Discrete Cosine Transform
(IDCT).[3]
IV. HUFFMAN CODING
Proposed by DR. David A.Huffman in 1952.
―A method for the construction of minimum
redundancy code .Huffman code is a technique for
compressing data. It is a form of statistical coding
which attempts to reduce the amount of bits required
to represent the data.[5] It yields smallest possible
code symbol per source symbol. Given a set of data
symbols (an alphabet) and their frequencies of
occurrence (or, equivalently, their probabilities), the
method constructs a set of variable-length codeword
with the shortest average length and assigns them to
the symbols. The Huffman encoding algorithm starts
by constructing a list of all the alphabet symbols in
descending order of their probabilities. It then
constructs, from the bottom up, a binary tree with a
symbol at every leaf. This is done in steps, where at
each step two symbols with the smallest probabilities
are selected, added to the top of the partial tree,
deleted from the list, and replaced with an auxiliary
symbol representing the two original
symbols.[4]When the list is reduced to just one
auxiliary symbol (representing the entire Alphabet),
the tree is complete. The tree is then traversed to
determine the code words of the symbols.[1]
For example:
Symbols Probabilities Code Words
A1 0.4 00
A2 0.2 10
A3 0.2 11
A4 0.1 010
A5 0.1 011
Jpeg Huffman coding is done using the table
provided below. There are separate tables for AC and
DC coefficients. According to the value the category
is decided and then further coding is done. The
concept of a value‟s magnitude, designated its
category, is used extensively by the compression
procedures. Mathematically it‟s expressed as:-
Cat = ceil (log2 (abs (value) + 1))
Where Cat defines category
A sample of values and the equivalent
categories is shown here:-
Value Category
0 N/A
1 1
-3 2
-127 7
256 9
Table1:JPEG Huffman
coding(value,category)
V. RESULTS
1. For scaling factor 2:
Fig1:Original image
Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440
www.ijera.com 439 | P a g e
Fig2:Decoded image
SCALING
FACTOR
COMPRESSION
RATIO
ERROR MEAN
SQUARE
ERROR
2 19.8482 2.0216 16.0713
TABLE 2: Error Analyses for Scaling Factor 2
2. For scaling factor 4:
Fig3: Original image
Fig4:Decoded image
SCALING
FACTOR
COMPRES
SION
RATIO
ERRO
R
MEAN
SQUAR
E
ERROR
PEAK
SIGNAL
TO NOISE
RATIO
4 30.1640 2.8752 24.8827 38.2292
TABLE 3: Error Analyses for Scaling
Factor 4
VI. APPLICATION
Along with these applications, image
compression plays an important role in many other
areas including[9]:
1. Office Automation:
2. HD Satellite Images (Sensing and GIS):
3. Medical:
4. Industrial & Scientific:
`
Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440
www.ijera.com 440 | P a g e
REFERENCES
[1] Rafael C. Gonzalez, Richard E .Woods
“DIGITAL IMAGE PROCESSING” Third
edition , Pearson international edition ,pp
547-645.
[2] Anil K Jain “Fundamental of Digital Image
Processing” University of California,
Davis Printish Hall pp 476-553.
[3] Bhawna Gautam ,“Image compression using
discrete cosine transform & discrete wavelet
transform” unpublished.
[4] Mridul Kumar Mathur, Seema Loonker, Dr.
Dheeraj Saxena, “Lossless huffman coding
technique for image compression &
reconstruction using binary trees”, IJCTA
JAN-FEB2012, Available
online@www.ijcta.com
[5] John W. O‟Brien, “The JPEG Image
Compression Algorithm”
(obrienjw@colorado.edu.), APPM-3310
FINAL PROJECT, DECEMBER 2, 2005.
[6] Rahul Garg,Varun Gulshan, “JPEG Image
Compression”
[7] Article on “ JPEG”,unpublished.
[8] http://www.geom.uiuc.edu/events/courses/1
996/cmwh/Stills/basics.html Paresh Kamble,
Article on “Image compression”

Weitere ähnliche Inhalte

Was ist angesagt?

EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...
EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...
EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...cscpconf
 
A High Performance Modified SPIHT for Scalable Image Compression
A High Performance Modified SPIHT for Scalable Image CompressionA High Performance Modified SPIHT for Scalable Image Compression
A High Performance Modified SPIHT for Scalable Image CompressionCSCJournals
 
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB)
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB) IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB)
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB) cscpconf
 
Image coding through ztransform with low energy and bandwidth (izeb)
Image coding through ztransform with low energy and bandwidth (izeb)Image coding through ztransform with low energy and bandwidth (izeb)
Image coding through ztransform with low energy and bandwidth (izeb)csandit
 
Image compression by ezw combining huffman and arithmetic encoder
Image compression by ezw combining huffman and arithmetic encoderImage compression by ezw combining huffman and arithmetic encoder
Image compression by ezw combining huffman and arithmetic encoderIAEME Publication
 
Presentation of Lossy compression
Presentation of Lossy compressionPresentation of Lossy compression
Presentation of Lossy compressionOmar Ghazi
 
Single image super resolution with improved wavelet interpolation and iterati...
Single image super resolution with improved wavelet interpolation and iterati...Single image super resolution with improved wavelet interpolation and iterati...
Single image super resolution with improved wavelet interpolation and iterati...iosrjce
 
A Review on Image Compression using DCT and DWT
A Review on Image Compression using DCT and DWTA Review on Image Compression using DCT and DWT
A Review on Image Compression using DCT and DWTIJSRD
 
The fourier transform for satellite image compression
The fourier transform for satellite image compressionThe fourier transform for satellite image compression
The fourier transform for satellite image compressioncsandit
 
Two Stage Reversible Data Hiding Based On Image Interpolation and Histogram ...
Two Stage Reversible Data Hiding Based On Image Interpolation  and Histogram ...Two Stage Reversible Data Hiding Based On Image Interpolation  and Histogram ...
Two Stage Reversible Data Hiding Based On Image Interpolation and Histogram ...IJMER
 
An Efficient Block Matching Algorithm Using Logical Image
An Efficient Block Matching Algorithm Using Logical ImageAn Efficient Block Matching Algorithm Using Logical Image
An Efficient Block Matching Algorithm Using Logical ImageIJERA Editor
 
IRJET- Satellite Image Resolution Enhancement
IRJET- Satellite Image Resolution EnhancementIRJET- Satellite Image Resolution Enhancement
IRJET- Satellite Image Resolution EnhancementIRJET Journal
 
Hybrid Technique for Image Enhancement
Hybrid Technique for Image EnhancementHybrid Technique for Image Enhancement
Hybrid Technique for Image EnhancementIRJET Journal
 
Survey paper on image compression techniques
Survey paper on image compression techniquesSurvey paper on image compression techniques
Survey paper on image compression techniquesIRJET Journal
 
IMPROVEMENT OF BM3D ALGORITHM AND EMPLOYMENT TO SATELLITE AND CFA IMAGES DENO...
IMPROVEMENT OF BM3D ALGORITHM AND EMPLOYMENT TO SATELLITE AND CFA IMAGES DENO...IMPROVEMENT OF BM3D ALGORITHM AND EMPLOYMENT TO SATELLITE AND CFA IMAGES DENO...
IMPROVEMENT OF BM3D ALGORITHM AND EMPLOYMENT TO SATELLITE AND CFA IMAGES DENO...ijistjournal
 
Iaetsd degraded document image enhancing in
Iaetsd degraded document image enhancing inIaetsd degraded document image enhancing in
Iaetsd degraded document image enhancing inIaetsd Iaetsd
 

Was ist angesagt? (20)

G1802053147
G1802053147G1802053147
G1802053147
 
EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...
EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...
EXTENDED WAVELET TRANSFORM BASED IMAGE INPAINTING ALGORITHM FOR NATURAL SCENE...
 
H1802054851
H1802054851H1802054851
H1802054851
 
A High Performance Modified SPIHT for Scalable Image Compression
A High Performance Modified SPIHT for Scalable Image CompressionA High Performance Modified SPIHT for Scalable Image Compression
A High Performance Modified SPIHT for Scalable Image Compression
 
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB)
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB) IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB)
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB)
 
Image coding through ztransform with low energy and bandwidth (izeb)
Image coding through ztransform with low energy and bandwidth (izeb)Image coding through ztransform with low energy and bandwidth (izeb)
Image coding through ztransform with low energy and bandwidth (izeb)
 
Image compression by ezw combining huffman and arithmetic encoder
Image compression by ezw combining huffman and arithmetic encoderImage compression by ezw combining huffman and arithmetic encoder
Image compression by ezw combining huffman and arithmetic encoder
 
Presentation of Lossy compression
Presentation of Lossy compressionPresentation of Lossy compression
Presentation of Lossy compression
 
Single image super resolution with improved wavelet interpolation and iterati...
Single image super resolution with improved wavelet interpolation and iterati...Single image super resolution with improved wavelet interpolation and iterati...
Single image super resolution with improved wavelet interpolation and iterati...
 
A Review on Image Compression using DCT and DWT
A Review on Image Compression using DCT and DWTA Review on Image Compression using DCT and DWT
A Review on Image Compression using DCT and DWT
 
The fourier transform for satellite image compression
The fourier transform for satellite image compressionThe fourier transform for satellite image compression
The fourier transform for satellite image compression
 
Two Stage Reversible Data Hiding Based On Image Interpolation and Histogram ...
Two Stage Reversible Data Hiding Based On Image Interpolation  and Histogram ...Two Stage Reversible Data Hiding Based On Image Interpolation  and Histogram ...
Two Stage Reversible Data Hiding Based On Image Interpolation and Histogram ...
 
An Efficient Block Matching Algorithm Using Logical Image
An Efficient Block Matching Algorithm Using Logical ImageAn Efficient Block Matching Algorithm Using Logical Image
An Efficient Block Matching Algorithm Using Logical Image
 
B070306010
B070306010B070306010
B070306010
 
IRJET- Satellite Image Resolution Enhancement
IRJET- Satellite Image Resolution EnhancementIRJET- Satellite Image Resolution Enhancement
IRJET- Satellite Image Resolution Enhancement
 
Ijetcas14 372
Ijetcas14 372Ijetcas14 372
Ijetcas14 372
 
Hybrid Technique for Image Enhancement
Hybrid Technique for Image EnhancementHybrid Technique for Image Enhancement
Hybrid Technique for Image Enhancement
 
Survey paper on image compression techniques
Survey paper on image compression techniquesSurvey paper on image compression techniques
Survey paper on image compression techniques
 
IMPROVEMENT OF BM3D ALGORITHM AND EMPLOYMENT TO SATELLITE AND CFA IMAGES DENO...
IMPROVEMENT OF BM3D ALGORITHM AND EMPLOYMENT TO SATELLITE AND CFA IMAGES DENO...IMPROVEMENT OF BM3D ALGORITHM AND EMPLOYMENT TO SATELLITE AND CFA IMAGES DENO...
IMPROVEMENT OF BM3D ALGORITHM AND EMPLOYMENT TO SATELLITE AND CFA IMAGES DENO...
 
Iaetsd degraded document image enhancing in
Iaetsd degraded document image enhancing inIaetsd degraded document image enhancing in
Iaetsd degraded document image enhancing in
 

Andere mochten auch (20)

Ew4301904907
Ew4301904907Ew4301904907
Ew4301904907
 
D43062127
D43062127D43062127
D43062127
 
Cj4301492497
Cj4301492497Cj4301492497
Cj4301492497
 
Cm4301507513
Cm4301507513Cm4301507513
Cm4301507513
 
F43022431
F43022431F43022431
F43022431
 
Cf4301466469
Cf4301466469Cf4301466469
Cf4301466469
 
Eo4301852855
Eo4301852855Eo4301852855
Eo4301852855
 
D43042025
D43042025D43042025
D43042025
 
I43055257
I43055257I43055257
I43055257
 
Ey4301913917
Ey4301913917Ey4301913917
Ey4301913917
 
F43053237
F43053237F43053237
F43053237
 
D43021519
D43021519D43021519
D43021519
 
Fa4301925930
Fa4301925930Fa4301925930
Fa4301925930
 
Dg4301625635
Dg4301625635Dg4301625635
Dg4301625635
 
El4301832837
El4301832837El4301832837
El4301832837
 
Cc4301455457
Cc4301455457Cc4301455457
Cc4301455457
 
C43021014
C43021014C43021014
C43021014
 
J43025258
J43025258J43025258
J43025258
 
Lk3619561964
Lk3619561964Lk3619561964
Lk3619561964
 
Recorrido por 10 maravillosos cenotes
Recorrido por 10 maravillosos cenotesRecorrido por 10 maravillosos cenotes
Recorrido por 10 maravillosos cenotes
 

Ähnlich wie By4301435440

An approach for color image compression of bmp and tiff images using dct and dwt
An approach for color image compression of bmp and tiff images using dct and dwtAn approach for color image compression of bmp and tiff images using dct and dwt
An approach for color image compression of bmp and tiff images using dct and dwtIAEME Publication
 
3 d discrete cosine transform for image compression
3 d discrete cosine transform for image compression3 d discrete cosine transform for image compression
3 d discrete cosine transform for image compressionAlexander Decker
 
11.0003www.iiste.org call for paper_d_discrete cosine transform for image com...
11.0003www.iiste.org call for paper_d_discrete cosine transform for image com...11.0003www.iiste.org call for paper_d_discrete cosine transform for image com...
11.0003www.iiste.org call for paper_d_discrete cosine transform for image com...Alexander Decker
 
An efficient image compression algorithm using dct biorthogonal wavelet trans...
An efficient image compression algorithm using dct biorthogonal wavelet trans...An efficient image compression algorithm using dct biorthogonal wavelet trans...
An efficient image compression algorithm using dct biorthogonal wavelet trans...eSAT Journals
 
Review of Diverse Techniques Used for Effective Fractal Image Compression
Review of Diverse Techniques Used for Effective Fractal Image CompressionReview of Diverse Techniques Used for Effective Fractal Image Compression
Review of Diverse Techniques Used for Effective Fractal Image CompressionIRJET Journal
 
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...IOSR Journals
 
High Speed Data Exchange Algorithm in Telemedicine with Wavelet based on 4D M...
High Speed Data Exchange Algorithm in Telemedicine with Wavelet based on 4D M...High Speed Data Exchange Algorithm in Telemedicine with Wavelet based on 4D M...
High Speed Data Exchange Algorithm in Telemedicine with Wavelet based on 4D M...Dr. Amarjeet Singh
 
Modified Skip Line Encoding for Binary Image Compression
Modified Skip Line Encoding for Binary Image CompressionModified Skip Line Encoding for Binary Image Compression
Modified Skip Line Encoding for Binary Image Compressionidescitation
 
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIXSQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIXijcsit
 
Jpeg image compression using discrete cosine transform a survey
Jpeg image compression using discrete cosine transform   a surveyJpeg image compression using discrete cosine transform   a survey
Jpeg image compression using discrete cosine transform a surveyIJCSES Journal
 
Design of Image Compression Algorithm using MATLAB
Design of Image Compression Algorithm using MATLABDesign of Image Compression Algorithm using MATLAB
Design of Image Compression Algorithm using MATLABIJEEE
 
A Novel Image Compression Approach Inexact Computing
A Novel Image Compression Approach Inexact ComputingA Novel Image Compression Approach Inexact Computing
A Novel Image Compression Approach Inexact Computingijtsrd
 
IRJET- Implementation of Histogram based Tsallis Entropic Thresholding Segmen...
IRJET- Implementation of Histogram based Tsallis Entropic Thresholding Segmen...IRJET- Implementation of Histogram based Tsallis Entropic Thresholding Segmen...
IRJET- Implementation of Histogram based Tsallis Entropic Thresholding Segmen...IRJET Journal
 
Evaluation of graphic effects embedded image compression
Evaluation of graphic effects embedded image compression Evaluation of graphic effects embedded image compression
Evaluation of graphic effects embedded image compression IJECEIAES
 

Ähnlich wie By4301435440 (20)

An approach for color image compression of bmp and tiff images using dct and dwt
An approach for color image compression of bmp and tiff images using dct and dwtAn approach for color image compression of bmp and tiff images using dct and dwt
An approach for color image compression of bmp and tiff images using dct and dwt
 
3 d discrete cosine transform for image compression
3 d discrete cosine transform for image compression3 d discrete cosine transform for image compression
3 d discrete cosine transform for image compression
 
11.0003www.iiste.org call for paper_d_discrete cosine transform for image com...
11.0003www.iiste.org call for paper_d_discrete cosine transform for image com...11.0003www.iiste.org call for paper_d_discrete cosine transform for image com...
11.0003www.iiste.org call for paper_d_discrete cosine transform for image com...
 
An efficient image compression algorithm using dct biorthogonal wavelet trans...
An efficient image compression algorithm using dct biorthogonal wavelet trans...An efficient image compression algorithm using dct biorthogonal wavelet trans...
An efficient image compression algorithm using dct biorthogonal wavelet trans...
 
Review of Diverse Techniques Used for Effective Fractal Image Compression
Review of Diverse Techniques Used for Effective Fractal Image CompressionReview of Diverse Techniques Used for Effective Fractal Image Compression
Review of Diverse Techniques Used for Effective Fractal Image Compression
 
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
DCT based Steganographic Evaluation parameter analysis in Frequency domain by...
 
J017156874
J017156874J017156874
J017156874
 
High Speed Data Exchange Algorithm in Telemedicine with Wavelet based on 4D M...
High Speed Data Exchange Algorithm in Telemedicine with Wavelet based on 4D M...High Speed Data Exchange Algorithm in Telemedicine with Wavelet based on 4D M...
High Speed Data Exchange Algorithm in Telemedicine with Wavelet based on 4D M...
 
Modified Skip Line Encoding for Binary Image Compression
Modified Skip Line Encoding for Binary Image CompressionModified Skip Line Encoding for Binary Image Compression
Modified Skip Line Encoding for Binary Image Compression
 
Squashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse MatrixSquashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse Matrix
 
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIXSQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
 
Squashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse MatrixSquashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse Matrix
 
40120140505005 2
40120140505005 240120140505005 2
40120140505005 2
 
40120140505005
4012014050500540120140505005
40120140505005
 
40120140505005
4012014050500540120140505005
40120140505005
 
Jpeg image compression using discrete cosine transform a survey
Jpeg image compression using discrete cosine transform   a surveyJpeg image compression using discrete cosine transform   a survey
Jpeg image compression using discrete cosine transform a survey
 
Design of Image Compression Algorithm using MATLAB
Design of Image Compression Algorithm using MATLABDesign of Image Compression Algorithm using MATLAB
Design of Image Compression Algorithm using MATLAB
 
A Novel Image Compression Approach Inexact Computing
A Novel Image Compression Approach Inexact ComputingA Novel Image Compression Approach Inexact Computing
A Novel Image Compression Approach Inexact Computing
 
IRJET- Implementation of Histogram based Tsallis Entropic Thresholding Segmen...
IRJET- Implementation of Histogram based Tsallis Entropic Thresholding Segmen...IRJET- Implementation of Histogram based Tsallis Entropic Thresholding Segmen...
IRJET- Implementation of Histogram based Tsallis Entropic Thresholding Segmen...
 
Evaluation of graphic effects embedded image compression
Evaluation of graphic effects embedded image compression Evaluation of graphic effects embedded image compression
Evaluation of graphic effects embedded image compression
 

Kürzlich hochgeladen

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

By4301435440

  • 1. Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440 www.ijera.com 435 | P a g e Jpeg Image Compression Rajshree („), Naincey Rathore (*), Neha Kuttarmare (†), Manasi Gangapurkar (^), Nishant.H.Pandey(&) („) Department of Electronics Engineering, G. H. Raisoni College of Engineering for Women, Nagpur (*) Department of Electronics Engineering, G. H. Raisoni College of Engineering for Women, Nagpur (†) Department of Electronics Engineering, G. H. Raisoni College of Engineering for Women, Nagpur (^) Department of Electronics Engineering, G. H. Raisoni College of Engineering for Women, Nagpur (&)Department of Electronics Engineering, G. H. Raisoni College of Engineering for Women, Nagpur Abstract One of the most common methods of representing graphical information in a digital form is by spatially sampling the color components of an image—red, green, and blue for example. These digitized samples can be placed in a long sequence for the purpose of storage and transmission. For any reasonably detailed image, this string of samples can become very long. As of this writing, a typical digital camera will produce images in excess of three million samples. Consequently, various methods are employed to translate this representation into a compact form. A particular approach to image data compression—known as the JPEG compression. The objective of JPEG image compression is simple: to store the data necessary to reconstruct a digital image using as little space as possible while maintaining enough visual detail so that storing the image is actually worthwhile. The basis for the JPEG algorithm is the Discrete Cosine Transform (DCT) which extracts spatial frequency information from the spatial amplitude samples and huffman coding in MATLAB. Keywords—compression, jpeg, discrete cosine transform, huffman coding. I. INTRODUCTION A. OVERVIEW An image consists of rectangular array of dots called pixels which are mainly of three types: BLACK&WHITE GREY COLOUR A digital image is an array of real or complex numbers represented by finite number of bits. Image processing is the process of manupulating and analysing data in order to improve its quality.[6]There are three techniques of processing:[8] a) Image Enhancement: It refers to sharpening of image features. b) Image restoration: It refers to filtering of observed image. c) Image compression: It refers to minimizing the number of bits required to represent image. RESEARCH ARTICLE OPEN ACCESS
  • 2. Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440 www.ijera.com 436 | P a g e Image compression is the art and science of reducing the amount of data required to represent an image.It is most useful and commercially successful technologies in the field of Digital Image Processing. It is mainly of two types: Lossy compression Lossless compression It should be noted early that, unlike compression techniques used with other types of data—like financial records, or word processing documents—JPEG is a lossy algorithm, meaning that visual information is selectively discarded in order to improve the compression ratio. Once discarded, this information can not be recovered, but it is selected to minimize the effect on the perception of someone viewing the reconstructed image. In order to determine which information can be removed, and to perform the removal in a straight forward fashion, the image data is converted from a space-intensity form to a space- frequency form.[5] B. History In the late 1980‟s and early 1990‟s, a joint com- mittee, known as the Joint Photographic Experts Group (JPEG), of the International Standards Organization (ISO) and the Comit´e Consultatif International T´ el´ephonique et T´ el´egraphique (CCITT) developed and established the first in- ternational compression standard for continuous-tone images. A good summary of their work can be found in.[5] C. TECHNICAL DETAILS A digitized sample is known as a picture element or pixel for short. Each pixel is most commonly represented by three 8-bit unsigned integers. The three values correspond to theintensity of three color components1 (e.g. red, green, and blue) on a scale of 0 to 255. JPEG compression operates on each color component separately, so the discussion that follows will deal only with 8-bit pixels. It may be useful for the reader to visualize grayscale images (like a black and white photograph), wherein each pixel can be stored as an 8-bit value indicating the amount of whiteness, instead of amounts of redness, greenness, and blueness. There are several variants— modes of operation—of the JPEG algorithm included in the standard. We are principally concerned with the Baseline DCT Sequential mode. This compression method takes place in four stages, which will be described in detail shortly. 1) The uncompressed source data is separated into 8×8 blocks of pixels. 128 is subtracted from the value of each pixel so that the new effective range is from - 128 to 127. 2) Each block is transformed into an 8 × 8 block of frequency coefficients. 3) These coefficients are quantized. 4) An entropy encoder is applied to the quantized coeffi-cients.[5] This paper is divided into four sections : I . Compression II . Discrete cosine transform III. Huffman coding IV. Results V . Applications VI. References II. COMPRESSION A. Compression Framework: The objective of image compression is to reduce irrelevance and redundancy of the image data in order to be able to store or transmit data in an efficient form.[1] Image compression is minimizing the size in bytes of a graphics file without degrading the quality of the image to an unacceptable level. The reduction in file size allows more images to be stored in a given amount of disk or memory space. It also reduces the time required for images to be sent over the Internet or downloaded from Web pages. Ideally, an image compression technique removes redundant and/or irrelevant information, and efficiently encodes what remains. Practically, it is often necessary to throw away both non- redundant information and relevant information to achieve the required compression.[7] Fig1:compression framework
  • 3. Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440 www.ijera.com 437 | P a g e B. Block Diagram: Fig 2: Block diagram 1. Quantization: In addition to classifying the spatial frequency components the quantization process aims to reduce the size of the DC and AC coefficients so that less bandwidth is required for their transmission (by using a divisor)[2].The sensitivity of the eye varies with spatial frequency and hence the amplitude threshold below which the eye will detect a particular frequency also varies. The threshold values vary for each of the 64 DCT coefficien`1ts and these are held in a 2-D matrix known as the quantization table with the threshold value to be used with a particular DCT coefficient in the corresponding position in the matrix.[7] The quantized DCT coefficients are computed with Where G is the un quantized DCT coefficients; Q is the quantization matrix above; and B is the quantized DCT coefficients. Fig 3: computation of a set of quantized DCT coefficients 2. Zigzag Ordering: Irregular ordering of the AC coefficients is called zigzag Encoding. This is done so that the coefficients are in order of increasing frequency. The higher frequency coefficients are more likely to be 0 after quantization. This improves the compression of run-length encoding.[6] Fig 4: Zigzag scanning order 3. Entropy Encoding: Entropy coding is a special form of lossless data compression. It involves arranging the image components in a "zigzag" order employing run-length encoding (RLE) algorithm that groups similar frequencies together, inserting length coding zeros. The term data compression refers to the process of reducing the amount of data required to represent a given quantity of information .Entropy encoding includes Run length coding and Huffman coding. Run length coding is done on DC as well as AC coefficients. The differentially coded DC coefficients are ordered in a separate file and AC coefficients in another. Run length coding is done individually for them. And then Huffman coding is done on what is left.[2] III. DISCREATE COSINE TRANSFORM(DCT) This transformation can be developed starting with the Fourier series, extending to the Fourier transform, switching from continuous to discrete, and finally using a cosine instead of a complex exponential for the basis. The details of that progression will not be reproduced here because they are thoroughly covered elsewhere [3]. Instead, it will
  • 4. Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440 www.ijera.com 438 | P a g e be most useful to investigate the DCT in the context of vector spaces, projections, and matrices.The DCT transforms the data from the spatial domain to the frequency domain. The spatial domain shows the amplitude of the color as you move through space. The frequency domain shows how quickly the amplitude of the color is changing from one pixel to the next in an image file.[3] A . Proposed DCT Algorithm:  The following is a general overview of the JPEG process.  The image is broken into 8x8 blocks of pixels.  Working from left to right, top to bottom, the DCT is applied to each block.  Each block is compressed through quantization.  The array of compressed blocks that constitute the image is stored in a drastically reduced amount of space.  When desired, the image is reconstructed through decompression, a process that uses the inverse Discrete Cosine Transform (IDCT).[3] IV. HUFFMAN CODING Proposed by DR. David A.Huffman in 1952. ―A method for the construction of minimum redundancy code .Huffman code is a technique for compressing data. It is a form of statistical coding which attempts to reduce the amount of bits required to represent the data.[5] It yields smallest possible code symbol per source symbol. Given a set of data symbols (an alphabet) and their frequencies of occurrence (or, equivalently, their probabilities), the method constructs a set of variable-length codeword with the shortest average length and assigns them to the symbols. The Huffman encoding algorithm starts by constructing a list of all the alphabet symbols in descending order of their probabilities. It then constructs, from the bottom up, a binary tree with a symbol at every leaf. This is done in steps, where at each step two symbols with the smallest probabilities are selected, added to the top of the partial tree, deleted from the list, and replaced with an auxiliary symbol representing the two original symbols.[4]When the list is reduced to just one auxiliary symbol (representing the entire Alphabet), the tree is complete. The tree is then traversed to determine the code words of the symbols.[1] For example: Symbols Probabilities Code Words A1 0.4 00 A2 0.2 10 A3 0.2 11 A4 0.1 010 A5 0.1 011 Jpeg Huffman coding is done using the table provided below. There are separate tables for AC and DC coefficients. According to the value the category is decided and then further coding is done. The concept of a value‟s magnitude, designated its category, is used extensively by the compression procedures. Mathematically it‟s expressed as:- Cat = ceil (log2 (abs (value) + 1)) Where Cat defines category A sample of values and the equivalent categories is shown here:- Value Category 0 N/A 1 1 -3 2 -127 7 256 9 Table1:JPEG Huffman coding(value,category) V. RESULTS 1. For scaling factor 2: Fig1:Original image
  • 5. Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440 www.ijera.com 439 | P a g e Fig2:Decoded image SCALING FACTOR COMPRESSION RATIO ERROR MEAN SQUARE ERROR 2 19.8482 2.0216 16.0713 TABLE 2: Error Analyses for Scaling Factor 2 2. For scaling factor 4: Fig3: Original image Fig4:Decoded image SCALING FACTOR COMPRES SION RATIO ERRO R MEAN SQUAR E ERROR PEAK SIGNAL TO NOISE RATIO 4 30.1640 2.8752 24.8827 38.2292 TABLE 3: Error Analyses for Scaling Factor 4 VI. APPLICATION Along with these applications, image compression plays an important role in many other areas including[9]: 1. Office Automation: 2. HD Satellite Images (Sensing and GIS): 3. Medical: 4. Industrial & Scientific: `
  • 6. Rajshree et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.435-440 www.ijera.com 440 | P a g e REFERENCES [1] Rafael C. Gonzalez, Richard E .Woods “DIGITAL IMAGE PROCESSING” Third edition , Pearson international edition ,pp 547-645. [2] Anil K Jain “Fundamental of Digital Image Processing” University of California, Davis Printish Hall pp 476-553. [3] Bhawna Gautam ,“Image compression using discrete cosine transform & discrete wavelet transform” unpublished. [4] Mridul Kumar Mathur, Seema Loonker, Dr. Dheeraj Saxena, “Lossless huffman coding technique for image compression & reconstruction using binary trees”, IJCTA JAN-FEB2012, Available online@www.ijcta.com [5] John W. O‟Brien, “The JPEG Image Compression Algorithm” (obrienjw@colorado.edu.), APPM-3310 FINAL PROJECT, DECEMBER 2, 2005. [6] Rahul Garg,Varun Gulshan, “JPEG Image Compression” [7] Article on “ JPEG”,unpublished. [8] http://www.geom.uiuc.edu/events/courses/1 996/cmwh/Stills/basics.html Paresh Kamble, Article on “Image compression”