Vorlesung Codierungstheorie Quellencodierung Bild- und Videokompression.

Slides:



Advertisements
Similar presentations
T.Sharon-A.Frank 1 Multimedia Compression Basics.
Advertisements

Image Compression. Data and information Data is not the same thing as information. Data is the means with which information is expressed. The amount of.
Dale & Lewis Chapter 3 Data Representation. Representing color Similarly to how color is perceived in the human eye, color information is encoded in combinations.
Source Coding for Video Application
Chapter 7 End-to-End Data
School of Computing Science Simon Fraser University
Spring 2003CS 4611 Multimedia Outline Compression RTP Scheduling.
By Max Havir. Video Compression MPEG1 MPEG2 MPEG4 MPEG7 MPEG21 Cinepak Motion JPEG A Motion JPEG B H.261 H.263 Sorenson Video Divx.
CSc 461/561 Multimedia Systems Part B: 2. Lossy Compression
CS :: Fall 2003 MPEG-1 Video (Part 1) Ketan Mayer-Patel.
CMPT 365 Multimedia Systems
2007Theo Schouten1 Compression "lossless" : f[x,y]  { g[x,y] = Decompress ( Compress ( f[x,y] ) | “lossy” : quality measures e 2 rms = 1/MN  ( g[x,y]
Lossless Compression in Multimedia Data Representation Hao Jiang Computer Science Department Sept. 20, 2007.
5. 1 JPEG “ JPEG ” is Joint Photographic Experts Group. compresses pictures which don't have sharp changes e.g. landscape pictures. May lose some of the.
Color spaces and JPEG. Colors physically, color is electro-magnetic radiation (i.e. light with various wave length, between 390nm- 750nm) percieved by.
Why Compress? To reduce the volume of data to be transmitted (text, fax, images) To reduce the bandwidth required for transmission and to reduce storage.
©Brooks/Cole, 2003 Chapter 15 Data Compression. ©Brooks/Cole, 2003 Realize the need for data compression. Differentiate between lossless and lossy compression.
Roger Cheng (JPEG slides courtesy of Brian Bailey) Spring 2007
1 JPEG Compression CSC361/661 Burg/Wong. 2 Fact about JPEG Compression JPEG stands for Joint Photographic Experts Group JPEG compression is used with.jpg.
JPEG Marco Fuentes García Francisco Gea Martínez.
Image and Video Compression
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Trevor McCasland Arch Kelley.  Goal: reduce the size of stored files and data while retaining all necessary perceptual information  Used to create an.
CS559-Computer Graphics Copyright Stephen Chenney Image File Formats How big is the image? –All files in some way store width and height How is the image.
Page 18/30/2015 CSE 40373/60373: Multimedia Systems 4.2 Color Models in Images  Colors models and spaces used for stored, displayed, and printed images.
CSE & CSE Multimedia Processing Lecture 7
Chapter 2 Source Coding (part 2)
Introduction to JPEG Alireza Shafaei ( ) Fall 2005.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 8 – JPEG Compression (Part 3) Klara Nahrstedt Spring 2012.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
1 Image Compression. 2 GIF: Graphics Interchange Format Basic mode Dynamic mode A LZW method.
Introduction to JPEG and MPEG Ingemar J. Cox University College London.
Klara Nahrstedt Spring 2011
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 7 – Basics of Compression (Part 2) Klara Nahrstedt Spring 2011.
D ATA C OMMUNICATIONS Compression Techniques. D ATA C OMPRESSION Whether data, fax, video, audio, etc., compression can work wonders Compression can be.
1 TTM4142 Networked Multimedia Systems Video Basics Image and Video Lossless Compression Leif Arne Rønningen Autumn 2008.
1 Image Formats. 2  To be able save image data for future manipulation and display we need to be able to store it in a consistent manner  Formats enable.
JPEG. The JPEG Standard JPEG is an image compression standard which was accepted as an international standard in  Developed by the Joint Photographic.
Still-image compression Moving-image compression and File types.
CS 111 – Sept. 10 Quiz Data compression –text –images –sounds Commitment: –Please read rest of chapter 1. –Department picnic next Wednesday.
1 Classification of Compression Methods. 2 Data Compression  A means of reducing the size of blocks of data by removing  Unused material: e.g.) silence.
Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.
Digital Media Lecture 4.1: Image Encoding Practice Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Spring 2000CS 4611 Multimedia Outline Compression RTP Scheduling.
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 10 – Compression Basics and JPEG Compression (Part 4) Klara Nahrstedt Spring 2014.
Data compression. lossless – looking for unicolor areas or repeating patterns –Run length encoding –Dictionary compressions Lossy – reduction of colors.
JPEG Image Compression Standard Introduction Lossless and Lossy Coding Schemes JPEG Standard Details Summary.
JPEG.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
Digital Media Lecture 4.2: Image Encoding Practice Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
By Dr. Hadi AL Saadi Lossy Compression. Source coding is based on changing of the original image content. Also called semantic-based coding High compression.
MP3 and AAC Trac D. Tran ECE Department The Johns Hopkins University Baltimore MD
JPEG Compression What is JPEG? Motivation
Image compression.
Chapter 9 Image Compression Standards
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
Background Perception Display Considerations Video Technology.
JPEG Image Coding Standard
Digital Media Lecture 4.1: Image Encoding Practice
Lecture 10: data compression
Digital 2D Image Basic Masaki Hayashi
CMPT 365 Multimedia Systems
الوحدة الرابعة ضغط البيانات
Ganbat OIP Lab
JPEG Pasi Fränti
- orange white green - cyan - red - blue Example 1 24 bit RGB
Chapter 8 – Compression Aims: Outline the objectives of compression.
- orange white green - cyan - red - blue Example 1 24 bit RGB
Presentation transcript:

Vorlesung Codierungstheorie Quellencodierung Bild- und Videokompression

# Gordon Cichon Entropy Coding: Unary Coding  Golomb Coding Static Huffman Coding Adaptive Huffman Coding Arithmetic Coding Run Length Encoding (RLE)  e.g. BMP Differential Encoding Context Sensitive Coding Lempel-Ziv-* LZ77  Gameboy LZW (Welch)  GIF, TIFF Deflate  PNG, zlib, zip, etc. Lossy Image Coding  JPEG The human eye Color Space Conversion, RGB  YUV YCrCb, Chroma Subsampling Blocks 8x8, Discrete Cosine Transformation (H.264: wavelet transform) Ordering of Coefficients, Differentical Coding of DC color Thresholding Entropy Encoding Effects: low-contrast edges, deblocking filter Video Coding: MPEG-2, MPEG-4, H.264 Analog video (also for BMP): CRT scan order Prediction: spatial, temporal I-Frames 1e6 bit, P-Frames 3e5 bit, B-Frames 1e5 bit Motion Compensation, Optical Flow, Lukas Canade

Gordon Cichon 3 Numeral Systems unary systems additive systems: (roman: I, II, III, IV, V, X, C, M, MMXI) positional systems common base: 2, 10, A B C D E F

Dr. Gordon Cichon 4 Example: Numeral Systems Example: = = = = = = 14-8 = 6-4 = 2-2 = 0 binary: hexadecimal: 7DE

Run Length Encoding Compresses Repetition of Symbols e.g. A A A B B B B B  3x A, 5x B Special case: binary data {0,1}  3, 5 Disadvantage: compressed data may be longer than original Soltution: Escape symbol with original data A A A L M U B B B B B  3x A, ESC LMU, 5x B Examples: BMP image format # Referat Markus Mustermann

Windows Bitmap Format (BMP) # Referat Markus Mustermann OffsetTypeNameDescription 0uint16_tbfType„BM“ = 0x42 0x4D 2uint32_tbfSizeTotal size in bytes 6uint32_tbfReserved0 10uint32_tbfOffBitsOffset to image data (54 if no color table) 14uint32_tbiSize40 (sizeof(BITMAPINFOHEADER)) 18uint32_tbiWidthWidth of image 22uint32_tbiHeightHeight of image (negative: top-down, positive: bottom-up) 26uint16_tbiPlanes1 28uint16_tbiBitCountBits per pixel (1,4,8,16,24,32)

Windows Bitmap Format (BMP) – Part 2 # Referat Markus Mustermann OffsetTypeNameDescription 30uint32_tbiCompression0: BI_RGB 1: BI_RLE4 2: BI_RLE8 3: BI_BITFIELDS 34uint32_tbiSizeImageSize of image data in bytes 38uint32_tbiXPelsPerMet er Bits per pixel in X direction (or 0) 42uint32_tbiYPelsPerMet er Bits per pixel in Y direction (or 0) 46uint32_tbiClrUsedNumber of entries in color table (max 2 biBitCount ) 50uint32_tbiClrImportantSame as biClrUsed

Windows Bitmap Format (BMP) – Part 3 Color Table: biClrUsed entries of form: Blue, green, red, „0“ as bytes Image data: 24 bpp  blue, green, red as bytes 1,4,8 bpp  index into color table # Referat Markus Mustermann

Windows Bitmap Format (BMP) – RLE BI_RLE4, BL_RLE8 in biCompression (offset 30) Two bytes (a, b)  a times „b“ e.g. A A A B B B B B  0x03 0x41 0x05 0x42 If a=0: # Referat Markus Mustermann Value of bDescription 0End of image line 1End of image 2(a‘,b‘): Skip a‘ columns and b‘ rows 3-255ESC for b bytes (align to 16 bits)

Differential Encoding # Referat Markus Mustermann EncoderDecoder