CHAPTER 2 - DIGITAL DATA REPRESENTATION AND NUMBERING SYSTEMS

Size: px
Start display at page:

Download "CHAPTER 2 - DIGITAL DATA REPRESENTATION AND NUMBERING SYSTEMS"

Transcription

1 CHAPTER 2 - DIGITAL DATA REPRESENTATION AND NUMBERING SYSTEMS

2 INTRODUCTION Digital computers use sequences of binary digits (bits) to represent numbers, letters, special symbols, music, pictures, and videos. For this reason, we study the Digital Data Representation and Numbering System in order to understand how computers store information in Binary digits

3 TYPES OF SIGNAL - ANALOGUE SIGNAL An analog or analogue signal is any variable signal continuous in both time and amplitude. Analog signals are represented as sine wave. The sine wave's amplitude value can be seen as the higher and lower points of the wave, while the frequency (time) value is measured in the sine wave's physical length from left to right.

4 TYPES OF SIGNAL - ANALOGUE SIGNAL Examples of analog signals: A good example of an analogue signal is the loudspeaker of a stereo system. When the volume is turned up, the sound increases slowly and constantly. The sound from a human voice is analog, because sound waves are continuous, Even a typical kitchen clock having its hands moving continuously can be represented as an analog signal

5 TYPES OF SIGNAL - DIGITAL SIGNAL Digital Signal is discrete signal in both time and amplitude. A digital signal refers to an electrical signal that is converted into a pattern of bits. These patterns can be generated in many ways, each producing a specific code. digital signals can take only a limited number of values (discrete steps); usually just two values are used: the positive supply voltage (+Vs) and zero volts (0V).

6 TYPES OF SIGNAL - DIGITAL SIGNAL Logical States +Vs 0Vs True False On Off High Low 1 0

7 ANALOGUE TO DIGITAL CONVERTOR (ADC) If you want to attach an analogue input device to a digital device such as a computer, you will need an analogue to digital convertor(adc). A good example of a computer peripheral that requires an ADC is a microphone. When you plug a microphone into a computer, you are actually plugging it into an ADC which converts the analogue signals from the microphone into digital data that the computer can then process.

8 Digital to Analogue Convertor (DAC) If you want to attach an analogue output device to a digi tal device such as a computer, you will need a digital to analogue convertor(dac). A good example of a computer peripheral that requires a DAC is a loud speaker or headphones. When you plug a loudspeaker into a computer, you are actually plugging it into a DAC, which takes digital data from the computer and converts it into analogu e signals which the loudspeaker then converts into sound.

9 Digital to Analogue Convertor (DAC) Another device that contains a DAC is an MP3 player. The music data stored in the player is all digital, but the player produces analogue signals which the headphones convert into sound. Note: The ADC and DAC in a computer that are used for connecting microphones and loud speakers are part of the computer s sound card.

10 Data Representation-Text/Character Data Representation Any piece of data that is stored in a computer s memory must be stored as a binary number. Data is not just alphabetic characters, but also numeric characters, punctuation, spaces, etc. When a character is stored in memory, it is first converted to a numeric code. The numeric code is then stored in memory as a binary number Historically, the most important of these coding schemes is ASCII, which stands for the American Standard Code for Information Interchange. It is the most commonly used coding technique for alphanumeric data.

11 Data Representation-Text/Character Data Representation Old version of ASCII characters are represented in 7 bits. So 2 7 =128 numeric codes, those represent the English letters, various punctuation marks, and other characters. Extended version of ASCII characters are represented in 8 bits. So 2 8 =256 numeric codes are used for alphanumeric characters. ASCII value for A is 65; B is 66 and so on. ASCII value for a is 97 and b is 98 and so on. ASCII value for 0 is 48, 1 is 49 and so on ASCII is limited however, because it defines codes for only 128 or 256 characters. To remedy this, the Unicode character set was developed in the early 1990s.

12 Data Representation-Text/Character Data Representation Unicode (Universal Code) is an extensive encoding scheme that is compatible with ASCII, but can also represent characters for many of the natural languages in the world. The Unicode character set uses 16 bits per character. Therefore, the Unicode character set can represent 2 16 =65,536 characters. Unicode was designed to be a superset of ASCII. That is, the first 256 characters in the Unicode character set correspond exactly to the extended ASCII character set. Today, Unicode is quickly becoming the standard character set used in the computer industry

13 Data Representation-Images and Graphics Digitizing a picture is the act of representing it as a collection of individual dots called pixels (Picture elements). Each pixel is assigned a tonal value (black, white, shades of gray or color), which is represented in binary code (zeros and ones). The number of pixels used to represent a picture is called the resolution. Resolution is usually expressed by numbers for horizontal and vertical: 640 by 480 means 640 pixels wide, by 480 pixels tall. The storage of image information on a pixel-by-pixel basis is called a raster-graphics format. Most popular raster file formats are: JPEG, GIF, BMP, TIFF, PCX and PNG.

14 Data Representation-Images and Graphics Color is our perception of the various frequencies of light that reach the retinas of our eyes. Color is often expressed in a computer as an RGB (red-green-blue) value, which is actually three numbers that indicate the relative contribution of each of these three primary colors. For example, an RGB value of (255, 255, 0) maximizes the contribution of red and green, and minimizes the contribution of blue, which results in a bright yellow.

