Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text

Slides:



Advertisements
Similar presentations
Technology ICT Option: Data Representation. Data Representation In our everyday lives, we communicate with each other using analogue data. This data takes.
Advertisements

Eee116j1 1 Digital Information Engineering Science EEE116J1 Prof Paul Maguire w.
Bit Depth and Spatial Resolution SIMG-201 Survey of Imaging Science © 2002 CIS/RIT.
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.
Bits are Not just for Numbers Computers store characters as bits or binary digits. Characters from the English-language keyboard are represented in ASCII.
Copyright 2003 Monash University IMS5401 Web-based Information Systems Topic 2: Elements of the Web (d) Digital representation.
WEB GRAPHICS. The Pixel Computer displays are comprised of rows and columns of pixels. Pixels are indivisible. Some common screen resolutions are:, 600.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Higher Computing Data Representation.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.
CSCI-235 Micro-Computers in Science Hardware Part II.
© GCSE Computing Candidates should be able to:  explain the representation of an image as a series of pixels represented in binary  explain the need.
Multimedia def. Many forms Multimedia Text Hyperlinks Images Audio Animation Video Text Hyperlinks Images Audio Animation Video.
Georgia Institute of Technology Introduction to Media Computation Barb Ericson Georgia Institute of Technology May 2006.
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
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,
Chapter 2 Getting Started: Drawing Figures. The Framebuffer Lecture 2 Fri, Aug 29, 2003.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
AS LEVEL ICT2 Processing Different Types of Information.
Agenda Last class: Software and extensions Today: Memory –How computers store data –Number systems –Digitization.
Chapter 3. Lesson Objectives Equations Chapter
Types of Data. Numbers Text Pictures Sound Video.
Still-image compression Moving-image compression and File types.
1 COMS 161 Introduction to Computing Title: Digital Images Date: November 12, 2004 Lecture Number: 32.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
CSC1401. Learning Goals Understand at a conceptual level What is media computation? How does color vision work? How can you make colors with red, green,
Ch 6 Color Image processing CS446 Instructor: Nada ALZaben.
Data Representation The storage of Text Numbers Graphics.
CS 111 – Sept. 3 More data representation Review hex notation Text –ASCII and Unicode Sound and images Commitment: –For Wednesday: Please read pp
Digital Imaging Fundamentals Ms. Hema C.R. School of Mechatronic Engineering.
CSCI-100 Introduction to Computing Hardware Part II.
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.
CS 101 – Sept. 14 Review Huffman code Image representation –B/W and color schemes –File size issues.
Graphics in a computers memory How a picture (i.e. a graphic) is stored in a computers memory A computer screen is made up of little dots, called PICture.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
What do you think this lesson is all about? Write your answer on a sticky note.
Data Representation. In our everyday lives, we communicate with each other using analogue data. This data takes the form of: Sound Images Letters Numbers.
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.
Data Representation: Sound
Image and Sound Representation
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Images Data Representation.
Data Representation Images.
Data Representation.
Denary to Binary Numbers & Binary to Denary
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
Computer Systems Nat 4/5 Data Representation Lesson 4:
Binary Representation in Audio and Images
How to Convert Pictures into Numbers
Data Transfer ASCII FILES.
BTEC NCF Dip in Comp - Unit 02 Fundamentals of Computer Systems Lesson 10 - Text & Image Representation Mr C Johnston.
Data Formats.
Chapter I Digital Imaging Fundamentals
Folders out, planners out…
Data Representation.
Representing Images 2.6 – Data Representation.
Summer Term Year 10 Slides
Pixels.
Chapter 2 Data Representation.
COMS 161 Introduction to Computing
Option: Data Representation
Binary CSCE 101.
Option: Data Representation
WJEC GCSE Computer Science
Presentation transcript:

Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text Sound – skip Pictures Movies Software Quiz

Warm up Questions What is the biggest number I can get with 3 binary bits? How few binary bits do I need to save the number “123”?

Warm up Questions What is the biggest number I can get with 3 binary bits? 111 = 1 x 22 + 1 x 21 + 1 x 20 = 7 How few binary bits do I need to save the number “123”? 1, 2, 4, 8, 16, 32, 64, 128 - too big So 7 bits

