DSPRelated.com
Forums

Quality of JPEG compression.

Started by rukmanimohan04 March 28, 2005
Hi,
I want to know on what basis a Jpeg compressed image qualified?
ie., How does the images are said to have 100%, 90% and so on...
qualities???
Does it depend on the quantisation values??
waiting for reply,
rukmani,




El 28/03/2005, a las 17:45, rukmanimohan04 escribi

> Hi,
> I want to know on what basis a Jpeg compressed image qualified?
> ie., How does the images are said to have 100%, 90% and so on...
> qualities???
> Does it depend on the quantisation values??
> waiting for reply,
> rukmani,

Steps for JPEG compression, IIRC:

- Change of space: from RGB -> Lab or similar.
- DCT of L channel in 8x8 pixel blocks
- DCT of a & b channel (16x16 pixel blocks)

This gives you a different representation of your image, more suitable
for compression. We haven't lost any quality...

- Quantization of coefficients (this can be more or less agressive,
depending on quality settings)
- RLE encoding of coefficients
- Arithmetic Coding of the RLE-encoded stream

Even if your quantization is as fine as possible, you can get normally
a 2-4 compression ration due to the Arithmetic Coder.

It's a good idea to get a paper on JPEG ;-)

--
Juan de Dios Santander Vela
Diplomado en CC. Ficas, Ingeniero en Electrica
Doctorando en Tecnologs Multimedia
Becario Predoctoral del Instituto de Astrofica de Andaluc

Katharine Hepburn: A veces me pregunto si los hombres y mujeres se
complementan. Quizdebern vivir puerta con puerta, y hacerse visitas
de vez en cuando.