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.

Slides:



Advertisements
Similar presentations
COLOUR YEAR 11 - UNIT ONE PHYSICS
Advertisements

Color & Light, Digitalization, Storage. Vision Rods work at low light levels and do not see color –That is, their response depends only on how many photons,
Light Light is fundamental for color vision Unless there is a source of light, there is nothing to see! What do we see? We do not see objects, but the.
Bit Depth and Spatial Resolution SIMG-201 Survey of Imaging Science © 2002 CIS/RIT.
Capturing and optimising digital images for research Gilles Couzin.
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.
CSc 461/561 CSc 461/561 Multimedia Systems Part A: 2. Image.
1 Perception. 2 “The consciousness or awareness of objects or other data through the medium of the senses.”
Introduction to Digital Data and Imagery
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.
Visual Representation of Information
Fundamentals of Photoshop
Image processing Second lecture. Image Image Representation We have seen that the human visual system (HVS) receives an input image as a collection of.
Technology and digital images. Objectives Describe how the characteristics and behaviors of white light allow us to see colored objects. Describe the.
Applying Colour Theory to Visual Design.  Color Theory is the art of mixing colors to achieve desired effects.  The way colors are combined can be used.
© GCSE Computing Candidates should be able to:  explain the representation of an image as a series of pixels represented in binary  explain the need.
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.
Image Processing & Perception Sec 9-11 Web Design.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
CS1315: Introduction to Media Computation Picture encoding and manipulation.
CS1315: Introduction to Media Computation Picture encoding and manipulation.
Images Data Representation. Objectives  Understand the terms bitmap & pixel  Understand how bitmap images are stored using binary in a computer system.
IT-101 Section 001 Lecture #7 Introduction to Information Technology.
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
Video Video.
Guilford County SciVis V Applying Pixel Values to Digital Images.
Color in image and video Mr.Nael Aburas. outline  Color Science  Color Models in Images  Color Models in Video.
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.
Digital Media Dr. Jim Rowan ITEC 2110 Color. Question! Inside Photoshop and Gimp there are image filters that, among other things, allow you to blur the.
COSC 1P02 Introduction to Computer Science 7.1 Cosc 1P02 Week 7 Lecture slides "There are two ways of constructing a software design; one way is to make.
Lecture 15: Intro to Graphics Yoni Fridman 7/25/01 7/25/01.
Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text
Graphics. Graphic is the important media used to show the appearance of integrative media applications. According to DBP dictionary, graphics mean drawing.
Chapter Teacher: Remah W. Al-Khatib. This lecture will cover:  The human visual system  Light and the electromagnetic spectrum  Image representation.
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,
Digital Image Processing Part 1 Introduction. The eye.
CS1315: Introduction to Media Computation Picture encoding and manipulation.
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
How digital cameras work The Exposure The big difference between traditional film cameras and digital cameras is how they capture the image. Instead of.
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.
Introduction to Computer Graphics
Color Web Design Professor Frank. Color Displays Based on cathode ray tubes (CRTs) or back- lighted flat-screen Monitors transmit light - displays use.
Applying Pixel Values to Digital Images
Data Models, Pixels, and Satellite Bands. Understand the differences between raster and vector data. What are digital numbers (DNs) and what do they.
Color and Color for the Web First, discuss idea of color (some overlap with lecture on HVS) First, discuss idea of color (some overlap with lecture on.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
 Explain important properties of the electromagnetic spectrum  Describe the important characteristics of light  Discuss and calculate the speed of.
An Introduction to Digital Image Processing Dr.Amnach Khawne Department of Computer Engineering, KMITL.
1 Sections 5.1 – 5.2 Digital Image Processing Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Do Now Question: Why/how do you think we see colors? CRO Format 5/11.
Colours Learning Objectives:
Digital Image Processing Lecture 12: Color Image Processing Naveed Ejaz.
CS 115: Computing for The Socio-Techno Web
Images Data Representation.
Image Processing Objectives To understand pixel based image processing
Color Image Processing
Binary Representation in Audio and Images
Multimedia Summer Camp
Introduction to Electromagnetic waves, Light, and color
LET’S LEARN ABOUT GRAPHICS!
Images Presentation Name Course Name Unit # – Lesson #.# – Lesson Name
Images Presentation Name Course Name Unit # – Lesson #.# – Lesson Name
Digital Image Processing
Visuals are analog signals...
Non-numeric Data Representation
Chapter 6 Exploring Space.
Presentation transcript:

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 Franklin

COSC 1P02 Intro. to Computer Science 6.2 Light  Light is electromagnetic radiation and has properties of both waves and particles  Human perception of light  the visible light spectrum has wavelength of nanommeters (nm, 10 -9, meters)  low acuity  cannot distinguish fine detail  TV screen, monitor, photographs actually contain many dots but we see a clear picture

COSC 1P02 Intro. to Computer Science 6.3 Color  Different wavelengths of visible spectrum are sensed as different colors  ROYGBIV  Eyes have 3 sensors that trigger at different wavelengths  425 nm (blue)  550 nm (green)  560 nm (red)  Brain interprets the values registered by the three censors as colour.  each sensor registers something at all wavelengths  highest value for wavelength closest to trigger wavelength  brightness (luminance) handled separately from colour

COSC 1P02 Intro. to Computer Science 6.4 Electro Magnetic Spectrum

COSC 1P02 Intro. to Computer Science 6.5 Picture Representation  Picture represented by a series of dots (pixels – pi cture el ements)  if small enough eye won’t detect  pictures are two-dimensional  pixels arranged in rows and columns  e.g. monitor resolution (1024x768)  Can trick brain into seeing colour by providing 3 sources of light  e.g. orange light  actual wavelength will cause the brain to get a value for blue, green and red from the sensors  if transmit 3 colours (blue, green, red) in close proximity that trigger the 3 sensors at orange level, will “see” orange  Each pixel is really 3 dots: red, green and blue (RGB)  the amount (intensity) of each colour dot varied to produce the colours  e.g. blue at high intensity and others at low intensity will be seen as blue

COSC 1P02 Intro. to Computer Science 6.6 Encoding (Digitizing) Pictures  Picture is a collection of pixels  width & height  Each pixel has three Color values  red (R), green (G) and blue (B)  represent the intensity of the light of that color  1 byte gives 256 different intensities for each color  3 bytes or 2 24 = 16,777,216 different colors  Digital camera  array of sensors (3 per pixel) pick up R, G and B (like eye)  3 values (bytes) recorded per pixel  e.g. 10 megapixel camera  3648 x 2726 = 9,980,928 pixels  at 3 bytes per pixel = 29,942,784 bytes or approximately 28Mb per picture

COSC 1P02 Intro. to Computer Science 6.7 Simplest Representation

COSC 1P02 Intro. to Computer Science 6.8 Colour Representation

COSC 1P02 Intro. to Computer Science 6.9 Exploring Pictures  PictureInspector tool  Java program built using BasicIO & Media libraries  displays picture and allows zooming on a portion  E.g.  beach.jpg  Coordinate system  picture has width & height (in pixels)  top left corner is (0,0)  x-coordinate is column  y-coordinate is row  RGB values

COSC 1P02 Intro. to Computer Science 6.10 Picture and PictureDisplayer  Picture  class in Media library  access to attributes and pixels of picture  pictures can be loaded from a file (.jpg )  PictureDisplayer  class in BasicIO library  provides a window on which a picture can be displayed  picture objects placed on PictureDisplayer  E.g. load and display a picture

COSC 1P02 Intro. to Computer Science 6.11 Picture Methods

COSC 1P02 Intro. to Computer Science 6.12 PictureDisplayer Methods

COSC 1P02 Intro. to Computer Science 6.13 Choosing a Color  Set color of each pixel  Sequence through all pixels  Picture is a collection  for-each  ASCIIPrompter to get RGB values  Pixel class  methods to get & set color of pixels  Example  Color constructor allows setting RGB  Black & white  Gray  if R=G=B we get gray  different shades with different intensities

COSC 1P02 Intro. to Computer Science 6.14 Pixel Methods

COSC 1P02 Intro. to Computer Science 6.15 Grayscale  Convert a picture into grayscale  essentially what we call a black and white picture  shades of gray indicating the luminance of the picture  Gray if R=G=B  set RGB to same value  average of RGB values  Color methods  Example  Note method may change the pixels of the color parameter  they stay changed  just like a method moving a turtle changes its position

COSC 1P02 Intro. to Computer Science 6.16 Color Methods

COSC 1P02 Intro. to Computer Science 6.17 The end