1 / 21

Digital Image Processing ECE.09.452/ECE.09.552 Fall 2009

Digital Image Processing ECE.09.452/ECE.09.552 Fall 2009. Lecture 7 November 16, 2009. Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall09/dip/. Plan. Digital Image Compression Fundamental principles Image Compression Model

afric
Download Presentation

Digital Image Processing ECE.09.452/ECE.09.552 Fall 2009

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. Digital Image ProcessingECE.09.452/ECE.09.552Fall 2009 Lecture 7November 16, 2009 Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall09/dip/

  2. Plan • Digital Image Compression • Fundamental principles • Image Compression Model • Recall: Information Theory • Image Compression Standards • DCT (JPEG): Lossy • LZW (GIF, TIFF, ZIP): Lossless • Lab 4: Digital Image Compression • Discussion: Final Project

  3. DIP: Details

  4. Fundamentals • Justification • Applications • Principle • Redundancy • Types • Lossy • Lossless • demos/demo6dithering/

  5. Transform Quantize • Encode • Source • Channel f(x,y) Compression Model >>dct2 /demo10dct/dctdemo

  6. Recall: Measures of Information • Definitions • Probability • Information • Entropy • Source Rate • Recall: Shannon’s Theorem • If R < C = B log2(1 + S/N), then we can have error-free transmission in the presence of noise MATLAB DEMO: http://engineering.rowan.edu/~shreek/spring09/ecomms/entropy.m

  7. Analog Message A/D Converter Source Encoder Digital Source Recall: Source Encoding • Why are we doing this? Source Symbols (0/1) Source Entropy Encoded Symbols (0/1) Source-Coded Symbol Entropy

  8. Source Encoding Requirements • Decrease Lav • Unique decoding • Instantaneous decoding

  9. Recall: Huffman Coding 2-Step Process • Reduction • List symbols in descending order of probability • Reduce the two least probable symbols into one symbol equal to their combined probability • Reorder in descending order of probability at each stage • Repeat until only two symbols remain • Splitting • Assign 0 and 1 to the final two symbols remaining and work backwards • Expand code at each split by appending a 0 or 1 to each code word • Example m(j) A B C D E F G H P(j) 0.1 0.18 0.4 0.05 0.06 0.1 0.07 0.04

  10. Information Concentration Data Compaction Feature Extraction Discrete Cosine Transform Discrete Cosine Transform >>dct2 /demo10dct/dctdemo

  11. Laser Based Ultrasound* *Karta Technologies Inc., San Antonio, TX

  12. Example: Photothermal Shearography Images Before Deformation - After Deformation = Fringe Pattern Sample 10 0.254 mm depth -605.36 MPa stress

  13. 1 2 3 4 5 1 2 3 4 5 Preprocessing Fringe Pattern DCT Coefficients Zonal Mask DCT (1,1) (1,2) (2,1) (2,2) . . . Artificial Neural Network Feature Vector

  14. JPEG Compression Standard Compute DCT F(u,v) Reorder to form 1-D Sequence Level Shift f(x,y) Normalize Compute DC Coefficient Compute AC Coefficients http://www.jpeg.org/

  15. LZW Algorithm Initialize string table with single character strings Read first input character = w Read next input character = k y No more k’s? Stop Output = code(w) n y wk in string table? w = wk n Output = code(w) Put wk in string table w = k United States Patent No. 4,558,302, Patented by Unisys Corp.

  16. Karhunen-Loeve (Hotelling) Transform Hotelling transform of x • demos/demo7klt/

  17. Lab 3: Digital Image Restoration http://engineering.rowan.edu/~shreek/fall09/dip/lab3.html

  18. Lab 4: Digital Image Compression http://engineering.rowan.edu/~shreek/fall09/dip/lab4.html

  19. Final Project

  20. Summary

More Related