Digitizing Text When you send a text message, the letters abcd... ABCD.. <>,.;_+-*/[ ]” etc. are also changed into numbers. ASCII Code (1968) American Standard Code for Information Interchange Eg: 65 = A, 97 = a H e l l o !  text 72 101 108 108 111 33  number  binary

ASCII Table

Digitizing Pictures A picture is just a table of numbers The screen is many small pixels Each pixel has 1 number Resolution: number of pixels Black & White = 0 & 1 (1 bit) 1

Resolution Example 1 Small resolution (3x3) 6x6 1

Resolution Example More resolution = more pixels Can draw smaller details NOT size of picture! Copy following diagram Show binary for pix Black = 0 White 1 How many bytes? (ignore red)

Resolution Example More resolution = more pixels Can draw smaller details NOT size of picture! Copy following diagram Show binary for pix Black = 0 White 1 How many bytes?

Resolution Example More resolution = more pixels Can draw smaller details NOT size of picture! Copy following diagram Show binary for pix Black = 0 White= 1 How many bytes?

Resolution Example More resolution = more pixels Can draw smaller details NOT size of picture!

Gray Scale 1 bit = 0 or 1 = black or white More bits = gray scale

4 bit Gray Scale 16 numbers 16 different shades 1111 15 1110 14 1101 13 1100 12 1011 11 1010 10 1001 9 1000 8 0111 7 0110 6 0101 5 0100 4 0011 3 0010 2 0001 1 0000 4 bit Gray Scale 16 numbers 16 different shades

Gray scale 4 Bits 1 Bit each pixel 0 or 1 2 Bits 00 8 Bits 01 10 11 8 Bits Each pixel 00000000

Digitizing Colour Each pixel has a Red Green Blue number Example: A red pixel has 100 A white pixel has 111 Example: The red circle with blue inside using 6x6 pixel resolution R G B 1 111 100 001

Digitizing Colour 3-bit colour = 8 colours 111 110 101 100 011 010 001 000

More bits = More colours 8-bit Color 256 colors

3, 6, 9, 12, 15, 18, 24 bit RGB

Picture File Size Paint – default size is 512 x 385 pixels = 197120 pixels If each pixel holds 1 bit (black or white) 197120 pixels x 1 bit / pixel = 197120 bits 197120 / 8 = 24640 bytes What if each pixel holds 8 bit colour? 197120 pixels x 8 bits / pixel x 1 byte / 8 bits = 197120 bytes 24 bit colour? 591360 bytes! Lots of 1 & 0, bumps on a CD, load time!

Digitizing Pictures Summary Applications: Computer screen, TV screen Cell phone, iPod screen Digital Camera

Digitizing Videos A video is just many pictures Like a cartoon animation or flip book Quality depends on frame rate Frames per second (FPS) Higher FPS = smoother Movie: 24 FPS TV: 30 FPS

Digitizing Videos So if your iPhone records at 30 FPS at 640 x 480 resolution, you are saving 30 pictures per second Each picture has 640 x 480 pixels Each pixel has 12 bit RGB colour 12 x 640 x 480 / 8 = 460,800 bytes almost 0.5 MB for ONE frame of video! 0.5 MB x 30 frames / second x 1 s video? = 13.8 MB for a 1-second video!! = 110400000 bits for a 1-second movie!!

Digitizing Videos 13.8 MB for a 1 second video

Digitizing Videos Research & Careers: How to make the file size smaller? Reduce FPS? Reduce pixel resolution? Reduce colour resolution? Compress information – do you need ALL of it? Make smaller computer chips that can store more MB or GB of memory

Homework Number Systems worksheet Notes – fill in

Digitizing Sounds / Voice When you talk, you make sound waves like this: To turn it into numbers, you must pick some points = SAMPLING (done by microphone) Eg: every 0.5 s, or 2 Hz The more frequently you sample, the higher the quality Too slow? Wrong signal. Some high frequency information will be lost. Your voice sounds different. Too much? Takes more memory / bytes to store it