MULTIMEDIA AND CODING

Similar documents
Image coding and compression

Advanced High Graphics

G64PMM - Lecture 3.2. Analogue vs Digital. Analogue Media. Graphics & Still Image Representation

Repetition 1st lecture

MEDIA RELATED FILE TYPES

IMAGE COMPRESSION. Image Compression. Why? Reducing transportation times Reducing file size. A two way event - compression and decompression

ECE 417 Guest Lecture Video Compression in MPEG-1/2/4. Min-Hsuan Tsai Apr 02, 2013

MULTIMEDIA DESIGNING AND AUTHORING

SCHOOL OF DISTANCE EDUCATION UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION D M A INTRODUCTION TO MULTIMEDIA QUESTION BANK

Image, video and audio coding concepts. Roadmap. Rationale. Stefan Alfredsson. (based on material by Johan Garcia)

Elementary Computing CSC 100. M. Cheng, Computer Science

DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression

Multimedia on the Web

Multimedia Technology

VIDEO COMPRESSION. Image Compression. Multimedia File Formats. Lossy Compression. Multimedia File Formats. October 8, 2009

CS101 Lecture 12: Image Compression. What You ll Learn Today

Unicode. Standard Alphanumeric Formats. Unicode Version 2.1 BCD ASCII EBCDIC

Check your document s safe margin, bleeds and trim marks before uploading.

VC 12/13 T16 Video Compression

Final Study Guide Arts & Communications

M4-R4: INTRODUCTION TO MULTIMEDIA (JAN 2019) DURATION: 03 Hrs

INF5063: Programming heterogeneous multi-core processors. September 17, 2010

Introduction to Computer Science (I1100) Data Storage

MULTIMEDIA SYSTEMS

Multimedia applications

Compression; Error detection & correction

Compression and File Formats

DIS: Design and imaging software

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

Logo & Icon. Fit Together Logo (color) Transome Logo (black and white) Quick Reference Print Specifications

Digitization of Multimedia Elements

Fall 2015 Dr. Michael J. Reale

Image Types Vector vs. Raster

Prentice Hall. Learning Microsoft PowerPoint , (Weixel et al.) Arkansas Multimedia Applications I - Curriculum Content Frameworks

Image and video processing

Introduction to Video Encoding

Professional Powerpoint Presentation II

Lecture 19 Media Formats

Obtaining video clips

What is multimedia? Multimedia. Continuous media. Most common media types. Continuous media processing. Interactivity. What is multimedia?

Common File Formats. Need a standard to store images Raster data Photos Synthetic renderings. Vector Graphic Illustrations Fonts

Data Representation From 0s and 1s to images CPSC 101

5.9. Video Compression (1)

Multimedia Systems Image III (Image Compression, JPEG) Mahdi Amiri April 2011 Sharif University of Technology

This is not yellow. Image Files - Center for Graphics and Geometric Computing, Technion 2

Data encoding. Lauri Võsandi

Format Type Support Thru. vector (with embedded bitmaps)

Fundamentals of Video Compression. Video Compression

CISC 7610 Lecture 3 Multimedia data and data formats