15 Data Representation-Sound/Audio Sound is perceived when a series of air compressions vibrate a membrane in our ear, which sends signals to our brain. Several popular formats are: WAV, AU, AIFF, VQF, and MP3. Currently, the dominant format for compressing audio data is MP3

16 Data Representation - Video/Animation What is video? is the technology of electronically capturing, recording, processing, storing, transmitting and reconstruction a sequence of still images representing scenes in motion It is a collection of still images Common video codec s formats are: AVI, MOV, MPEG (Moving Pictures Expert Group) and MP4

17 NUMBERING SYSTEM A number system is the set of symbols used to express quantities as the basis for counting, determining order, comparing amounts, performing calculations, and representing value. Examples of numbering systems are decimal, binary, hexadecimal and octal numbering system. In order to represent numbers of different bases, we surround a number in parenthesis and then place a subscript with the base of the number. A decimal number is written (9233) 10 A binary number is written (11011) 2 An octal number is written (7133) 8 A hexadecimal number is written (2BC1) 16 g system

18 DECIMAL NUMBER SYSTEM The decimal number system is used in our everyday life. It has values from 0 9. Decimal number system has a base of 10. This means that each digit in the number is multiplied by 10 raised to a power corresponding to that digit s position. (4928) 10 8 x 10 0 = 8x1 2 x 10 1 = 1x10 9 x 10 2 = 9x100 4 x 10 3 = 4x100

19 Binary Number System Binary is a number system used by digital devices like computers. In the binary system, there are only two digits, 0 and 1. The binary system is said to have a base of 2. (1001) 2 1 x 2 0 = 1x1 0 x 2 1 = 0x2 0 x 2 2 = 0x4 1 x 2 3 = 1x8

20 Octal Number System Octal number system is a numeral system with a base of 8. The values are represented by 0-7. Each octal digit represents three (3) binary bits.

21 Hexadecimal Number System Hexadecimal number system is a numeral system with a base of 16. The values are represented by 0-9, A,B,C,D,E,F. Each hexadecimal digit represents four (4) binary bits

22 Numbers with Different Base Decimal Numbers (Base 10) Binary Numbers ( Base 2) Octal Numbers (Base 8) A B C D E F Hexadecimal Numbers (Base 16)

23 Why we study binary number system? Most computers use the simple type of digital technology. Their electronic circuits have only two possible states on and off. When discussing these states, we usually indicate the on state with 1 and the off state with 0. These 1 s and 0 s are referred to as bits which is an abbreviation to binary digits. The above picture represents When data is input into a computer, the numbers or words we understand are translated into a binary numbers system. Binary is the language of computers.

24 Converting Decimal Numbers to Binary Numbers Example 1: Convert the decimal number (35) 10 to binary (? ) ANS: (35) 10 = (100011) 2

25 Converting Decimal Numbers to Binary Numbers Example 2: Convert the decimal number (35.320) 10 to its equivalent binary (? ) 2 We know the integer part is (35) 10 = (100011) 2 Fraction part is (0.320) * 2 = > * 2 = > * 2 = > * 2 = > * 2 = > * 2 = > * 2 = > * 2 = > 1 (0.320) 10 = ( ) 2 So combining integer and fraction part, Answer is (35.320) 10 =( ) 2

26 Converting Binary numbers to Decimal numbers Conversion of a binary number to its equivalent decimal number is done by accumulating the multiplication of each digit of the binary number by Base 2 of power equal to the location of the digit in the binary number. Least significant digit (LSD) Most significant digit (MSD) Location 0 Location 4 Example 1: convert the binary number (11011 ) 2 to decimal number (? ) 10 We give the each digit a location number. We start from the least significant digit to be assigned location 0, next to it location 1 until digit 1 at the most significant digit location which it has to be assigned location 4. (11011) 2 = = = (27) 10 Answer is (11011) 2 = (27) 10

27 Converting Binary numbers to Decimal numbers Example 2: What is the decimal number of (100101) 2

28 Converting Binary numbers to Decimal Example 3: Convert ( ) 2 = (? ) 10 = numbers = = / /8 = = Answer is ( ) 2 = (5.625) 10

29 Arithmetic operations-binary Addition The ALU can perform five kinds of arithmetic operations, or mathematical calculations: addition, subtraction, multiplication, division and modulus (remainder of division). Let us see the example of how binary addition done by the ALU. Binary addition INPUT OUTPUT A B A+B (0 with Carry 1)

30 Arithmetic operations-binary Addition What is the Binary addition of (101) 2 + (1001) 2 What is the Binary addition of (111010) 2 + (11011) 2

Byte = More common: 8 bits = 1 byte Abbreviation:

Byte = More common: 8 bits = 1 byte Abbreviation: Text, Images, Video and Sound ASCII-7 In the early days, a was used, with of 0 s and 1 s, enough for a typical keyboard. The standard was developed by (American Standard Code for Information Interchange)

More information

CS Lecture 10:

CS Lecture 10: CS 1101101 Lecture 10: Digital Encoding---Representing the world in symbols Review: Analog vs Digital (Symbolic) Information Text encoding: ASCII and Unicode Encoding pictures: Sampling Quantizing Analog

More information

Chapter 8. Representing Multimedia Digitally

