Multimedia- and Web-based Information Systems Lecture 5.

Slides:



Advertisements
Similar presentations
Chapter 8-Video.
Advertisements

Multimedia System Video
T.Sharon-A.Frank 1 Multimedia Compression Basics.
Data Compression CS 147 Minh Nguyen.
Chapter 6 Review.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
SWE 423: Multimedia Systems
Video enhances, dramatizes, and gives impact to your multimedia application. Your audience will better understand the message of your application.
SCA Introduction to Multimedia
SWE 423: Multimedia Systems Chapter 7: Data Compression (1)
Spatial and Temporal Data Mining
SWE 423: Multimedia Systems Chapter 5: Video Technology (1)
Comp :: Fall 2003 Video As A Datatype Ketan Mayer-Patel.
Klara Nahrstedt Spring 2014
Lossless Compression in Multimedia Data Representation Hao Jiang Computer Science Department Sept. 20, 2007.
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Media File Formats Jon Ivins, DMU. Text Files n Two types n 1. Plain text (unformatted) u ASCII Character set is most common u 7 bits are used u This.
Compression Algorithms Robert Buckley MCIS681 Online Dr. Smith Nova Southeastern University.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Digital Representations Digital Video Special Effects Fall 2006.
Chapter 2 Source Coding (part 2)
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 5 – Digital Video Representation Klara Nahrstedt Spring 2014.
1 Image Compression. 2 GIF: Graphics Interchange Format Basic mode Dynamic mode A LZW method.
Multimedia Data Video Compression The MPEG-1 Standard
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Encoding of Waveforms Encoding of Waveforms to Compress Information.
Video Basics. Agenda Digital Video Compressing Video Audio Video Encoding in tools.
Fundamentals of video.
Multimedia I (Audio/Video Data) CS423, Fall 2007 Klara Nahrstedt/Sam King 9/19/20151.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 6: Video.
ITBIS351 Multimedia Systems and Hypermedia Yaqoob Al-Slaise
Video Video.
DIGITAL Video. Video Creation Video captures the real world therefore video cannot be created in the same sense that images can be created video must.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 6 – Basics of Compression (Part 1) Klara Nahrstedt Spring 2010.
Video.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
Chapter 2 : Business Information Business Data Communications, 6e.
Image Processing and Computer Vision: 91. Image and Video Coding Compressing data to a smaller volume without losing (too much) information.
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
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.
Outline Kinds of Coding Need for Compression Basic Types Taxonomy Performance Metrics.
Rick Parent - CIS681 Background Perception Display Considerations Film and Video, Analog and Digital Technology.
Ch5: TELEVISION.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Multimedia- and Web-based Information Systems Lecture 6.
Digital Video Digital video is basically a sequence of digital images  Processing of digital video has much in common with digital image processing First.
IT2002 ATI Naiwala 1 By ATI Naiwala. IT2002 ATI Naiwala Combination of time Variant Image and Sound – Most realistic media Dynamic Huge data size(Very.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Multi-media Data compression
C HAPTER 5: F UNDAMENTAL C ONCEPTS IN V IDEO 1. T YPES OF V IDEO S IGNALS Component video Higher-end video systems make use of three separate video signals.
1 Basics of Video Multimedia Systems (Module 1 Lesson 3) Summary: r Types of Video r Analog vs. Digital Video r Digital Video m Chroma Sub-sampling m HDTV.
1 Part A Multimedia Production Chapter 2 Multimedia Basics Digitization, Coding-decoding and Compression Information and Communication Technology.
Digital Video Representation Subject : Audio And Video Systems Name : Makwana Gaurav Er no.: : Class : Electronics & Communication.
Fundamental concepts in video
CSI-447 : Multimedia Systems
JPEG Compression What is JPEG? Motivation
Understanding Analogue and Digital Video Lesson 1
Video Basics.
CS644 Advanced Topics in Networking
Data Compression.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
JPEG Image Coding Standard
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Data Compression.
Chapter 6: Video.
Data Compression CS 147 Minh Nguyen.
Chapter 6 Fundamentals of Digital Video
Judith Molka-Danielsen, Oct. 02, 2000
Chapter 8 – Compression Aims: Outline the objectives of compression.
Presentation transcript:

Multimedia- and Web-based Information Systems Lecture 5

Multimedia: Color- and Video- technology

Video-Technology Television- and Video-Technology form the basis of the medium motion picture Generation – Recording from the real world – Synthesis on the basis of a description Analogous and digital technology

Representation of the video signal Representation of the video signal contains – Visual representation – Transmission – Digitalization

Visual Representation Presentation of the video signal trough a CRT (Cathode Ray Tube) – In television and computer screens Representation of a scene as realistic as possible – Delivery of the space and time content of a scene

Fundamentals of visual representation Resolution – Width W – Height H – E.g. W=833, H=625 Width/height-relation – 4:3 or 16:9 Perception of depth – In the natural preception trough the use of both eyes (different view angles onto one scene) – Focus-depth of the camera, appearance of the material of an object

Fundamentals of visual representation Luminance / Chrominance Motion picture resolution / continuity – Discreet sequence of single pictures can be perceived as a continually sequence – Boundary of motion picture resolution – 15 pictures/sec (video used 30 pictures/sec) – No boundary with acoustic signals

Fundamentals of visual representation Flicker – With small refresh rate – Eg. 50 or 60 Hz – Full and half pictures (interlacing)

RGB Color Coding RGB (Red Green Blue) Additive color blend Normalization of values (R+G+B=1)

YUV Color Coding For the human eye, brightness is more important than color information Brightnessinformation (Luminance) – 1 channel of luminance (Y) Color Information (Chrominance) – 2 channels of chrominance (U and V)

Component Coding YUV Y = 0.30 R G B U = (B-Y) V = (R-Y) Errors in Y are more severe – Y to be encoded with high bandwidth YUV Coding often specified with a raito of the channels (4:2:2)

Component Coding YUV YIQ (similar to YUV) Derived from NTSC Y = 0.30 R G B I = 0.60 R G B Q = 0.21 R G B

Shared Signal Individual components (RGB, YUV, YIQ) need to be combined to one signal Methods of modulation to avoid interference

Video formats Resolution of a picture (frame) Quantisation Framerate Video controller – Dedicated video memory

Video formats CGA (Color Graphics Adapter) – 320x200, 4 colors, bytes EGA (Enhanced Graphic Adapter) – 640x350, 16 colors, bytes VGA (Video Graphic Array) – 640x480, 256 colors, bytes XVGA (eXtended Video Graphic Array) – 1024x768, 256 colors, bytes XGA (eXtended Graphic Array) – 1024x768, 16M colors, 2304 kbytes Many more

Conventional Systems NTSC (National Television Systems Commitee) – From the USA, oldest standard, widely used, 30 Hz, 525 lines SECAM (Sequential Coleur avec Memoire) – France, Eastern Europe, 25 Hz, 625 lines PAL (Phase Alternating Line) – Western Europe, 25 Hz, 625 lines

High-Definition Television (HDTV) Resolution – 1440x1152 / 1920x1152 Frame rate – 50 or 60 Hz No longer interlaced

Digitalisation of video signals Conversion into a digital representation Nyquist-Theorem (bandwidth = half the sampling rate) – Of the components Quantisation 2 Alternatives – Shared Coding – Component Coding

Shared Coding Scanning of the whole of the analogue video signal (e.g. composite video) Dependant on the standard Bandwidth the same for all components Disadvantage: low in contrast

Component Coding Separate digitalisation of the components (e.g. YUV) Ratio 4:2:2 – 864 scan values for luminance – 432 scan values for chrominancy

Digital Television Digital Television Broadcasting (DTVB) – Digital Video Broadcasting (DVB) – DVB-T (terrestric broadcast) – System description Implementation of HDTV Employs MPEG-2 – Coding of Audio and Video

Advantages of DVB Increase in the number of TV-channels Adaptable picture and sound quality Encryption possible for Pay-TV New Services: Data broadcast, Multimedia broadcast, Video-on-Demand Convergence of PC and TV

Multimedia: Data Compression

Data Compression Audio and Video require lots of storage space – Increasing Demand Text – Single Pictures – Audio – Motion Picture Data rates influence – Transmission – Processing Efficient Compression – Theory – Standards

Storage Space / Bandwidth Considerable storage capacity for uncompressed pictures, audio and video data – For uncompressed Video, even a DVD is not sufficient Uncompressed Audio-/Videodata requires very high bandwidth

Required Storage Space Text – 80 x 60 * 2 bytes = 9600 bytes = 9,4 KByte Figures – 500 primitives * 5 Bytes for properties = 2500 bytes Voice – 8 kHz, 8 bit quantisation = 8 kByte / s Audio – 2 x 44100*16 bit / 8 bit * 1 byte = 172 Kbyte / s Video – 640 x 480 * 3 x 25 frames = 22,500 Kbyte /s

Important Methods JPEG (JPEG 2000) – For single pictures H.261 and H.263 – Video sequences of small resolution MPEG 1,2 and 4 – Motion Picture and Audio (MPEG Layer 3)

Demands on Methods Good quality Small complexity – Effective implementation Time boundaries with decompression (and compression) – MPEG-1: high effort with compression

Demands in Dialogue mode End-to-End latency – Part of the (De-)Compression < 150 ms – 50 ms -> natural dialogue – Additionally all latencies of the network, communication protocols and of the in- and output devices

Demands in Query mode Fast Forward / Rewind with simoultaneuos display of the data Random access to single frames – < 0.5 s – Decompression of single pictures without interpretation of all the frames before them

Demands in Dialogue and Query mode Format independent of screen size and refresh rate Audio and video in different qualities (to adapt to the respective circumstances) Synchronisation of Audio and Video Implementation in software

Classification of compression methods Entropy coding – Lossless methods Source coding – Often lossy Hybrid coding – Combined application of both of the methods above for a specific scenario

Entropy coding Independent of media specific properties Data to compress is a sequence of digital data values Losslessness – Data before and after the compression/decompression are identical

Source coding Usage of the semantics of the information Compression ratio depends on the specific medium Data before and after the compressen/decompression are very similar to each other but no longer identical

Hybrid coding Combination of entroy and souce coding, used e.g. In – JPEG – MPEG – H.263

Decompression Inverse function of the compression Decompression possible in real time? Symmetric methods – Similar effort for coding and decoding Assymetric method – Decoding possible with smaller effort

Run length encoding Sequence of identical bytes Number of repeating bytes Mark M (e.g. „!“) Stuffing if M is in the data space Example 1: 0, „!“, 256 Example 2: „!“, „!“ (Stuffing) In what cases does it help? Maximum saving?

Suppression of null values Special case of run length encoding Selection of a single character that is repeated often (e.g. „0“) Mark M, after that number of repetitions In what cases does it help? Maximum saving?

Vector quantisation Splitting of the data stream into blocks of n bytes Table with patterns for blocks Index into the table to the entry most similar to the block Multi-dimensional table -> vector Approximation of the original data stream Example

Pattern Substitution Patterns of frequent occurence replaced by one byte Mark M, then index into a table Well suited for text e.g. keywords in programming languages

Diatomic Encoding Putting together of two bytes of data at a time Determination of the byte-pairs occuring most frequently e.g. in the English language – „E“, „T“, „TH“, „RE“, „IN“,... (8 in total) Special bytes not occuring in the text used to represent 2 letters Reduction in data of ca. 10%

Static encoding Frequency of occurence of a character Different coding length for characters Basis of the Morse code Important: unambigous decompression

Huffmann coding Regards the probability of occurence Minimum number of bits for given probability of occurence Characters occuring most often get the shortest code words Binary tree (Nodes contain probabilities, edges bit 0 or 1)

Huffmann coding P(A)=0.16, P(B)=0.51, P(C)=0.09, P(D)=0.13 and P(E)=0.11

Huffmann Coding w(A)=001, w(B)=1, w(C)=011, w(D)=000, w(E)=010 P(ADCEB)=1.0 P(B)=0.51P(ADCE) P(CE)=0.20 P(AD)=0.29 P(C)=0.09P(E)=0.11P(D)=0.13P(A)=

Transformation coding Data transformed into a better suited mathematical space Inverse Transformation needs to be possible Discrete Cosine-Transformation (DCT) Fast-Fourier-Transformation (FFT) See example in the JPEG lecture

Prediction or relative encoding Forming the difference to the previous value Data do not differ much Combination of methods – e.g. homogenous areas in pictures DPCM, DM and ADPCM

Further Methods Color tables – with pictures (video) Muting – Threshold for sound volume