Presenta(on Tools Adobe Illustrator. November 6, 2017

Part III: Survey of Internet technologies

Multimedia. What is multimedia? Media types. Interchange formats. + Text +Graphics +Audio +Image +Video. Petri Vuorimaa 1

M4.2-R4: INTRODUCTION TO MULTIMEDIA

Preface. I Introduction and Multimedia Data Representations 1

The Gullibility of Human Senses

Bits and Bit Patterns

7: Image Compression

CSCD 443/533 Advanced Networks Fall 2017

Multimedia. File formats. Image file formats. CSE 190 M (Web Programming) Spring 2008 University of Washington

Standard File Formats

Introduction ti to JPEG

3 Data Storage 3.1. Foundations of Computer Science Cengage Learning

3.01C Multimedia Elements and Guidelines Explore multimedia systems, elements and presentations.

Interactive Multimedia. Multimedia and the World Wide Web

CMPT 165 Graphics Part 2. Nov 3 rd, 2015

HOW TO SAVE YOUR DESIGN FILES

Scientific Working Group on Digital Evidence

Compression Part 2 Lossy Image Compression (JPEG) Norm Zeck

Digital Signage Content Creation Guidelines

Data Representation and Networking

Graphics File Formats

Publication Quality Graphics

III-6Exporting Graphics (Windows)

BHARATHIDASAN ENGINEERING COLLEGE,NATTRAMPALLI

Image and Video Coding I: Fundamentals

Lecture Coding Theory. Source Coding. Image and Video Compression. Images: Wikipedia

Fundamentals of Multimedia

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Editor s toolkit pro U s e r s G u i d e

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE IMAGE EDITING

Digital video coding systems MPEG-1/2 Video

GRAPHIC FILE FORMATS / SOFTWARE SELECTION / SOFTWARE COMPATIBILITY

Video coding. Concepts and notations.

Individual Test Item Specifications

Cinelerra Feature Comparison. Page 1

Lecture 3 Image and Video (MPEG) Coding

Arrays and Images. Francesco Vespignani DiSCoF Università degli Studi di Trento. November 19, 2009

Chapter 1. Data Storage Pearson Addison-Wesley. All rights reserved

Multimedia Content. Web Architecture and Information Management [./] Spring 2009 INFO (CCN 42509) Contents. Erik Wilde, UC Berkeley School of

IMGD The Game Development Process: File Formats

Lesson 5: Multimedia on the Web

Thursday, November 17, 11.

1.6 Graphics Packages

Output models Drawing Rasterization Color models

Directory. Product overview. Connecting your media player. Specification. Interface. Explanation of the remote control. Connector Indication

Features. Sequential encoding. Progressive encoding. Hierarchical encoding. Lossless encoding using a different strategy

Computer Graphics Lecture 2

Formati grafici e Multimediali WWW. Davide Rossi Aprile 2002

ARTWORK REQUIREMENTS Artwork Submission

Compression; Error detection & correction

Transcription:

07 MULTIMEDIA AND CODING

WHAT MEDIA TYPES WE KNOW? TEXTS IMAGES SOUNDS MUSIC VIDEO INTERACTIVE CONTENT Games Virtual reality

EXAMPLES OF MULTIMEDIA MOVIE audio + video COMPUTER GAME audio + video + interactive WWW text + images + audio + video + interactive HYPERMEDIA

REPRESENTING MULTIMEDIA INDIVIDUAL MEDIA REPRESENTATION Images, videos, sound, interaction, script... Graphical information, audio information, etc. e.g. JPEG BINDING MEDIA INTO MULTIMEDIA Standards and formats for multimedia systems Principles of media combination e.g. Flash

GRAPHICAL INFORMATION MODELS, MATERIALS, GEOMETRY, ANIMATION Usually parametric, continuous We ve been there IMAGES Can be discrete (rasterized) or continuous (vector) VIDEOS Discrete, rasterized

COLOR SPACES COLOR MODELS

COLOR MODELS COMBINING THE PRIMARIES Subtractive Additive Pigments Lights

COLOR SPACES TECHNICAL CMY(K) RGB YCBCR - SUBTRACTIVE MODEL - PRINTERS - ADDITIVE MODEL - MONITORS, PROJECTORS - TELEVISION

COLOR SPACES INTUITIVE HSB, HSL, HSV Separate hue, saturation, brightness

HSB COLOR PICKER

CIE COLOR SPACE AND DEVICE GAMUT EACH DEVICE HAS ITS OWN PRIMARY COLORS Triangle vertices ALL COLORS OF THE DEVICE ARE INSIDE THE TRIANGLE (GAMUT) DIFFERENT DEVICES = DIFFERENT GAMUTS

COLOR REPRESENTATION 24BIT RGB i.e. 24 bit colors, each pixel = 8 + 8 + 8 bits = 0..255 red, 0..255 green, 0..255 blue 32BIT RGBA, CMYK COLOR DEPTH NUMBER OF BITS Maximum number of different colors Special: 30bit, 36bit Better color resolution medical imaging, scanning...

RASTER IMAGES

IMAGE FORMATS YOU TELL ME JPEG, PNG, GIF, BMP, TIFF, PSD, AI, EPS, WMF, CDR, PS, PDF, TGA, SVG, SOME OF THEM ARE RASTER SOME OF THEM ARE VECTOR SOME CAN DO BOTH

BITMAPS = DISCRETE REPRESENTATION PIXEL = PICTURE ELEMENT IMAGE RESOLUTION = DIGITAL SIZE : PHYSICAL SIZE DPI, PPI (dots per inch, points per inch) 72 130 dpi (monitors) 150 600 dpi (print) 600 1200 dpi (scanners)

DEVICES CLOSE-UP PRINTER

PIXEL VALUES (IN GRAY SCALE) 0 74 228

2D RASTER IMAGES WIDTH, HEIGHT BITMAP CODING COLOR ORDER (RGB, BGR) COMPRESSION

WHAT IS CODING? REPRESENTING INFORMATION IN A CERTAIN WAY Encoding, decoding, transcoding E.G. DATE (YEAR, MONTH, DAY) = DD.MM.YYYY GRAPHICAL INFORMATION 2D/3D geometry Colors Motion

EXAMPLES OF CODED INFO JPEG PDF DVD FLASH STANDARDS ANSI ISO

IMAGE COMPRESSION RLE (RUN-LENGTH ENCODING) AAAAAAABBBBCCCCCC = 7A4B6C (35%) ABCBABCBABCB = 1A1B1C...1C1B (200%) DICTIONARY ABCBABCBABCB = 3#Q; #Q = ABCB (25%) LZW (GIF), HUFFMAN CODE, DEFLATE (PNG) LOSSLESS COMPRESSION

LOSSY IMAGE COMPRESSION: DCT IN JPEG Every 8x8pixel block is decomposed to a combination basic blocks. Some blocks are discarded = Less data PICTURE QUALITY Variable More discarded block = less data = lower quality

JPEG LOSSY COMPRESSION CONTROL HOW MANY BASIS FUNCTIONS WILL CONTRIBUTE TO THE FINAL RESULT Quality Artifacts

LOSSLESS VS. LOSSY LOSSLESS Decompress = reconstruct Worse compression ratio Safe LOSSY Decompress = approximate Better compression ratio Destructive Artifacts

IMAGE FORMATS USAGE GIF 8bit + animation + 1 bit transparency PNG lossless, uniform areas, up to 64bit, no animation, 8bit transparency, no CMYK JPEG lossy, photographic areas, also CMYK, no transparency PDF universal

VECTOR IMAGES

BITMAP VS. VECTOR GRAPHICS BITMAPS Ugly scaling Perfect for realistic pictures SHAPES Perfect scaling Perfect for symbols, logos Bad with realistic pictures Parametric = editable Small size for simple objects

VECTOR GRAPHICS PARAMETRIC OR POLYGONAL REPRESENTATION IN 2D SVG, EPS, PS, AI, CDR, PDF, WMF, EMF

SCALABLE VECTOR GRAPHICS (SVG) 2D GRAPHICS + ANIMATIONS IN XML DEVELOPED BY W3C OPEN, FREE NICE FOR DYNAMIC VISUALIZATIONS HTTP://WWW.W3.ORG/GRAPHICS/SVG/ RUNS IN WEB BROWSERS

BASIC OBJECTS SHAPES Curves, lines, geom. objects IMAGES TEXT

SHAPES AND TEXTS SHAPES Fill Stroke Markers TEXT Glyphs (font) Unicode text

EXAMPLE ELEMENTS - POLYGON <POLYGON FILL="LIME" STROKE="BLUE" STROKE-WIDTH="10" POINTS=" 850,75 958,137.5 958,262.5 850,325 742,262.6 742,137.5" />

IMAGE FORMATS USAGE SVG In-browser, universal, free, standardized, HTML5 EPS Compatibility issues, AI, CDR Proprietary PDF universal

DIGITAL VIDEOS

MOVING PICTURES FRAMERATE INTERLACED OR PROGRESSIVE INHERITANCE FROM ANALOG ERA NTSC, PAL, interlacing YUV, YCBCR COLOR SPACES

STANDARDS IN DIGITAL AGE NTSC (USA, EAST ASIA, 30FPS) PAL (EUROPE, AFRICA, 25FPS) remnants of the analog era HDTV (1280X720, 1920X1080) 24fps, 25fps, 30fps... 4K2K (3840 X 2160) digital (3D) cinema 8K2K (7680X4320P)

YCBCR, YUV & COMPANY SEPARATION OF LUMA & CHROMA LUMINANCE = Y= 0.2126 R + 0.7152 G + 0.0722 B CB = LUMINANCE B CR = LUMINANCE R JPEGS

MOVIE FORMATS YOU TELL ME AVI, MPEG, MOV, MPEG2, MPEG4, X264, XVID, DIVX;-), H.263, AVC,FLV, 3GP, TS, DV... CONTAINER VS. CODEC FILE FORMAT VS. VIDEO FORMAT STREAMING YES / NO BANDWIDTH

MOVIE COMPRESSION INTRA-FRAME COMPRESSION Every frame can be compressed just like any other image INTER-FRAME COMPRESSION Keyframes + delta frames I, P, B Object tracking Motion estimation MPEG AND ITS OFFSPRINGS

INTER-FRAME COMPRESSION

VIDEO CONTAINERS PROPERTIES STREAMING (e.g. AVI = no, MP4 = yes) SUPPORT FOR LOSSLESS CODECS (e.g. AVI = yes, MP4 = little) NUMBER OF TRACKS (1 video + 1 audio, 1 video + multi audio, + subtitles) COMPATIBILITY (e.g. MOV vs. Windows, AVI vs. OSx)

SUMMARY IMAGES Vector graphics, raster graphics Color models, color spaces Compression (lossless, lossy) Formats VIDEOS Containers and codecs Video compression Formats