Computer Science 1033A/B Lecture Notes - Lecture 2: Joint Photographic Experts Group, Lossless Compression, Huffman Coding
mikekuo58 and 38820 others unlocked
25
COMPSCI 1033A/B Full Course Notes
Verified Note
25 documents
Document Summary
The font size in a ms word document is set to be 36 points. We are using standard 8 1 2 by 11 inch paper, portrait, with a 1 inch margin at the top and a 1 2 inch margin at the bottom. The leading is 0 (no space between the lines). 2 bit colour -> 2^2 -> 4 shades. Compression: finds other way of storing data without taking up more space. Lossy compression: reduces a file by permanently eliminating certain information. Huffman coding: use least number of bits for common letters and more bits for less common numbers. Rather than ascii, each letter is 8 bits (1 byte) o. Ascii the word see is 24 bits, huffman is 10 bits (considered common letters) Human eye more sensitive to brightness details than to fine colour details o. Two adjacent pixels with similar colours will store both those pixels with the same colour and discard the other colour.