1 / 9

Ch3 Image Compression

Ch3 Image Compression. John. F. Kennedy (Former President of USA). Who is this man?. Ask not what your country can do for you -- ask what you can do for your country. John F. Kennedy Inaugural Address January 20, 1961. Watch the video at 4:00mins. Is it possible to compress this sentence?.

Download Presentation

Ch3 Image Compression

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. Ch3 Image Compression

  2. John. F. Kennedy(Former President of USA) Who is this man?

  3. Ask not what your country can do for you -- ask what you can do for your country. John F. Kennedy Inaugural Address January 20, 1961 Watch the video at 4:00mins

  4. Is it possible to compress this sentence?

  5. Ask not what your country can do for you -- ask what you can do for your country. 63 letters + 16 spaces = 79 units How to compress it. Keep the data but shorten the length

  6. We know that… "ask" appears two times "what" appears two times "your" appears two times "country" appears two times "can" appears two times "do" appears two times "for" appears two times "you" appears two times

  7. There we can represent those frequency words by numbers.. 1. ask 2. what 3. your 4. country 5. can 6. do 7. for 8. you

  8. Ask not what your country can do for you -- ask what you can do for your country. will become … 1 not 2 3 4 5 6 7 8 -- 1 2 8 5 6 7 3 4. 37 units

  9. Activity Use Winzip to compress two files, “text1.doc” and “text2.doc”, with similar size. Which one has higher compression rate? Why?

More Related