Comp 1001: IT & Architecture - Joe Carthy 1 Review Floating point numbers are represented in scientific notation In binary: ± m x 2 exp There are different.

Slides:



Advertisements
Similar presentations
Comp 1001 Introduction to Information Technology & Computer Architecture Wednesday 12-1Dr. Joe Carthy
Advertisements

Hardware Components of a Multimedia System. Objectives w Describe why hardware standards are important w Describe the MPC standard and specify its significance.
SWE 423: Multimedia Systems Chapter 3: Audio Technology (2)
Eee116j1 1 Digital Information Engineering Science EEE116J1 Prof Paul Maguire w.
4-Integrating Peripherals in Embedded Systems (cont.)
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Image and Sound Editing Raed S. Rasheed Sound What is sound? How is sound recorded? How is sound recorded digitally ? How does audio get digitized.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 4 Introduction to Networks and the Internet.
Department of Information Engineering1 What is a bit? –the basic unit in computer –represent a binary number : 0 and 1 a group of bits can represent any.
Light to Electricity: lines begin and end in black (low signal level) called Blanking between blanking is the active video scanning is precisely controlled.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 12 Data.
Core 3: Communication Systems. Encoding and decoding analog and digital signals…  Encoding involves converting data from its original form into another.
Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current.
Representing Images. Goals for Image Representation digitization & resolution digitization & resolution representing color representing color color depth.
Digital Data Patrice Koehl Computer Science UC Davis.
What is digital resolution all about? Jellybean portrait shows us how units of color placed together make an image.
4.1 Digital Multimedia Elements
Bits & Bytes (are not junk food!). Bit is short for binary digit, the smallest unit of information in the digital world. A single bit can hold only one.
Representation of Data in Computer Systems
Peripherals and Storage Looking at: Scanners Printers Why do we need storage devices anyway? What are magnetic disks? How do magnetic disks physically.
IT Introduction to Information Technology CHAPTER 05 - INPUT.
By Breanna Myers Ms. Williams-Grant 5 th Period Business Computer Applications
Photographics 10 Introduction to Digital Photography
Comp 1001: IT & Architecture - Joe Carthy 1 Information Representation: Summary All Information is stored and transmitted in digital form in a computer.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 4. Peripherals Input Devices Keyboard Mouse Scanners Microphone Digital.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
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.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
COMP Representing Sound in a ComputerSound Course book - pages
CSCI-235 Micro-Computers in Science Hardware Part II.
Computers and Scientific Thinking David Reed, Creighton University Data Representation 1.
Multimedia def. Many forms Multimedia Text Hyperlinks Images Audio Animation Video Text Hyperlinks Images Audio Animation Video.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Announcements Chapter 11 for today No quiz this week Instructor got behind…. We'll be back in MGH389 on Friday.
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,
Data Representation Int 2 Computing Unit 1 – Computer Systems St Kentigern’s Academy.
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.
CMPD273 Multimedia System Prepared by Nazrita Ibrahim © UNITEN2002 Multimedia System Characteristic Reference: F. Fluckiger: “Understanding networked multimedia,
Data Representation and Storage Lecture 5. Representations A number value can be represented in many ways: 5 Five V IIIII Cinq Hold up my hand.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Computer Concepts 2014 Chapter 8 Digital Media. 8 Digital Audio Basics  Sampling a sound wave Chapter 8: Digital Media 2.
Chapter 3. Lesson Objectives Equations Chapter
Digital Darkroom I Theresa L. Ford. Objectives Basic Digital Image Terminology Screen Display of Pictures –Why are pictures too big for the screen? –Why.
Introduction to Digital Media. What is it? Digital media is what computers use to; Store, transmit, receive and manipulate data Raw data are numbers,
Quiz # 1 Chapters 1,2, & 3.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Components of a Computer System
Data Representation The storage of Text Numbers Graphics.
CSCI-100 Introduction to Computing Hardware Part II.
Digital Imagery Quiz – Review Plank Jr. High – DIWD Class Mr. Brown.
Information Technology Images: Types, Resolution and Techniques.
What happens when you take a picture… When you take a picture with a digital camera, instead of a piece of film the light strikes a digital sensor array.
HOW SCANNERS WORK A scanner is a device that uses a light source to electronically convert an image into binary data (0s and 1s). This binary data can.
Scanner Scanner Introduction: Scanner is an input device. It reads the graphical images or line art or text from the source and converts.
Chapter 2 Hardware.
SPS Lab 14 th. 진성민. Contents  Scan Converter Memory  Digital Device  Analog-to-digital converter  Scan converter matrix  Writing, Reading, and image.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Digital Image -M.V.Ramachandranwww.youtube.com/postmanchandru
Digital technology Contents: Base 2 and base 10 number system Bits and bytes PN diodes Boolean logic Logic gates Digital and analog basics Storing devices.
Image and Sound Representation
Unit 1 The History of Photography & The Camera
Data Representation.
Image and Sound Representation
Data representation – Sound.
Data Representation Keywords Sound
Representing Images 2.6 – Data Representation.
COMS 161 Introduction to Computing
Presentation transcript:

Comp 1001: IT & Architecture - Joe Carthy 1 Review Floating point numbers are represented in scientific notation In binary: ± m x 2 exp There are different standards for representing floating point numbers There are different precisions: single and double Languages like Java and C allow you specify the type of number Micro-controllers are embedded processors with some RAM Code for micro-controller needs to be designed to use as little RAM as possible.

Comp 1001: IT & Architecture - Joe Carthy 2 Information Representation: Audio - Sound Sound waves are analog signals Analog signal: continuous signal between a maximum and minimum value Digital Signal: Only two possible values: 1 OR 0 (High/Low etc) Microphone converts sound to analog electrical signal Loudspeaker converts analog electrical signal to sound we can hear How can we represent an analog signal in digital form i.e. how do we represent the analog signal as a sequence of bits ? Conversely, how do we convert digital signal back to its original analog form Use devices called digital-to-analog (DAC) and analog-to-digital (ADC) converters

Comp 1001: IT & Architecture - Joe Carthy 3 Information Representation: Audio - Sound ADC samples the value of the electrical signal at regular intervals such as 8000 times per second - sampling rate ADC represents each sample as a binary number. These numbers are then stored or transmitted. DAC takes these samples and recreates an analog signal that “matches” the samples. This re-created signal will NOT be identical to the original BUT may be close enough that the human ear cannot tell the difference The sample may typically be represented by an 8-bit number or a 16-bit number (8-bit sampling/16-bit sampling) - sampling precision The following examples come from HowStuffWorks website - well worth a visit

Comp 1001: IT & Architecture - Joe Carthy 4 Information Representation: Audio - Sound Analog signal

Comp 1001: IT & Architecture - Joe Carthy 5 Information Representation: Audio - Sound Sampled signal (1000 samples per sec and 10 gradations per sample)

Comp 1001: IT & Architecture - Joe Carthy 6 Information Representation: Audio - Sound Re-created signal in blue (with sharp angles): note there is an error

Comp 1001: IT & Architecture - Joe Carthy 7 Information Representation: Audio - Sound More accurate if we increase sampling rate and precision (2000/sec and 20)

Comp 1001: IT & Architecture - Joe Carthy 8 Information Representation: Audio - Sound More accurate if we increase sampling rate and precision (4000/sec & 40)

Comp 1001: IT & Architecture - Joe Carthy 9 Information Representation: Audio - Sound CD Recording In the case of CDs, the sampling rate is 44,100 samples per second with 16-bit samples The number of gradations is 65,536 (2 16 ) At this level, the output of the DAC so closely matches the original waveform that the sound is essentially "perfect" to most human ears but musical purists hotly debate this contention!! CD Storage Capacity CDs are designed for two sound streams to be recorded (one for each of the speakers on a stereo system). A CD can store up to 74 minutes of music, so the total amount of digital data that must be stored on a CD is: 44,100 samples/(channel*second) * 2 bytes/sample * 2 channels * 74 minutes * 60 seconds/minute = 783,216,000 bytes

Comp 1001: IT & Architecture - Joe Carthy 10 Audio Representation: - Review Sound - analog signal Microphone converts to electrical signal which is converted to digital signal by ADC DAC converts digital signal to analog signal which is converted back to sound by loudspeaker Sampling rate: number of samples per second that ADC uses - higher is better Precision: number of bits per sample - more is better Exercises Explain using diagrams how sound is represented digitally What is sampling rate and why is higher sampling rate better What is precision and why is higher precision better What precision is used with CDs