Chapter 8. Representing Multimedia Digitally Chapter 8 Representing Multimedia Digitally Learning Objectives Explain how RGB color is represented in bytes Explain the difference between bits and binary numbers Change an RGB color by binary addition

More information

Lecture 2: Data Representation

Lecture 2: Data Representation Points Addressed in this Lecture Lecture : Data Representation Professor Peter Cheung Department of EEE, Imperial College London What do we mean by data? How can data be represented electronically? What

More information

Digitizing Color. Place Value in a Decimal Number. Place Value in a Binary Number. Chapter 11: Light, Sound, Magic: Representing Multimedia Digitally

Digitizing Color. Place Value in a Decimal Number. Place Value in a Binary Number. Chapter 11: Light, Sound, Magic: Representing Multimedia Digitally Chapter 11: Light, Sound, Magic: Representing Multimedia Digitally Fluency with Information Technology Third Edition by Lawrence Snyder Digitizing Color RGB Colors: Binary Representation Giving the intensities

More information

5/17/2009. Digitizing Color. Place Value in a Binary Number. Place Value in a Decimal Number. Place Value in a Binary Number

5/17/2009. Digitizing Color. Place Value in a Binary Number. Place Value in a Decimal Number. Place Value in a Binary Number Chapter 11: Light, Sound, Magic: Representing Multimedia Digitally Digitizing Color Fluency with Information Technology Third Edition by Lawrence Snyder RGB Colors: Binary Representation Giving the intensities

More information

The worlds we live in. The worlds we live in

The worlds we live in. The worlds we live in The contents of this Supporting Material document have been prepared from the Eight units of study texts for the course M150: Date, Computing and Information, produced by The Open University, UK. Copyright

More information

Adding some light to computing. Lawrence Snyder University of Washington, Seattle

Adding some light to computing. Lawrence Snyder University of Washington, Seattle Adding some light to computing. Lawrence Snyder University of Washington, Seattle Lawrence Snyder 2004 Recall that the screen (and other video displays) use red- green- blue lights, arranged in an array

More information

15110 Principles of Computing, Carnegie Mellon University

15110 Principles of Computing, Carnegie Mellon University 1 Overview Human sensory systems and digital representations Digitizing images Digitizing sounds Video 2 HUMAN SENSORY SYSTEMS 3 Human limitations Range only certain pitches and loudnesses can be heard

More information

Unit 1 Digital Content

Unit 1 Digital Content Unit 1 Digital Content Computer Concepts 2016 ENHANCED EDITION 1 Unit Contents Section A: Digital Basics Section B: Digital Sound Section C: Bitmap Graphics Section D: Vector Graphics Section E: Digital

More information

Unit 1.1: Information representation

Unit 1.1: Information representation Unit 1.1: Information representation 1.1.1 Different number system A number system is a writing system for expressing numbers, that is, a mathematical notation for representing numbers of a given set,

More information

Introduction to Color Theory

Introduction to Color Theory Systems & Biomedical Engineering Department SBE 306B: Computer Systems III (Computer Graphics) Dr. Ayman Eldeib Spring 2018 Introduction to With colors you can set a mood, attract attention, or make a

More information

15110 Principles of Computing, Carnegie Mellon University

15110 Principles of Computing, Carnegie Mellon University 1 Last Time Data Compression Information and redundancy Huffman Codes ALOHA Fixed Width: 0001 0110 1001 0011 0001 20 bits Huffman Code: 10 0000 010 0001 10 15 bits 2 Overview Human sensory systems and

More information

my bank account number and sort code the bank account number and sort code for the cheque paid in the amount of the cheque.

my bank account number and sort code the bank account number and sort code for the cheque paid in the amount of the cheque. Data and information What do we mean by data? The term "data" means raw facts and figures - usually a series of values produced as a result of an event or transaction. For example, if I buy an item in

More information

Image Perception & 2D Images

Image Perception & 2D Images Image Perception & 2D Images Vision is a matter of perception. Perception is a matter of vision. ES Overview Introduction to ES 2D Graphics in Entertainment Systems Sound, Speech & Music 3D Graphics in

More information

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02) 2145230 Aircraft Electricity and Electronics Asst. Prof. Thavatchai Tayjasanant, PhD Email: taytaycu@gmail.com aycu@g a co Power System Research Lab 12 th Floor, Building 4 Tel: (02) 218-6527 1 Chapter

More information

CS 262 Lecture 01: Digital Images and Video. John Magee Some material copyright Jones and Bartlett

CS 262 Lecture 01: Digital Images and Video. John Magee Some material copyright Jones and Bartlett CS 262 Lecture 01: Digital Images and Video John Magee Some material copyright Jones and Bartlett 1 Overview/Questions What is digital information? What is color? How do pictures get encoded into binary

More information

How is Information Stored

How is Information Stored Binary CSCE 101 How is Information Stored Information is stored in the computer as binary numbers (0 s and 1 s). Even images are stored in this way, where a combination of 0 s and 1 s represent each color

More information

The worlds we live in. The worlds we live in

The worlds we live in. The worlds we live in Introduction The unit aims to: explain the concept of crossing the boundary between the computer s world and our own. explain the digital nature of the computer s world and contrast it with our analogue

More information

Assistant Lecturer Sama S. Samaan

