CHAPTER TWO DIGITAL DATA.

Slides:



Advertisements
Similar presentations
The Binary Numbering Systems
Advertisements

Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
“Computers and Creativity”
Chapter 2 Digital data Ola A. Younis. Elements of digital media Symbols : representation for something else. Example: a group of letters often serve as.
Dale & Lewis Chapter 3 Data Representation. Representing color Similarly to how color is perceived in the human eye, color information is encoded in combinations.
EE442—Multimedia Networking Jane Dong California State University, Los Angeles.
Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
Bits are Not just for Numbers or Characters Computers store characters as bits or binary digits. Characters from the English-language keyboard can be represented.
SWE 423: Multimedia Systems Chapter 7: Data Compression (1)
T.Sharon-A.Frank 1 Multimedia Size of Data Frame.
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 12 Data.
SIMS-201 Representing Information in Binary. 2  Overview Chapter 3: The search for an appropriate code Bits as building blocks of information Binary.
Nat 4/5 - Software Design and Development – Low Level Operations - 1 National 4/5 – Computing Science Information Systems Design and Development Media.
Skill Area 212 Introduction to Multimedia Internet and MultiMedia for SC 2.
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.
Fundamentals Rawesak Tanawongsuwan
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Department of Physics and Astronomy DIGITAL IMAGE PROCESSING
Sem 1 v2 Chapter 14: Layer 6 - The Presentation layer.
Computers and Scientific Thinking David Reed, Creighton University Data Representation 1.
Institute of Technology Sligo - Dept of Computing Sem 1 Chapter 14: Layer 6 - The Presentation layer.
Digital Media Dr. Jim Rowan ITEC Monday, August 27.
CHAPTER SEVEN SOUND. CHAPTER HIGHLIGHTS Nature of sound – Sine waves, amplitude, frequency Traditional sound reproduction Digital sound – Sampled – Synthesized.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Chapter 2 Computer Hardware
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Multimedia and The Web.
CMPD273 Multimedia System Prepared by Nazrita Ibrahim © UNITEN2002 Multimedia System Characteristic Reference: F. Fluckiger: “Understanding networked multimedia,
Chapter 3 Representation. Key Concepts Digital vs Analog How many bits? Some standard representations Compression Methods 3-2.
Multimedia Elements: Sound, Animation, and Video.
1 i206: Lecture 2: Computer Architecture, Binary Encodings, and Data Representation Marti Hearst Spring 2012.
Chapter 2 : Business Information Business Data Communications, 6e.
Introduction to Interactive Media 03: The Nature of Digital Media.
Information Processes and Technology Multimedia: Graphics.
Communicating Quantitative Information Is a picture worth 1000 words? Digital images. Number bases Standards, Compression Will [your] images last? Homework:
Multimedia ITGS. Multimedia Multimedia: Documents that contain information in more than one form: Text Sound Images Video Hypertext: A document or set.
How Analog and Digital Recording Works Analog converted to digital via an ADV (Analog to Digital Converter = stream of numbers) On playback: digital converted.
Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.
Quiz # 1 Chapters 1,2, & 3.
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.
File Types. Terms Multimedia- the integration of text, sound, video and/or animation into a document Letters, brochures, newsletters, web pages or presentations.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
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.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Sound (analogue signal). time Sound (analogue signal) time.
Introduction to Interactive Media Interactive Media Raw Materials: Digital Data.
Layer 6 Presentation Layer. Overview Now that you have learned about Layer 5 of the OSI model, it is time to look at Layer 6, the presentation layer.
1 Part A Multimedia Production Chapter 2 Multimedia Basics Digitization, Coding-decoding and Compression Information and Communication Technology.
Introduction to MPEG  Moving Pictures Experts Group,  Geneva based working group under the ISO/IEC standards.  In charge of developing standards for.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Fundamentals of Data Representation Yusung Kim
By the end of this session you should be able to... Understand character sets and why these are used within computer systems. Understand how characters.
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
Data Representation.
File Compression 3.3.
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
UNIT IV.
Chapter 2 Data Representation.
COMS 161 Introduction to Computing
Presentation transcript:

CHAPTER TWO DIGITAL DATA

CHAPTER HIGHLIGHTS Elements of digital media. Digital codes. Digital files. Digitization process. Compression for digital media. Advantages of digital media. Challenges of digital media.

CODING DIGITAL INFORMATION Symbols represent something else. Organized and understood by a conventional standard. Data are the givens of experience. Measurements, facts, observations. Information is data made useful, interpreted, and applied to produce understanding. Students should provide examples for each of these concepts.

YOU DECIDE: data or information? People who are 30 years old, pay $30 to run 30 miles in 30 degree weather for a charity benefit. Age = 30 yrs. Temperature = 30 degrees Distance = 30 mi. Cost = $30

YOU DECIDE: Analog or Digital Data? ANALOG vs. DIGITAL DATA Analog data varies continuously. Digital data consists of separate, discrete units. Wind mill motion. Hour glass to tell time. Numbers 1, 2, 3, 4 YOU DECIDE: Analog or Digital Data?

DIGITAL DATA Digit = number. Binary digit (bit) = 0 or 1. Bits are the symbols to encode digital data. Digital encoding assigns bits to data items. Letter A 0100 0001 Number 5 0011 0101 More bits in the code, means more distinct items to encode.

BUILDING DIGITAL CODES Number of distinct bit combinations that can be produced is given by the formula 2n. n = number of bits used in the code. Adding 1 to the power doubles the number of distinct data items that can be encoded. 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 items 4 items 8 items 16 items Complete the table to identify the number of distinct items represented by 2 5, 2 6, 2 7, and 2 8.

COMMON CODES ASCII, a 7 bit code. ASCII-8, an 8 bit code. 128 letters, numbers, and symbols in English language. ASCII-8, an 8 bit code. 256 letters, numbers, and symbols in English language. Unicode, a 16 bit code. Over 65,000 different characters. 24-bit color. Displays the full range a human eye can perceive. 16-bit sound. Plays the full decibel range the human ear can perceive.

DIGITAL FILES A container for binary codes. File formats define how instructions and data are encoded in the file. Sample formats that define data differently: Word file format Acrobat file format Media player file format. Have students identify additional common data formats and program formats. What would happen if one tired to open a program file format such as Excel.exe as a data file in Word? Could students read the contents of a file that contains binary instructions in a Word program?

ALL ABOUT FILES File size File extensions File compatibility Measured in units of bytes. Kilo Bytes, Mega Bytes, Giga Bytes. File extensions Series of letters to designate the file format. .fla, .exe, .rtf, .jpg File compatibility Ability to use the file in a different platform of hardware and software.

FILE TYPES Program files Data files Contain executable instructions. Can hold text, images, sounds, video, animation.

DATA FILE COMPATIBILITY Cross-platform compatible files. Open and use on any computer hardware and software configuration. Files that are native or specialized to the application that created the data file. Require source application to open the file. Have students identify file formats that are cross platform (PDF, JPG, TIFF for example) and Native to an application such as Word, Photoshop, Flash files (.docx, .psd, .fla for example).

FILE MAINTENANCE Data loss and destruction impacts multimedia project completion. Effective file maintenance involves: Identification Categorization Preservation. Have students identify techniques to manage files effectively using meaningful file names, organized folders, backup data on routine basis.

ANALOG TO DIGITAL CONVERSION. DIGITIZATION ANALOG TO DIGITAL CONVERSION.

SAMPLING ANALOG DATA Sampling analyzes a small portion of the analog source and converts it to digital code.

SAMPLE QUALITY Factors that influence sample quality Sample Resolution. Number of bits used to represent digital sample. Quantization is process of rounding off the value of a sample to the nearest available digital code. Sample Rate. Number of samples taken in a given unit of time (sounds) or space (images). Spatial resolution describes sample rate in image files.

