Images The Science of Images What is an Image on the computer? The Psychology of Images What do we use images for? What effect color has on our mood and.

Slides:



Advertisements
Similar presentations
Information Representation
Advertisements

Computer Science 101 RGB Color System. Simplified Introduction to Color Vision Go to How We See: The First Steps of Human Vision or Color Vision for more.
L.Ghadah R. Hadba CT1514-L1.  Computer Graphics :refers to processing of creating a new image from Geometry, Lighting parameters, Materials and Textures.Using.
Color COM 366 Web Design & Production. RGB color Amount of light in each channel Closer to 255, whiter color gets Every color has value for red,
Bit Depth and Spatial Resolution SIMG-201 Survey of Imaging Science © 2002 CIS/RIT.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
CSC Computing with Images1 Image encodings CSC 1040.
March 2006Taner Erig - EMU2-1 Metamorphosis of Information How is information represented and how do computers store information?
Image Representation CS105. Data Representation Text representation – ASCII character set – Unicode – Data compression Images!
CSc 461/561 CSc 461/561 Multimedia Systems Part A: 2. Image.
Bitmapped Images 27 th November 2014 With Mrs
School of Computer Science & Information Technology G6DPMM - Lecture 6 Colour Science & Colour Models.
Digital Images. Scanned or digitally captured image Image created on computer using graphics software.
CS110: Computers and the Internet Color and Image Representation.
Graphical images Bit-mapped (or raster-based) image: Matrix describing the individual dots that are the smallest elements (pixels) of resolution on a computer.
Digital Media Dr. Jim Rowan ITEC 2110 Color. COLOR Is a mess It’s a subjective sensation PRODUCED in the brain Color differs for light and paint/ink Printing.
Data starts with width and height of image Then an array of pixel values (colors) The number of elements in this array is width times height Colors can.
Digital Media Lecture 6: Color Part 1 Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Colour Theory. What is colour theory? It is the theory behind colour mixing and colour combination.
Digital Images The digital representation of visual information.
How do we perceive colour? How do colours add?. What is colour? Light comes in many “colours”. Light is an electromagnetic wave. Each “colour” is created.
Color Names All standards-compliant browsers should handle these color names These color names can be used with the CSS properties of color and background-color.
1 Ethics of Computing MONT 113G, Spring 2012 Session 11 Graphics on the Web Limits of Computer Science.
Jim Williams HONP-112 Week 8.  Part 1: Understanding images  Part 2: Bitmap Graphics ◦ Resolution ◦ Color Depth ◦ Problems/conversions/calculations/etc.
Dean Pentcheff NHMLAC MBPC/Crustacea 17 April 2006.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
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.
THE COLORS OF LIGHT RED, GREEN and BLUE
Image Storage Bitmapped Graphics – in which an image is represented as a collection of dots Vector Graphics – in which an image is represented as a set.
COSC 1P02 Intro. to Computer Science 6.1 Cosc 1P02 Week 6 Lecture slides "To succeed, jump as quickly at opportunities as you do at conclusions." --Benjamin.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
What are the five colors in the legend? Enter the information below (5 points) 0000FF = = FFFFFF = 00FF00 = FF0000 = Color Theory Legend: income.
25.2 The human eye The eye is the sensory organ used for vision.
Images, Sound, and Multimedia. No Surprises Images, Sound, Music, and Movies – It’s all numbers – Binary Numbers Today we’ll discuss how multimedia is.
Most of the attributes of the body element specify colors for the Web page. Note: The background attribute won’t be useful till we learn about graphics.
Multimedia in Web Images. A Picture Tells A Thousand Words Forms of Images Photograph Painting Symbol Logo Flag Map Diagram Functions Provide facts Explain.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
Communicating Quantitative Information Is a picture worth 1000 words? Digital images. Number bases Standards, Compression Will [your] images last? Homework:
Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text
# Red Green Blue Digital Color RGB to HEX.
Color and Images. Color The natural colors we see and the colors we see on computer monitors are different. CMYK -natural RGB -monitor.
Ch 6 Color Image processing CS446 Instructor: Nada ALZaben.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Representing and Storing Graphics EXTENSION.
CS 111 – Sept. 3 More data representation Review hex notation Text –ASCII and Unicode Sound and images Commitment: –For Wednesday: Please read pp
Images. Digital Images Rectangular arrays of pixel data Pixel - picture element, smallest addressable part of the frame buffer. Color depth - the depth.
Why a bitmap (.bmp), not a.jpg? If you cannot save a.bmp, make it an uncompressed.tif. Compression (of this 8-bit 397,000 pixel image): none (397kb memory)medium.
Color Web Design Professor Frank. Color Displays Based on cathode ray tubes (CRTs) or back- lighted flat-screen Monitors transmit light - displays use.
Digital Images are represented by manipulating this…
 By Bob “The Bird” Fiske & Anita “The Snail” Cost.
CS 101 – Sept. 14 Review Huffman code Image representation –B/W and color schemes –File size issues.
Resolution The resolution of an image is determined by the number of individually addressable points that make up the image, whether it is the number.
Computer Science 121 Scientific Computing Winter 2014 Chapter 14 Images.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Computer Systems Nat 5 Computing Science Data Representation
CS 115: Computing for The Socio-Techno Web
Image Processing Objectives To understand pixel based image processing
25.2 The human eye The eye is the sensory organ used for vision.
Binary Representation in Audio and Images
Chapter 3 Graphics and Image Data Representations
Compression (of this 8-bit 397,000 pixel image):
CS 115: Computing for The Socio-Techno Web
Bitmap, Vector, Pixels, Resolution, Metadata.
Representing Images 2.6 – Data Representation.
Computer Systems Nat 4.5 Computing Science Data Representation
Basic Concepts of Digital Imaging
Visuals are analog signals...
Presentation transcript:

Images The Science of Images What is an Image on the computer? The Psychology of Images What do we use images for? What effect color has on our mood and perception? The Technology of Images How do you use and manipulate images? Images in Director

The Science of Images: B&W Image Representation An image is represented as a 2D array of pixels Its dimensions: w pixels wide by h pixels high Each pixel is a small square on the screen Resolution: How many pixels a screen can represent Each pixel has a color associated with it If the color can be either black or white, then one needs only 1 bit per pixel 1 = black; 0 = white Size of a B&W image: w * h * 1 bits = (w * h)/8 B A 640 x 480 BW image takes 38,400 B = 37.5 KB (1KB = 1024 B)

The Science of Images: How do we see what we see? “Light” is a small portion of wavelengths of electromagnetic waves. As these waves enter the eye, they excite the cones and rods in the retina, and through the nerve, they inform our brain Cones are color-sensitive Rods are intensity- sensitive Light is continuous, but our brain can distinguish about 10M colors

Our visual system… …is not very good at distinguishing details

Our brain… … is correcting and readjusting what the eye sees but it may get confused

The Science of Images: Color Image Representation We can produce every visible color (and then some) by its Red-Green-Blue RGB percentage composition (R, G, B) = (100%, 0%, 0%) is a fully saturated red (R, G, B) = (0%, 50%, 0%) is a half-saturated green (R, G, B) = (50%, 50%, 50%) is a medium gray (R, G, B) = (100%, 100%, 100%) is white (R, G, B) = (0%, 0%, 0%) is black Then, we can represent every visible color by 3 RGB values The value scale has 256 different values, 0 … 255 (R, G, B) = (255, 0, 0) is a fully saturated red (R, G, B) = (0, 128, 0) is a half-saturated green (R, G, B) = (128, 128, 128) is a medium gray (R, G, B) = (255, 255, 255) is white (R, G, B) = (0, 0, 0) is black But why 256 R, 256 G, 256 B values? Why not, say, 128 of each?

Bit depth Since each color value is a number between 0 and 255 and we use 8 bits to represent such a number, we use 8+8+8=24 bits to fully represent all RGB colors How many different colors do we represent? 2 24 = __________ Are they enough? Too many? Size of a “true-color” image: w * h * 24 bits = (w * h*24)/8 B A 640 x 480 color image takes 921,600 B = 900 KB! The number of bits used in an image is called the bit-depth For true-color, bit-depth is 24 But we can represent images using fewer colors (e.g., with smaller bit depth)

So, red = How about tangerine? Tangerine is full red, half green, no blue Can U remember tangerine= Humans find it difficult to remember 24 bits in a row ;-)  (Computers have no such problems) Humans can more easily remember 6-9 characters  (e.g., phone numbers) We can group 4 bits at a time to a new symbol With 4 bits we have 16 different symbols (which ones?) Hexadecimal! The ultimate geek talk So, what is tangerine in Hex?

What the hex? To read a hex color number, break it into 3 groups of 2-digit hex FF = (255, 0, 0) is a fully saturated red = (0, 128, 0) is a half-saturated green = (128, 128, 128) is a medium gray FF-FF-FF = (255, 255, 255) is white = (0, 0, 0) is black By the way, your browser may not be able to show every color

The Technology of Images: Compression Formats 24 bits (bit-depth) are enough to represent up to 16 million different colors A particular photograph, even though it may be very colorful, it may not need all 24 bits to be represented because it will likely not use all of them JPG is a compression format that allows the image to be stored using far fewer than 24 bits/pixel When we save an image “as jpg” we actually compress it. As a result, the quality of the image will degrade so that the compression image may lose some of its quality There are several levels of jpg compression and most people may not be able to tell the difference (see )

The Technology of Images: Limited Palette Image Representation If we use fireworks or director to create a drawing, we likely are going to use far fewer than 16 million colors GIF is a image format that uses only 256 colors (it determines the best 256 colors for the image) A gif image uses only 1 Byte/pixel, plus the table to remember which particular 256 colors it uses (its “palette”) When importing a gif image in Director, we are also importing its palette - which goes into the palette channel See ImagesColorTheory/cfan2_digicolor.html ImagesColorTheory/cfan2_digicolor.html

Experiment in Director Download and import images with few and many colors Transform bitmaps from the imported 32 bits to 16 bits, to 8 bits (options: remap colors or dither) Save and Compress to observe differences in file sizes