Assistant Lecturer Sama S. Samaan MP3 Not only does MPEG define how video is compressed, but it also defines a standard for compressing audio. This standard can be used to compress the audio portion of a movie (in which case the MPEG standard

More information

Information representation

Information representation 2Unit Chapter 11 1 Information representation Revision objectives By the end of the chapter you should be able to: show understanding of the basis of different number systems; use the binary, denary and

More information

Indexed Color. A browser may support only a certain number of specific colors, creating a palette from which to choose

Indexed Color. A browser may support only a certain number of specific colors, creating a palette from which to choose Indexed Color A browser may support only a certain number of specific colors, creating a palette from which to choose Figure 3.11 The Netscape color palette 1 QUIZ How many bits are needed to represent

More information

Overview. Lecture 3. Terminology. Terminology. Background. Background. Transmission basics. Transmission basics. Two signal types

Overview. Lecture 3. Terminology. Terminology. Background. Background. Transmission basics. Transmission basics. Two signal types Lecture 3 Transmission basics Chapter 3, pages 75-96 Dave Novak School of Business University of Vermont Overview Transmission basics Terminology Signal Channel Electromagnetic spectrum Two signal types

More information

The BIOS in many personal computers stores the date and time in BCD. M-Mushtaq Hussain

The BIOS in many personal computers stores the date and time in BCD. M-Mushtaq Hussain Practical applications of BCD The BIOS in many personal computers stores the date and time in BCD Images How data for a bitmapped image is encoded? A bitmap images take the form of an array, where the

More information

CS101 Lecture 19: Digital Images. John Magee 18 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

CS101 Lecture 19: Digital Images. John Magee 18 July 2013 Some material copyright Jones and Bartlett. Overview/Questions CS101 Lecture 19: Digital Images John Magee 18 July 2013 Some material copyright Jones and Bartlett 1 Overview/Questions What is digital information? What is color? How do pictures get encoded into binary

More information

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Objectives In this chapter, you will learn about The binary numbering system Boolean logic and gates Building computer circuits

More information

Digital Information. INFO/CSE 100, Spring 2006 Fluency in Information Technology.

Digital Information. INFO/CSE 100, Spring 2006 Fluency in Information Technology. Digital Information INFO/CSE, Spring 26 Fluency in Information Technology http://www.cs.washington.edu/ 5/8/6 fit-9-more-digital 26 University of Washington Reading Readings and References» Fluency with

More information

*Which code? Images, Sound, Video. Computer Graphics Vocabulary

*Which code? Images, Sound, Video. Computer Graphics Vocabulary *Which code? Images, Sound, Video Y. Mendelsohn When a byte of memory is filled with up to eight 1s and 0s, how does the computer decide whether to represent the code as ASCII, Unicode, Color, MS Word

More information

CS101 Lecture 18: Audio Encoding. What You ll Learn Today

CS101 Lecture 18: Audio Encoding. What You ll Learn Today CS101 Lecture 18: Audio Encoding Sampling Quantizing Aaron Stevens (azs@bu.edu) with special guest Wayne Snyder (snyder@bu.edu) 16 October 2012 What You ll Learn Today How do we hear sounds? How can audio

More information

Lecture 2. Digital Basics

Lecture 2. Digital Basics Lecture Digital Basics Peter Cheung Department of Electrical & Electronic Engineering Imperial College London URL: www.ee.ic.ac.uk/pcheung/teaching/de1_ee/ E-mail: p.cheung@imperial.ac.uk Lecture Slide

More information

UNIT 7C Data Representation: Images and Sound

UNIT 7C Data Representation: Images and Sound UNIT 7C Data Representation: Images and Sound 1 Pixels An image is stored in a computer as a sequence of pixels, picture elements. 2 1 Resolution The resolution of an image is the number of pixels used

More information

Q A bitmap file contains the binary on the left below. 1 is white and 0 is black. Colour in each of the squares. What is the letter that is reve

Q A bitmap file contains the binary on the left below. 1 is white and 0 is black. Colour in each of the squares. What is the letter that is reve R 25 Images and Pixels - Reading Images need to be stored and processed using binary. The simplest image format is for an image to be stored as a bitmap image. Bitmap images are made up of picture elements

More information

CS101 Lecture 12: Digital Images. What You ll Learn Today

CS101 Lecture 12: Digital Images. What You ll Learn Today CS101 Lecture 12: Digital Images Sampling and Quantizing Using bits to Represent Colors and Images Aaron Stevens (azs@bu.edu) 20 February 2013 What You ll Learn Today What is digital information? How to

More information

UNIT 7B Data Representa1on: Images and Sound. Pixels. An image is stored in a computer as a sequence of pixels, picture elements.

UNIT 7B Data Representa1on: Images and Sound. Pixels. An image is stored in a computer as a sequence of pixels, picture elements. UNIT 7B Data Representa1on: Images and Sound 1 Pixels An image is stored in a computer as a sequence of pixels, picture elements. 2 1 Resolu1on The resolu1on of an image is the number of pixels used to

More information

Sound/Audio. Slides courtesy of Tay Vaughan Making Multimedia Work

Sound/Audio. Slides courtesy of Tay Vaughan Making Multimedia Work Sound/Audio Slides courtesy of Tay Vaughan Making Multimedia Work How computers process sound How computers synthesize sound The differences between the two major kinds of audio, namely digitised sound

More information

MOTION GRAPHICS BITE 3623

MOTION GRAPHICS BITE 3623 MOTION GRAPHICS BITE 3623 DR. SITI NURUL MAHFUZAH MOHAMAD FTMK, UTEM Lecture 1: Introduction to Graphics Learn critical graphics concepts. 1 Bitmap (Raster) vs. Vector Graphics 2 Software Bitmap Images

More information

Chapter 3 LEAST SIGNIFICANT BIT STEGANOGRAPHY TECHNIQUE FOR HIDING COMPRESSED ENCRYPTED DATA USING VARIOUS FILE FORMATS

Chapter 3 LEAST SIGNIFICANT BIT STEGANOGRAPHY TECHNIQUE FOR HIDING COMPRESSED ENCRYPTED DATA USING VARIOUS FILE FORMATS 44 Chapter 3 LEAST SIGNIFICANT BIT STEGANOGRAPHY TECHNIQUE FOR HIDING COMPRESSED ENCRYPTED DATA USING VARIOUS FILE FORMATS 45 CHAPTER 3 Chapter 3: LEAST SIGNIFICANT BIT STEGANOGRAPHY TECHNIQUE FOR HIDING

More information

Images and Colour COSC342. Lecture 2 2 March 2015

Images and Colour COSC342. Lecture 2 2 March 2015 Images and Colour COSC342 Lecture 2 2 March 2015 In this Lecture Images and image formats Digital images in the computer Image compression and formats Colour representation Colour perception Colour spaces

More information

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished Number system: the system used to count discrete units is called number system Decimal system: the number system that contains 10 distinguished symbols that is 0-9 or digits is called decimal system. As

More information

Unit 4.4 Representing Images

Unit 4.4 Representing Images Unit 4.4 Representing Images Candidates should be able to: a) Explain the representation of an image as a series of pixels represented in binary b) Explain the need for metadata to be included in the file

