1 / 21

IMAGE COMPRESSION BASE ON DCT DWT

IMAGE COMPRESSION BASE ON DCT DWT. 2012/12/07 Ying Wun , Huang. OUTLINE. Why DCT DWT? Proposed Method Proposed Method-Residue Appendix: C Code Interview Questions. Why DCT DWT?. The scan order of loading image. Why DCT DWT?. Proposed Method. 8×256 DCT DWT Compression.

Download Presentation

IMAGE COMPRESSION BASE ON DCT DWT

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IMAGE COMPRESSION BASE ON DCT DWT 2012/12/07 Ying Wun, Huang

  2. OUTLINE • Why DCT DWT? • Proposed Method • Proposed Method-Residue • Appendix: C Code Interview Questions

  3. Why DCT DWT? • The scan order of loading image

  4. Why DCT DWT?

  5. Proposed Method • 8×256 DCT DWT Compression

  6. Proposed Method • DCT+DWT

  7. Proposed Method • JPEG×JPEG2000 Quantization First row of JPEG2000 × ÷12 First column of JPEG

  8. Proposed Method • JPEG×JPEG2000 Quantization

  9. Proposed Method

  10. Proposed Method-Residue • Residue With DCT DWT Compression

  11. Proposed Method-Residue - = Resize: 512×512 512×512 OriginalImage Residue

  12. Proposed Method-Residue • MPEG4-inter×JPEG2000 Quantization First row of JPEG2000 × ÷16 First column of MPEG4-inter

  13. Proposed Method-Residue • Simulation Result

  14. Appendix: C Code Interview Questions • Coding Style if(x==2) if(2==x)

  15. Appendix: C Code Interview Questions • Coding Style Compile if(x=2) DONE Compile if(2=x) ERROR

  16. Appendix: C Code Interview Questions • Example x=2 intx=1,y=5; if(x=2) y=3; return; Compile x=?, y=? y=3 x=0 int x=0,y=5; if(x=0) y=8; return; Compile x=?, y=? y=5

  17. Appendix: C Code Interview Questions • Property of XOR Z = X^Y X = X^Z Y = Y^X X = 7 Y = 3 X = 3 Y = 7

  18. Appendix: C Code Interview Questions • Exchange two variables without TEMP TEMP=x; x=y; y=TEMP; x=x^y; y=y^x; x=x^y; x^=y^=x^=y;

  19. Appendix: C Code Interview Questions • Do Not Use “if else,…” if x is true, than r=y. r=x?y:z; if x is false, than r=z.

  20. Appendix: C Code Interview Questions char func(char x, char y, char z) { return } • x*y|!x*z;

  21. The End.

More Related