YOU DECIDE … sample resolution Which image and sound sample will have better quality? Image Sound 8 bits / sample 24 bits / sample 16 bits / sample Which image uses fewer bits to describe the color sample? Use this slide to discuss decisions developers must make to balance quality and file size. Higher sample resolutions lead to larger file sizes, but lower sample resolutions lead to lower quality representation of the analog data. Ask students where they expect to find higher levels of quantization and why?

YOU DECIDE … sample rate Which image and sound sample will have better quality? Why? Image Sound 72 pixels / inch 11 kHz 300 pixels / inch 44 kHz Which image has higher spatial resolution? 50ppi 300ppi Use this slide to discuss decisions developers must make to balance quality and file size. Higher sample rates lead to larger file sizes, but lower sample rates lead to lower quality representation of the analog data. Ask students to identify the spatial resolution setting for their digital camera. If they have a camera phone, have them locate the spatial resolution for the images they take on their camera phone.

DIGITAL ENCODING Description-based encoding Command-based encoding A detailed representation of the discrete elements that comprise the media. Command-based encoding A set of instructions the computer follows to produce the digital media. Students should identify different forms of description and command based encoding. Bitmapped images = description Vector images = command Sampled sound = description Synthesized sound = command

MEDIA ENCODING COMPARED Description Command Advantages Represent natural scenes and sounds. File sizes are small. Supports detailed editing. Scaled without distortion. Limitations Large file sizes. Not appropriate for detailed photographs and natural sounds. Lose quality if enlarged. Requires knowledge of music and vector image creation. Use this table to compare digital data from a photograph or recording of bird songs to understand the benefits of using descriptive encoding. Consider the benefits of creating MIDI sounds or PowerPoint clip media using command based encoding. Discuss the decision process developers must make when they chose the format to capture, edit and save media in each mode.

FILE COMPRESSION Process of re-encoding digital data to reduce file size. Codec: a program to compress a file into a smaller size and decompress it into a usable form. Class should identify why compression is necessary with digital media and two reasons why developers should have an understanding of compression.

MAJOR TYPES OF COMPRESSION Lossy Number of bits is reduced and some data is lost. Lossy strategies include MP3 and JPEG compression. Lossless Efficient encoding reduces file size without loss of original data. Lossless strategies include RLE and GIF compression.

YOU DECIDE… Lossy or Lossless Photograph of sailboat on ocean. Journal article explaining nanotechnology. 1812 Overture by New York Philharmonic Orchestra. Database of student names and addresses. Video of hot air balloon flying over a cornfield. Choose a compression strategy best suited for: Discussion should center on what types of data are best suited for lossy or lossless strategies. Photos and videos can lose data without compromising the content. A article would not be intelligible if some of the text were lost.

ERROR DETECTION & CORRECTION Digital bits may be lost during transmission or damaged on storage media. CDs get scratched. Communication lines have interference. Strategies to preserve data vary. Parity bits help detect an error during transmission. CDs include redundant data to replace data when an error occurs. Have students research the error correction overhead on a CD and DVD.

DIGITAL INFORMATION — ADVANTAGES Reproduction without generation decay. Editing and re-editing much easier than with analog media. Integration of media using cut, copy, paste more efficient. Distribution over Internet - nearly everyone can be reached by anyone else. Consider additional advantages not mentioned here.

DIGITAL INFORMATION — CHALLENGES File sizes are large. Digital media is processor intensive. Absence of media standards renders data files incompatible. Some media requires high bandwidth to distribute on networks. Concern for longevity and future accessibility of digital data. Have students identify a specific example for one of the disadvantages. Examples might be to research the file size of a 40 minute uncompressed digital video, how many processors it takes to render a feature length animation, the bandwidth requirements for full motion video, the problem of preserving data on magnetic tape or disk cartridges.

WRAP UP Analog vs. Digital data. Symbols and binary code. Data vs. Information. Files as containers. Digitization process. Description- vs. Command-based media. Compression strategies. Error detection & correction. Advantages & Challenges of digital data.

KEY TERM CHECK UP