More information

UNIT 7C Data Representation: Images and Sound Principles of Computing, Carnegie Mellon University CORTINA/GUNA

UNIT 7C Data Representation: Images and Sound Principles of Computing, Carnegie Mellon University CORTINA/GUNA UNIT 7C Data Representation: Images and Sound Carnegie Mellon University CORTINA/GUNA 1 Announcements Pa6 is available now 2 Pixels An image is stored in a computer as a sequence of pixels, picture elements.

More information

Computer Graphics: Graphics Output Primitives Primitives Attributes

Computer Graphics: Graphics Output Primitives Primitives Attributes Computer Graphics: Graphics Output Primitives Primitives Attributes By: A. H. Abdul Hafez Abdul.hafez@hku.edu.tr, 1 Outlines 1. OpenGL state variables 2. RGB color components 1. direct color storage 2.

More information

Compression and Image Formats

Compression and Image Formats Compression Compression and Image Formats Reduce amount of data used to represent an image/video Bit rate and quality requirements Necessary to facilitate transmission and storage Required quality is application

More information

Module 4 Build a Game

Module 4 Build a Game Module 4 Build a Game Game On 2 Game Instructions 3 Exercises 12 Look at Me 13 Exercises 15 I Can t Hear You! 17 Exercise 20 End of Module Quiz 20 2013 Lero Game On Design a Game When you start a programming

More information

Data Representation. "There are 10 kinds of people in the world, those who understand binary numbers, and those who don't."

Data Representation. There are 10 kinds of people in the world, those who understand binary numbers, and those who don't. Data Representation "There are 10 kinds of people in the world, those who understand binary numbers, and those who don't." How Computers See the World There are a number of very common needs for a computer,

More information

CGT 211 Sampling and File Formats

CGT 211 Sampling and File Formats CGT 211 Sampling and File Formats The Physics of What We Do 2 types of waves - electromagnetic and pressure Analog frequency variations, infinite defines color, brightness, pitch, volume Digital Data Binary

More information

CS 3570 Chapter 5. Digital Audio Processing

CS 3570 Chapter 5. Digital Audio Processing Chapter 5. Digital Audio Processing Part I: Sec. 5.1-5.3 1 Objectives Know the basic hardware and software components of a digital audio processing environment. Understand how normalization, compression,

More information

Chapter 1 Binary Systems

Chapter 1 Binary Systems EEA051 - Digital Logic 數位邏輯 Chapter 1 Binary Systems 吳俊興高雄大學資訊工程學系 September 2005 Chapter 1. Binary Systems 1-1 Digital Systems 1-2 Binary Numbers 1-3 Number Base Conversions 1-4 Octal and Hexadecimal

More information

What You ll Learn Today

What You ll Learn Today CS101 Lecture 18: Image Compression Aaron Stevens 21 October 2010 Some material form Wikimedia Commons Special thanks to John Magee and his dog 1 What You ll Learn Today Review: how big are image files?

More information

Digital Asset Management 2. Introduction to Digital Media Format

Digital Asset Management 2. Introduction to Digital Media Format Digital Asset Management 2. Introduction to Digital Media Format 2010-09-09 Content content = essence + metadata 2 Digital media data types Table. File format used in Macromedia Director File import File

More information

Media Devices: Audio. CTEC1465/2018S Computer System Support

Media Devices: Audio. CTEC1465/2018S Computer System Support Media Devices: Audio CTEC1465/2018S Computer System Support Learning Objective Describe how to implement sound in a PC Introduction The process by which sounds are stored in electronic format on your PC

