Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What does compression ratio of 25:1 imply?

Status
Not open for further replies.

amith

Member level 2
Joined
Feb 17, 2005
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,560
Hi ,

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

msemsar

Junior Member level 1
Joined
Feb 17, 2006
Messages
15
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Location
Iran
Activity points
1,369
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
 

sinu_gowde

Full Member level 2
Joined
Nov 10, 2005
Messages
137
Helped
32
Reputation
64
Reaction score
12
Trophy points
1,298
Activity points
3,490
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.

for more information:
* 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...
 

ArjunSC

Member level 1
Joined
Dec 24, 2005
Messages
40
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,669
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).
 

amith

Member level 2
Joined
Feb 17, 2005
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,560
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.
 

hwangje3

Newbie level 2
Joined
Jan 8, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
compression ratio

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

shakeelsultan

Junior Member level 1
Joined
Aug 10, 2006
Messages
17
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,367
Re: compression ratio

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

soloktanjung

Full Member level 6
Joined
Nov 20, 2006
Messages
364
Helped
51
Reputation
100
Reaction score
43
Trophy points
1,308
Location
nowhere
Activity points
3,194
compression ratio

Hi,

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

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

Please anyone clear my doubt.

Thanks.
 

deepu_s_s

Full Member level 5
Joined
Mar 24, 2007
Messages
305
Helped
15
Reputation
30
Reaction score
5
Trophy points
1,298
Activity points
3,021
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
 

soloktanjung

Full Member level 6
Joined
Nov 20, 2006
Messages
364
Helped
51
Reputation
100
Reaction score
43
Trophy points
1,308
Location
nowhere
Activity points
3,194
compression ratio

Hi Deepak,

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

deepu_s_s

Full Member level 5
Joined
Mar 24, 2007
Messages
305
Helped
15
Reputation
30
Reaction score
5
Trophy points
1,298
Activity points
3,021
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

Added after 33 seconds:

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

:)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top