Continue to Site

# What does compression ratio of 25:1 imply?

Status
Not open for further replies.

#### amith

##### Member level 2
Hi ,

what does this implies , compression ratio of 25:1
and is DCT is lossy or lossless , before quantization.

Re: compression ratio

Hi,
Compression ratio means the amount of compression in order to coding a raw data, in other words when we say the compression ratio is 25:1 it means that the size of coded stream is 1/25 of the original one, in such case you can convert a 100kB file to a 4KB one,
About the DCT, because DCT coefficients are fractional and not integer, so there is loss when we do inverse DCT, but I thinks the amount of loss is negligible.
Best regards,
Mehdi

Re: compression ratio

Hi Amith,
Compression Ratio:
The compression ratio[/colo] is a single number that can be used to predict the performance of any internal-combustion engine. It is a ratio between the volume of a combustion chamber when the piston is at the bottom of its stroke, and the volume when the piston is at the top of its stroke. The higher the compression ratio, the more mechanical energy an engine can squeeze from its air-fuel mixture. Higher compression ratios, however, also make detonation more likely.

* https://en.wikipedia.org/wiki/Compression_ratio

&

compression ratio of 25:1 - This means that, the algorithm used to compress the data, had compressed it to this extent. it has compressed 25 data elements to a single data element.

cheers...

Re: compression ratio

hi amith,

DCT is lossy compression and DFT is not...........quantization is also a lossy process.

compression ratio is the sizeoffile(before compression)/sizeoffile(after compression).

Re: compression ratio

Hi Arjun,

Thanks for the information ,but

while reconstructioning an DCT Image the values is slightly differes which is neglible , but how DFT is not lossy can u clear me .does it give with out error , in reconstruction.

compression ratio

If not quantizing after transform, it'll prefectly reconstructed.

Re: compression ratio

Well compression ratio gives a measure of how much your algorithm can compress the data, Moreover DCT is lossless before quantization.

compression ratio

Hi,

I'm a bit confuse here.
Before quantization, is DCT lossless?

I know that once quantize, it will be lossy compression.

Thanks.

compression ratio

Hi Hairo,

When DCT is performed on the macroblock , the data is not lost.

All the higher frequencies are grouped and all the low frequencies are grouped in a 8x8 matrix form.

Most of the data is represented by the upper left value.

Here there is no loss because of DCT. We are just representing in a newer domain, spatial domain.

After this, the quantization takes places . It removes the higher frequency values as they are very small or zero's.

Removing these , wont be much loss. But it is still a lossy image..

I hope u understood.

If any doubts... get back to me

Thanks and Regards
Deepak

compression ratio

Hi Deepak,

Thanks a lot for the explanation.
The point is quantization process makes the DCT a lossy transform.

compression ratio

Yes, But that loss can be neglected.

The loss occurs because , in the quantization u scale the DCT co-efficients. Remember DCT values are of floating point.

So When u do inverse quantization on the decoder side, u may not get the exact result as that of encoder side.

Hence it is a lossy compression. But this can be neglected

IF u this i helped u ......... Please clicked on helped me

Status
Not open for further replies.