More information

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D.

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D. The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D. Home The Book by Chapters About the Book Steven W. Smith Blog Contact Book Search Download this chapter in PDF

More information

Lecture 1: image display and representation

Lecture 1: image display and representation Learning Objectives: General concepts of visual perception and continuous and discrete images Review concepts of sampling, convolution, spatial resolution, contrast resolution, and dynamic range through

More information

MULTIMEDIA SYSTEMS

MULTIMEDIA SYSTEMS 1 Department of Computer Engineering, Faculty of Engineering King Mongkut s Institute of Technology Ladkrabang 01076531 MULTIMEDIA SYSTEMS Pk Pakorn Watanachaturaporn, Wt ht Ph.D. PhD pakorn@live.kmitl.ac.th,

More information

CHAPTER 3: Data Formats

CHAPTER 3: Data Formats CHAPTER 3: Data Formats The Architecture of Computer Hardware and Systems Software: An Information Technology Approach 3rd Edition, Irv Englander John Wiley and Sons 2003 Linda Senne, Bentley College Wilson

More information

Lecture - 3. by Shahid Farid

Lecture - 3. by Shahid Farid Lecture - 3 by Shahid Farid Image Digitization Raster versus vector images Progressive versus interlaced display Popular image file formats Why so many formats? Shahid Farid, PUCIT 2 To create a digital

More information

Fundamentals of Multimedia

Fundamentals of Multimedia Fundamentals of Multimedia Lecture 2 Graphics & Image Data Representation Mahmoud El-Gayyar elgayyar@ci.suez.edu.eg Outline Black & white imags 1 bit images 8-bit gray-level images Image histogram Dithering

More information

EE 109 Midterm Review

EE 109 Midterm Review EE 109 Midterm Review 1 2 Number Systems Computer use base 2 (binary) 0 and 1 Humans use base 10 (decimal) 0 to 9 Humans using computers: Base 16 (hexadecimal) 0 to 15 (0 to 9,A,B,C,D,E,F) Base 8 (octal)

More information

Digital Imaging & Photoshop

Digital Imaging & Photoshop Digital Imaging & Photoshop Photoshop Created by Thomas Knoll in 1987, originally called Display Acquired by Adobe in 1988 Released as Photoshop 1.0 for Macintosh in 1990 Released the Creative Suite in

More information

EE40 Lecture 35. Prof. Chang-Hasnain. 12/5/07 Reading: Ch 7, Supplementary Reader

EE40 Lecture 35. Prof. Chang-Hasnain. 12/5/07 Reading: Ch 7, Supplementary Reader EE4 Lecture 35 2/5/7 Reading: Ch 7, Supplementary Reader EE4 all 26 Slide Week 5 OUTLINE Need for Input Controlled Pull-Up CMOS Inverter nalysis CMOS Voltage Transfer Characteristic Combinatorial logic

More information

CS 484, Fall 2018 Homework Assignment 1: Binary Image Analysis

CS 484, Fall 2018 Homework Assignment 1: Binary Image Analysis CS 484, Fall 2018 Homework Assignment 1: Binary Image Analysis Due: October 31, 2018 The goal of this assignment is to find objects of interest in images using binary image analysis techniques. Question

More information

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University Images and Graphics Images and Graphics Graphics and images are non-textual information that can be displayed and printed. Graphics (vector graphics) are an assemblage of lines, curves or circles with

More information

DESIGN OF 4 BIT BINARY ARITHMETIC CIRCUIT USING 1 S COMPLEMENT METHOD

DESIGN OF 4 BIT BINARY ARITHMETIC CIRCUIT USING 1 S COMPLEMENT METHOD e-issn 2455 1392 Volume 2 Issue 4, April 2016 pp. 176-187 Scientific Journal Impact Factor : 3.468 http://www.ijcter.com DESIGN OF 4 BIT BINARY ARITHMETIC CIRCUIT USING 1 S COMPLEMENT METHOD Dhrubojyoti

More information

Chapter 9 Image Compression Standards

Chapter 9 Image Compression Standards Chapter 9 Image Compression Standards 9.1 The JPEG Standard 9.2 The JPEG2000 Standard 9.3 The JPEG-LS Standard 1IT342 Image Compression Standards The image standard specifies the codec, which defines how

More information

Analog to digital and digital to analog converters

Analog to digital and digital to analog converters Analog to digital and digital to analog converters A/D converter D/A converter ADC DAC ad da Number bases Decimal, base, numbers - 9 Binary, base, numbers and Oktal, base 8, numbers - 7 Hexadecimal, base

More information

Digital Imaging Rochester Institute of Technology

Digital Imaging Rochester Institute of Technology Digital Imaging 1999 Rochester Institute of Technology So Far... camera AgX film processing image AgX photographic film captures image formed by the optical elements (lens). Unfortunately, the processing

More information

Chapter 1: Digital logic

Chapter 1: Digital logic Chapter 1: Digital logic I. Overview In PHYS 252, you learned the essentials of circuit analysis, including the concepts of impedance, amplification, feedback and frequency analysis. Most of the circuits

More information

Digital Image processing Lab

Digital Image processing Lab Digital Image processing Lab Islamic University Gaza Engineering Faculty Department of Computer Engineering 2013 EELE 5110: Digital Image processing Lab Eng. Ahmed M. Ayash Lab # 2 Basic Image Operations

