compressing xkcd
play

COMPRESSING XKCD IMAGES By Akarsh Kumar XKCD IMAGE EXAMPLE - PowerPoint PPT Presentation

COMPRESSING XKCD IMAGES By Akarsh Kumar XKCD IMAGE EXAMPLE COMPRESSION AND DECOMPRESSION ALGORITHM Stored height and width Stored location and length of horizontal black strips Used 1 st bit to tell if the integer ahead was 7 bits


  1. COMPRESSING XKCD IMAGES By Akarsh Kumar

  2. XKCD IMAGE EXAMPLE

  3. COMPRESSION AND DECOMPRESSION ALGORITHM • Stored height and width • Stored location and length of horizontal black strips • Used 1 st bit to tell if the integer ahead was 7 bits long or 15 bits long. (0 for 7 and 1 for 15, giving a total of 8 or 16) • Decompressed image:

  4. EFFICIENCY • For the example xkcd image, it reduced the size of the image from an original 21 kb to 19 kb. • This is less than 1 bit per pixel. • .9 bits per pixel for the example image • Compression (compressed kb/original kb): • 532: 16/29 • 758: 11/22 • 809: 27/48 • 889: 13/20 • 1067: 13/27

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend