COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.

Slides:



Advertisements
Similar presentations
Information Representation
Advertisements

Technology ICT Option: Data Representation. Data Representation In our everyday lives, we communicate with each other using analogue data. This data takes.
“Computers and Creativity”
EE442—Multimedia Networking Jane Dong California State University, Los Angeles.
SWE 423: Multimedia Systems Chapter 7: Data Compression (1)
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 12 Data.
What is it? The use of computers to present text, sound, graphics, animation and video in an integrated way.
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.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 This presentation © 2004, MacAvon Media Productions Enabling Technologies.
Fundamentals Rawesak Tanawongsuwan
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
Data Handling Topic 1. Data Data is the raw material entered into a computer system. This raw material could be text, numbers, graphics, audio, animation.
CSCI-235 Micro-Computers in Science Hardware Part II.
Lecture 4 - Introduction to Computer Graphics
Computers and Scientific Thinking David Reed, Creighton University Data Representation 1.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
 Refers to sampling the gray/color level in the picture at MXN (M number of rows and N number of columns )array of points.  Once points are sampled,
3. Multimedia Systems Technology
AS LEVEL ICT2 Processing Different Types of Information.
Data Representation The method of data representation in a computer system depends upon the type of data which is being used. Three types of data are considered.
Multimedia Elements: Sound, Animation, and Video.
CHAPTER TWO DIGITAL DATA.
Chapter 2 : Business Information Business Data Communications, 6e.
Multimedia ITGS. Multimedia Multimedia: Documents that contain information in more than one form: Text Sound Images Video Hypertext: A document or set.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
Marr CollegeHigher ComputingSlide 1 Higher Computing: COMPUTER SYSTEMS Part 1: Data Representation – 6 hours.
Multimedia def. Many forms. Multimedia Text Hyperlinks Images Audio Animation Video Text Hyperlinks Images Audio Animation Video.
By Courtney Field Creative digital graphics. Types of graphics and examples There are a number of different types of graphics file formats. Each type.
1 MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - TEXT. 2 What is Text? the basic element of most multimedia the basic element of most multimedia consisting of.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
CSCI-100 Introduction to Computing Hardware Part II.
The Digital Revolution Changing information. What is Digital?  Discrete values used for  Input  Processing  Transmission  Storage  Display  Derived.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
Chapter 1 Background 1. In this lecture, you will find answers to these questions Computers store and transmit information using digital data. What exactly.
LECTURE 2A: ANALOGUE TO DIGITAL EVI INDRIASARI MANSOR Tel ext:
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
Introduction to Interactive Media Interactive Media Raw Materials: Digital Data.
Processing Data. Representing Numbers  Recap on Binary Numbers  Binary digit (1 or 0) – known as a ‘bit’, short for BInary digiT – bits generally grouped.
1 Part A Multimedia Production Chapter 2 Multimedia Basics Digitization, Coding-decoding and Compression Information and Communication Technology.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Data Representation. In our everyday lives, we communicate with each other using analogue data. This data takes the form of: Sound Images Letters Numbers.
Fundamentals of Data Representation Yusung Kim
DATA Unit 2 Topic 2. Different Types of Data ASCII code: ASCII - The American Standard Code for Information Interchange is a standard seven-bit code that.
Multimedia Systems Dr. Wissam Alkhadour.
Image and Sound Representation
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
Everything is a number Everything in a computer memory and on storages is a number. Number  Number Characters  Number by ASCII code Sounds  Number.
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
Data Compression.
Chapter III, Desktop Imaging Systems and Issues: Lesson IV Working With Images
Overview What is Multimedia? Characteristics of multimedia
Web Design and Development
Ch2: Data Representation
1. Explain how ASCII is used to represent text in a computer system
The Building Blocks: Binary Numbers, Boolean Logic, and Gates
Computer Systems – Unit 1
Chapter 2 Data Representation.
Judith Molka-Danielsen, Oct. 02, 2000
Data Representation Chapter 2 Computer HW (Von Neumann Model) Program
Option: Data Representation
Lecture 4 - Introduction to Computer Graphics
Option: Data Representation
WJEC GCSE Computer Science
Presentation transcript:

COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations

COMP135/COMP535 Devices can only be in one of two states –0 or 1, yes or no, on or off, … Bit: a unit of data that can only have one of two values Byte: an ordered sequence of eight bits Word: a short sequence of bytes, usually four (32 bits) Bits and Bytes

COMP135/COMP535 Numbers to base 2 (binary) – = 97 decimal Characters – associate bit patterns (numbers) with characters via a character set – = a in ASCII Brightness of an image at a point, instantaneous amplitude of a sound wave, etc Interpretation of Bits

COMP135/COMP535 Each byte can be identified by its position in the sequence of all bytes in memory – its address Collections of bytes can be combined into data structures using addresses –e.g. store an image as a sequence of brightness values, use address of the first to access the image data –store a video sequence as series of images, add address of next and previous to each frame Addresses

COMP135/COMP535 Bit patterns that cause the processor to carry out operations on values stored in memory –Hardware is constructed so that the desired effect is achieved Programs stored in memory as a sequence of instructions to be executed in order A computer is a stored program machine –It can therefore be used for many different tasks, depending on the programs it runs Instructions

COMP135/COMP535 Converting a signal from analogue to digital form –Analogue signal can vary continuously, digital is restricted to discrete values Two-stage process –Sampling – measure the value at discrete intervals –Quantization – restrict the value to a fixed set of quantization levels Digitization

COMP135/COMP535 Sampling and Quantization

COMP135/COMP535 Only certain signal values are valid –Relatively immune to corruption by noise –Do not degrade when copied or transmitted over network Some information lost Undersampling –Samples 'too far apart' so cannot accurately reconstruct original signal Digital Signals

COMP135/COMP535 Any periodic waveform can be decomposed into a collection of frequency components –Each one is a pure sine wave The collection of frequencies and their amplitudes represent the waveform in the frequency domain –Compute the frequency domain representation (frequency spectrum) using the Fourier Transform –Higher frequency components are associated with abrupt transitions Frequency Domain

COMP135/COMP535 Compression Definition : An operation performed on data to reduce the amount of storage required to represent it, for reasons of economy or efficiency. Decompression : An operation performed on previously compressed data to restore it as far as possible to its original. Software that performs compression and decompression is often called a codec (short for compressor / decompressor).

COMP135/COMP535 Compression -Compression algorithms can be divided into two classes :  Lossless.  Lossy. -Compression must be often applied to media data. -Different compression algorithms are applicable to different types of media data. Their effictiveness depends on the characteristics of the data itself.

COMP135/COMP535

There are established ways of representing images, video, animation, sound and text in bits. Images are displayed as arrays of pixels and represented using an internal model. Generating the pixels from the model is called rendering. Images may be modeled as bitmaps or vector graphics. Digital Representation of Media

COMP135/COMP535 A bitmap is an array of logical pixels(stored colour values) that can be mapped directly to the physical pixels on the display. Digital Representation of Media

COMP135/COMP535 In vector graphics, the image is stored as a mathematical description of a collection of individual lines, curves and shapes making up the image, which requires computation to render it. Vector graphics are often smaller than bitmaps, are resolution-independent and can be scaled without loss of quality, but they are suitable for certain sorts of synthetic image, not photographs. Digital Representation of Media

COMP135/COMP535 Digital Representation of Media

COMP135/COMP535 Video and animation : - Moving pictures can be created as live-action or animation. - Live-action must be stored as video. - Animation may be represented in other more flexible or efficient ways. Digital Representation of Media

COMP135/COMP535 Digital Representation of Media Sound : - Can be represented as a sequence of samples after digitization. - CD audio is sampled at 44.1 kHz, higher sampling rates are sometimes used. - Audio delivered over the Internet is compressed, often using the MP3 codec.

COMP135/COMP535 Text : - A character set is a mapping from characters to character codes. - Unicode is a character set capable of representing text in all known languages. - A font is a set of character shapes, called glyphs. - Many aspects of layout must be controlled when text is displayed. Digital Representation of Media

COMP135/COMP535 Digital Representation of Media Interactivity is produced by executing a program in response to user input. In multimedia, programs are often written in a scripting language, such as JavaScript or ActionScript. Metadata is structured data about data, which may be attached to media files to help with searching and classifying them.