More information

4/9/2015. Simple Graphics and Image Processing. Simple Graphics. Overview of Turtle Graphics (continued) Overview of Turtle Graphics

4/9/2015. Simple Graphics and Image Processing. Simple Graphics. Overview of Turtle Graphics (continued) Overview of Turtle Graphics Simple Graphics and Image Processing The Plan For Today Website Updates Intro to Python Quiz Corrections Missing Assignments Graphics and Images Simple Graphics Turtle Graphics Image Processing Assignment

More information

EE292: Fundamentals of ECE

EE292: Fundamentals of ECE EE292: Fundamentals of ECE Fall 2012 TTh 10:00-11:15 SEB 1242 Lecture 21 121113 http://www.ee.unlv.edu/~b1morris/ee292/ 2 Outline Chapter 7 - Logic Circuits Binary Number Representation Binary Arithmetic

More information

HTTP transaction with Graphics HTML file + two graphics files

HTTP transaction with Graphics HTML file + two graphics files HTTP transaction with Graphics HTML file + two graphics files Graphics are grids of Pixels (Picture Elements) Each pixel is exactly one color. At normal screen resolution you can't tell they are square.

More information

Fundamentals of Digital Audio *

Fundamentals of Digital Audio * Digital Media The material in this handout is excerpted from Digital Media Curriculum Primer a work written by Dr. Yue-Ling Wong (ylwong@wfu.edu), Department of Computer Science and Department of Art,

More information

Specific structure or arrangement of data code stored as a computer file.

Specific structure or arrangement of data code stored as a computer file. FILE FORMAT Specific structure or arrangement of data code stored as a computer file. A file format tells the computer how to display, print, process, and save the data. It is dictated by the application

More information

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors ITEC2110 FALL 2011 TEST 2 REVIEW Chapters 2-3: Images I. Concepts Graphics A. Bitmaps and Vector Representations Logical vs. Physical Pixels - Images are modeled internally as an array of pixel values

More information

Sound recording & playback

Sound recording & playback Sound recording & playback Dynamic microphone Condenser microphone Carbon microphone Frequency response curves Sound recording Amplifiers Loudspeakers Sound recording & playback - 1 Dynamic microphone

More information

Introduction (concepts and definitions)

Introduction (concepts and definitions) Objectives: Introduction (digital system design concepts and definitions). Advantages and drawbacks of digital techniques compared with analog. Digital Abstraction. Synchronous and Asynchronous Systems.

More information

CSC 170 Introduction to Computers and Their Applications. Lecture #3 Digital Graphics and Video Basics. Bitmap Basics

CSC 170 Introduction to Computers and Their Applications. Lecture #3 Digital Graphics and Video Basics. Bitmap Basics CSC 170 Introduction to Computers and Their Applications Lecture #3 Digital Graphics and Video Basics Bitmap Basics As digital devices gained the ability to display images, two types of computer graphics

More information

Course Objectives & Structure

Course Objectives & Structure Course Objectives & Structure Digital imaging is at the heart of science, medicine, entertainment, engineering, and communications. This course provides an introduction to mathematical tools for the analysis

More information

CMPSC 390 Visual Computing Spring 2014 Bob Roos Review Notes Introduction and PixelMath

CMPSC 390 Visual Computing Spring 2014 Bob Roos   Review Notes Introduction and PixelMath Review Notes 1 CMPSC 390 Visual Computing Spring 2014 Bob Roos http://cs.allegheny.edu/~rroos/cs390s2014 Review Notes Introduction and PixelMath Major Concepts: raster image, pixels, grayscale, byte, color

More information

INTRODUCTION TO COMPUTER GRAPHICS

INTRODUCTION TO COMPUTER GRAPHICS INTRODUCTION TO COMPUTER GRAPHICS ITC 31012: GRAPHICAL DESIGN APPLICATIONS AJM HASMY hasmie@gmail.com WHAT CAN PS DO? - PHOTOSHOPPING CREATING IMAGE Custom icons, buttons, lines, balls or text art web

More information

Multimedia. Graphics and Image Data Representations (Part 2)

Multimedia. Graphics and Image Data Representations (Part 2) Course Code 005636 (Fall 2017) Multimedia Graphics and Image Data Representations (Part 2) Prof. S. M. Riazul Islam, Dept. of Computer Engineering, Sejong University, Korea E-mail: riaz@sejong.ac.kr Outline

More information

Fundamentals of Data and Signals

Fundamentals of Data and Signals Fundamentals of Data and Signals Chapter 2 Learning Objectives After reading this chapter, you should be able to: Distinguish between data and signals and cite the advantages of digital data and signals

More information

Raster (Bitmap) Graphic File Formats & Standards

Raster (Bitmap) Graphic File Formats & Standards Raster (Bitmap) Graphic File Formats & Standards Contents Raster (Bitmap) Images Digital Or Printed Images Resolution Colour Depth Alpha Channel Palettes Antialiasing Compression Colour Models RGB Colour

More information

Lecture 3: Sensors, signals, ADC and DAC

Lecture 3: Sensors, signals, ADC and DAC Instrumentation and data acquisition Spring 2010 Lecture 3: Sensors, signals, ADC and DAC Zheng-Hua Tan Multimedia Information and Signal Processing Department of Electronic Systems Aalborg University,

More information

2. By convention, the minimum and maximum values of analog data and signals are presented as voltages.

2. By convention, the minimum and maximum values of analog data and signals are presented as voltages. Chapter 2: Fundamentals of Data and Signals Data Communications and Computer Networks A Business Users Approach 8th Edition White TEST BANK Full clear download (no formatting errors) at: https://testbankreal.com/download/data-communications-computer-networksbusiness-users-approach-8th-edition-white-test-bank/

More information

Dr. Cahit Karakuş ANALOG SİNYALLER

Dr. Cahit Karakuş ANALOG SİNYALLER Dr. Cahit Karakuş ANALOG SİNYALLER Sinusoidal Waveform Mathematically it is represented as: Sinusoidal Waveform Unit of measurement for horizontal axis can be time, degrees or radians. Sinusoidal Waveform

More information

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as BioE 1310 - Review 5 - Digital 1/16/2017 Instructions: On the Answer Sheet, enter your 2-digit ID number (with a leading 0 if needed) in the boxes of the ID section. Fill in the corresponding numbered

More information

BEST PRACTICES FOR SCANNING DOCUMENTS. By Frank Harrell

BEST PRACTICES FOR SCANNING DOCUMENTS. By Frank Harrell By Frank Harrell Recommended Scanning Settings. Scan at a minimum of 300 DPI, or 600 DPI if expecting to OCR the document Scan in full color Save pages as JPG files with 75% compression and store them

More information

Image processing in MATLAB. Linguaggio Programmazione Matlab-Simulink (2017/2018)

Image processing in MATLAB. Linguaggio Programmazione Matlab-Simulink (2017/2018) Image processing in MATLAB Linguaggio Programmazione Matlab-Simulink (2017/2018) Images in MATLAB MATLAB can import/export several image formats BMP (Microsoft Windows Bitmap) GIF (Graphics Interchange

More information

ENCODING COLOR IMAGES UNIT 3 LESSON 4

ENCODING COLOR IMAGES UNIT 3 LESSON 4 ENCODING COLOR IMAGES UNIT 3 LESSON 4 Use Use the Pixelation Tool to encode small color images with varying bits-per-pixel settings. OBJECTIVES Explain Use Explain the color encoding scheme for digital

More information

EE19D Digital Electronics. Lecture 1: General Introduction

EE19D Digital Electronics. Lecture 1: General Introduction EE19D Digital Electronics Lecture 1: General Introduction 1 What are we going to discuss? Some Definitions Digital and Analog Quantities Binary Digits, Logic Levels and Digital Waveforms Introduction to

More information

Speech Coding in the Frequency Domain

Speech Coding in the Frequency Domain Speech Coding in the Frequency Domain Speech Processing Advanced Topics Tom Bäckström Aalto University October 215 Introduction The speech production model can be used to efficiently encode speech signals.

More information

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A SOME PHYSICAL LAYER ISSUES Lecture Notes 2A Delays in networks Propagation time or propagation delay, t prop Time required for a signal or waveform to propagate (or move) from one point to another point.

More information

ANALOG-TO-DIGITAL CONVERTERS

ANALOG-TO-DIGITAL CONVERTERS ANALOG-TO-DIGITAL CONVERTERS Definition An analog-to-digital converter is a device which converts continuous signals to discrete digital numbers. Basics An analog-to-digital converter (abbreviated ADC,

More information

Chapter 2: Fundamentals of Data and Signals

Chapter 2: Fundamentals of Data and Signals Chapter 2: Fundamentals of Data and Signals TRUE/FALSE 1. The terms data and signal mean the same thing. F PTS: 1 REF: 30 2. By convention, the minimum and maximum values of analog data and signals are

More information

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06 Dr. Shahanawaj Ahamad 1 Outline: Basic concepts underlying Images Popular Image File formats Human perception of color Various Color Models in use and the idea behind them 2 Pixels -- picture elements

More information

Digital Images. Digital Images. Digital Images fall into two main categories

Digital Images. Digital Images. Digital Images fall into two main categories Digital Images Digital Images Scanned or digitally captured image Image created on computer using graphics software Digital Images fall into two main categories Vector Graphics Raster (Bitmap) Graphics

More information

1. Explain why the base 2 number system is of special relevance in Computer Science.

1. Explain why the base 2 number system is of special relevance in Computer Science. Contents 1. Explain why the base 2 number system is of special relevance in Computer Science.... 1 2. Draw a diagram of a transistor. Explain why the transistor was key to the proliferation of computers

More information

CD: (compact disc) A 4 3/4" disc used to store audio or visual images in digital form. This format is usually associated with audio information.

CD: (compact disc) A 4 3/4 disc used to store audio or visual images in digital form. This format is usually associated with audio information. Computer Art Vocabulary Bitmap: An image made up of individual pixels or tiles Blur: Softening an image, making it appear out of focus Brightness: The overall tonal value, light, or darkness of an image.

More information

Data Representation 1 am/pm Time allowed: 22 minutes

Data Representation 1 am/pm Time allowed: 22 minutes High Weald Academy GCSE COMPUTER SCIENCE 8520/DR1 Paper DR1 Data Representation 1 am/pm Time allowed: 22 minutes Materials There are no additional materials required for this paper. Instructions Use black

More information