3.0

3.0 | 4 ratings Rate this file 57 Downloads (last 30 days) File Size: 41.9 KB File ID: #31776
image thumbnail

Image compression based on DCT

by Said BOUREZG

 

13 Jun 2011

compdct,decompdct,compdct,resize,proba,zigzag,zigzaginv zigzag16,zigzag32,rle,abais

| Watch this File

File Information
Description

compdct.m:
main code to compress an image we only run compdct.m
decompdct.m:
to decompress an image we only run compdct.m
resize.m:
proba.m:
zigzag.m:
zigzag scan for bloc [8 8]
zigzaginv.m:
inverse zigzag scan for bloc [8 8]
zigzag16.m:
zigzag scan for bloc [16 16]
zigzinv16.m:
inverse zigzag scan for bloc [16 16]
zigzag32.m:
zigzag scan for bloc [32 32]
zigzinv32.m:
inverse zigzag scan for bloc [32 32]
rle.m:
Run length encoding
irle.m:
Inverse Run length encoding
abais.m:
reduce value big than 255

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
communications, image coding(2), image compression(2), image processing, medical image compression, simulation
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (12)
06 Mar 2013 Said BOUREZG

Hi, Dines kumar
Thank you for interesting
q must be 8
and th "threshold" you can take any + value from 0 to +infinity

06 Mar 2013 Dines kumar

what value should i enter for th and q

10 Jul 2012 amouna hmd  
10 Jul 2012 amouna hmd

hi!
I have a question, please help me:
during compression (comptdct.m), what is the value of TH or "seuil" that I must define and why?

02 Mar 2012 shravan

is this only for gray scale images?

11 Feb 2012 en-ahmed aziz

goood

23 Dec 2011 rafik

thank you very much

17 Sep 2011 Said BOUREZG

Hi min min,
Thank you.

12 Sep 2011 Mr Smart  
30 Jul 2011 Said BOUREZG

Hi shuaibur,
Thank you for your rating.

28 Jul 2011 shuaibur  
18 Jun 2011 Said BOUREZG

We use in this code of compression/decompression:
Reading image-->DCT transformation-->Thresholding-->Quantization-->RLE encoding--> Huffman encoding-->Save a compressed image in file (*.dct)
in decompression steps we should open file(*.dct) and fell these steps: Huffman decoding-->RLE decoding--> Quantization inverse-->IDCT transformation-->Open image as Bmp image

Contact us