Comp 1001: IT & Architecture - Joe Carthy 11 Image Representation See: Traditional photographic image is represented by analog A digital image is simply a sequence of 1s and 0s that represent tiny colored dots These dots are called picture elements or pixels and they make up the image. You can convert an image to its digital form by using a digital scanner which records light reflected from the image as binary numbers or pixel values You can also use a digital camera which samples the light reflected from the subject and stores it in pixel form A single image will typically consist of millions of pixels (megapixels) Cameras are rated according to the maximum number of pixels the camera is capable of using to represent an image - called the resolution of the camera The higher the number of pixels the better the image quality e.g. 3.2 megapixels is used by some cameras

Comp 1001: IT & Architecture - Joe Carthy 12 Image Representation The key difference between a digital camera and a film-based camera is that the digital camera has no film. Instead, it has a sensor that converts light into electrical charges -> pixels Some typical resolutions that you find in digital cameras today include: 256x256 pixels - You find this resolution on very cheap cameras. This resolution is so low that the picture quality is almost always unacceptable. This is 65,000 total pixels. 640x480 pixels - This is the low end on most "real" cameras. This resolution is great if you plan to most of your pictures to friends or post them on a Web site. This is 307,000 total pixels. 1216x912 pixels - If you are planning to print your images, this is a good resolution. This is a "megapixel" image size -- 1,109,000 total pixels. 1600x1200 pixels - This is "high resolution." Images taken with this resolution can be printed in larger sizes, such as 8x10 inches, with good results. This is almost 2 million total pixels. You can find cameras today with up to 10.2 million pixels.

Comp 1001: IT & Architecture - Joe Carthy 13 Image Representation Resolution for Web and You may or may not need lots of resolution, depending on what you want to do with your pictures. If you are planning to do nothing more than display images on a Web page or send them in , then using 640x480 resolution has several advantages: Your camera's memory will hold more images at this low resolution than at higher resolutions. It will take less time to move the images from the camera to your computer. The images will take up less space on your computer. On the other hand, if your goal is to print large images, you need to take high- resolution shots and need a camera with lots of pixels. JPEG compression reduces size by a factor of 16 if used

Comp 1001: IT & Architecture - Joe Carthy 14 Image Representation Resolution: Printing Pictures There are many different technologies used in printers. In general, printer manufacturers will advertise the printer resolution in dots per inch (dpi).. The rule of thumb is that you divide your printer's color resolution by about four to get the actual maximum picture quality of your printer. So for a 1200 dpi printer, a resolution of 300 pixels per inch would be just about the best quality that printer is capable of. This means that with a 1200x900 pixel image, you could print a 4-inch by 3-inch print. In practice, though, lower resolutions than this usually provide adequate quality. To make a reasonable print that comes close to the quality of a traditionally developed photograph, you need about 150 to 200 pixels per inch of print size.

Comp 1001: IT & Architecture - Joe Carthy 15 Image Representation Kodak recommends the following as minimum resolutions for different print sizes

Comp 1001: IT & Architecture - Joe Carthy 16 Image Representation: Video Video may be regarded as sequences of still images and essentially the same techniques are used to represent the images as for photographic images. In addition the sound is stored separately, again, in the same fashion as for CDs. Compression becomes an important issue for video because of the huge volume of data involved. A set of standards called MPEG (-1,-2,-3, -4) is used for compressing video Raw video generates approx. 170Mbps e.g. 10 second video clip uses over 200Mb Can reduce this to 100Kbps by using MPEG e.g 10 second clip takes 125Kb MPEG makes it feasible to easily store and transmit video

Comp 1001: IT & Architecture - Joe Carthy 17 Image Representation: Review Images are represented using pixels Resolution refers to number of pixels per image Need Megapixel resolution for print quality large images Compression is important: JPEG Video: sequence of still images MPEG compression Exercises How are images represented ? What are pixels ? What is resolution ? Why is high resolution needed in some cases ? What cases ? Why is compression important ?