Computers and Imaging

Size: px
Start display at page:

Download "Computers and Imaging"

Transcription

1 Computers and Imaging Telecommunications 1 P. Mathys Two Different Methods Vector or object-oriented graphics. Images are generated by mathematical descriptions of line (vector) segments. Bitmap or raster graphics. Images are made up of individual dots or pixels which are arranged in rows and columns.

2 Vector Graphics: Example Outline of letter S specified by points that are connected using Bézier cubic spline curves. The letter S as it is printed after filling the outline specified on the left. Bitmap Graphics: Example The letter S is placed on a grid of pixels, each of which can be black or white. The letter S as it is printed, without the grid itself being visible.

3 Vector Graphics: Resizing Original size Enlarged by factor of 2 Enlarged by factor of 4 Resizing works well, but requires substantial computational resources. Bitmap Graphics: Resizing Original size Enlarged by factor of 2 Enlarged by factor of 4 Resizing is problematic due to spatial quantization effect of underlying grid.

4 Vector Graphics Good for storing images composed of lines, circles and polygons, or images that can be decomposed into simple geometrical objects. Can be easily rescaled and rotated. Cannot easily accommodate very complex images, such as photographs where color information may vary from pixel to pixel. Bitmap Graphics Are easy to edit in memory and display on TV monitors due to the arrangement of the pixels in a rectangular array. Pixel values can be modified individually. Uncompressed images can become very large and require a lot of memory. Resizing and rotation do not work very well and may distort the image significantly.

5 Bitmap versus Vector Graphics Vector graphics are well suited for graphs, e.g., in spreadsheets, and for scalable fonts, e.g., PostScript or TrueType fonts. Bitmap graphics are used for general purpose images and, in particular, photographs. On the WWW, bitmap graphics are by far the most popular and we will concentrate on them in the following slides. Bitmap Black and White Image Suppose we want to draw a B&W image on a computer screen. We first subdivide the screen into small rectangles or squares called pixels. A typical TV screen has about 300x400 = 120,000 pixels. A high resolution Computer monitor has about 1000x1300 = 1,300,000 pixels.

6 Screen with 9x13 = 117 Pixels x y 0 Pixels (x,y) (1,6) 7 8 (4,8) Black and White Image To draw a B&W image, we paint some of the pixels black and leave the rest white. For instance, the letter A in its simplest form, would look like this:

7 Black and White Image To make more fancy letters, we have to use more pixels as shown by the following improved letter A: What can m Bits Describe? In general, if we have m bits, we can represent m n = 2 different objects. Examples: 2 0 = 1, 2 1 = 2, 2 2 = 4, 2 3 = 8, 2 4 = 16

8 Powers of 2 Each additional bit doubles the number of objects that can be described. Suppose now we have n objects. How many bits do we need to describe them? The answer is m bits, where m is equal to x rounded up to the nearest integer, and x = log(n)/log(2) Colors Humans can distinguish about 10,000 colors simultaneously, but many more colors can be perceived, although not simultaneously. A truecolor display or printer uses 24 bits per pixel, corresponding to 16.8 million (2^24=16,777,216) different colors. The most common bitmap formats use either 1,4,8,16, or 24 bits per pixel.

9 Additive (RGB) Colors (Almost) all colors can be generated by combining light from red (R), green (G) and blue (B) sources with the right intensities. For example, adding R and G in equal amounts results in yellow, and adding R, G, and B in equal amounts results in white. Used for TV and Computer Displays Subtractive (CMY) Colors Starting from white light, we can use a yellow (Y) filter to remove blue, a cyan (C) filter to remove red, and a magenta (M) filter to remove green. In this way also (almost) all possible colors can be generated. Used in Photography and Printing

10 Subtractive (CMY) Colors White consists of equal amounts of red, blue and green, i.e., W = R+G+B. Cyan filter blocks red: W-R = R+G+B-R = G+B = C Magenta filter blocks green: W-G = R+G+B-G = R+B = M Yellow filter blocks blue: W-B = R+G+B-B = R+G = Y Additive (RGB) Colors Colors are described in the form of 3 numbers, e.g., (20,235,109), where the first number is the amount of red (R), the second is the amount of green (G), and the third is the amount of blue (B). Examples (in hex):

11 Additive Colors (R,G,B) (Almost) all visible colors can be made up from red, green, and blue components in the right proportions. If we use 8 bits for each, R, G, and B, then we can represent 2^24=16.7 Mio colors. The values of R, G, and B are then in the range each. Black is (0,0,0), white is (255,255,255). In between, e.g., (128,128,128) lies gray. Photographic Image (R,G,B) R G B

12 R,G,B Components Photographic Image (C,M,Y) C M Y

13 C,M,Y Components Complementary Colors Suppose a specific color X is represented by X = (R,G,B) where R, G, B each take on values Then the complementary color C(X) is C(X) = W-X = (255-R,255-G,255-B) Examples: Red = (255,0,0) ==> C(Red) = (0,255,255) = Cyan Green = (0,255,0) => C(Green) = (255,0,255) = Magenta Blue = (0,0,255) ==> C(Blue) = (255,255,0) = Yellow

14 True Color (24 bits/pixel) This image has about 50,000 different colors. Using Fewer Bits per Pixel To use fewer bits per pixel, the number of different colors must generally be reduced. If 8 bits or less are used per pixel, then the colors are usually defined in a palette. A palette is a mapping from an index (e.g ) to a 24-bit (R,G,B) value that is used to display the image. The palette must be stored in a file together with the image.

15 256 Color Palette, Optimized <-- Original 256 Color Palette, Windows <-- Original

16 16 Color Palette, Windows <-- Original 2 Color Palette <-- Original

17 Use of Palettes GIF files always use palettes with a maximum of 256 distinct colors. JPEG files do not use palettes. BMP files may or may not use palettes. When they use palettes, the maximum number of colors is 256. The quality of photographic images is usually degraded when palettes are used. Different Wavelengths

18 C.I.E. Committee International D Eclairage RGB Color Model

19 HSV Color Model Hue Saturation Value More About Color By adjusting the amounts of R, G, and B present in a pixel, most of the visible colors can be produced. Because there are 3 color components, we cannot show all possibilities in a 2- dimensional graph. The following slides show mixtures of any 2 color components (the third component is fixed at zero).

20 Mixing Red and Green (B=0) Mixing Red and Blue (G=0)

21 Mixing Blue and Green (R=0) Color Hue, Saturation, Value The R,G,B color model is not always the most convenient to describe the coloring of a pixel. Often it is more appropriate to talk about the more intuitive quantities color hue (H), color saturation (S), and brightness value (V). The result is the H,S,V model.

22 Color Hue Color hue corresponds to the average spectral wavelength of a color. The convention is to use an angle between 0 and 360 degrees (measured counterclockwise). Examples: Red: 0 deg. Green: 120 deg. Blue: 240 deg. Yellow: 60 deg. Cyan: 180 deg. Magenta: 300 deg. Color Hue from R,G,B Compute intermediate quantities I, Q as I = R - G/2 - B/2, Q = sqrt(3)*(g-b)/2 Then compute H in degrees as (atan is inverse tangent) H = (180/pi)*atan(Q/I) If I<0 and Q>0 add 180 to H If I<0 and Q<0 subtract 180 from H

23 Color Saturation, Value Color saturation is a measure for the purity of a color. Mathematically, the saturation S is defined as max{r,g,b} - min{r,g,b} S = max{r,g,b} Value is a measure for brightness, defined by V = max{r,g,b}/255 (RGB) => (HSV) Example (RGB) = #6495ED (in hex) Hex => decimal: 64,95,ED => 100,149,237 I = /2-237/2 = -93 Q = (sqrt(3)/2)*( ) = atan(-76.2/-93) = 39.3 deg H = = deg S = ( )/237 = 0.58, V = 237/255 = 0.93 (HSV) = (-141 deg, 0.58, 0.93)

24 Color Hue, Saturation (V=255) Hue Saturation YUV Model The YUV model defines a color space in terms of a luminance (Y), and two chrominance (U,V) components. Here Luminance: Y = 0.30*R *G *B, Chrominance (blue): U = 0.49*(B-Y), Chrominance (red): V = 0.88*(R-Y). Used for TV (PAL and NTSC). MPEG files can also use this model for (lossy) data compression.

25 Y,Cb,Cr Model A similar model, that was originally developed for color TV (and compatibility with black and white TV), is the luminance (Y), and chrominance (Cb,Cr) model. For HDTV and computer displays Luminance: Y = 0.21*R *G *B, Chrominance (blue): Cb = 0.54*(B-Y), Chrominance (red): Cr = 0.64*(R-Y). Older monitors use slightly different constants. JPEG and MPEG use (slight variants of) this model for lossy data compression. Image Processing, Enhancement By varying specific components in the R,G,B model, and/or in the H,S,V model, and/or in the Y,Cb,Cr model, images can be enhanced or modified. Examples include: Contrast reduction/enhancement, Brightness and gamma correction, Color component/hue/saturation correction, Image filtering (blur/sharpen). The following slides show some examples.

26 Original Image Contrast Reduced Note: Horizontal axis shows input in range 0...1, vertical axis shows corresponding output in range 0 1 for Y and R,G,B.

27 Luminance Increased What is shown here is a linear increase in brightness that affects dark pixels (value near 0) by the same amount as bright pixels (value near 1). Luminance Decreased What is shown here is a linear decrease in brightness that affects dark pixels (value near 0) by the same amount as bright pixels (value near 1).

28 Contrast Increased This makes bright pixels brighter and dark pixels darker. Note the non-linearity (where the curves go flat) which arises because output values >1 and <0 are not possible. Gamma Correction This is a non-linear brightness correction that increases the brightness of dark pixels more than of those pixels which are already bright. This usually works best to brighten a dark image.

29 Decrease in Color Saturation Hue and brightness value (V) are not affected by this. A reduction in color saturation just changes the image towards a black and white image. Color Hue Change: +45 deg. Originally, red (R) is at 0 degrees. Changing the hue by +45 degrees moves red towards yellow, green towards cyan and blue towards purple.

30 Color Hue Change: -30 deg. Originally, red (R) is at 0 degrees. Changing the hue by -30 degrees moves red towards purple, green towards yellow and blue towards cyan. Max. Increase in Value (V) Because V=max{R,G,B}, only one color component needs to be pushed to the maximum, and color hue and saturation are preserved.

31 Max. Increase in Luminance (Y) Because Y=0.3*R+0.59*G+0.11*B, all three color components need to be pushed to the maximum and the image becomes nearly white. Is the Display Linear? To find out, we make one half of the full brightness in 2 ways (shown here for gray): (a) We set (R,G,B)=(0.5,0.5,0.5). (b) We make a checkerboard pattern with equal areas of pure white and pure black. If brightness differs, display is non-linear.

32 Enlarged Test Pattern For a linear display characteristic the gray frame with (R,G,B) = (0.5,0.5,0.5) should appear to have the same brightness as the pure white/black checkerboard pattern. Gamma Correction A TV display has characteristic z = γ y where y is the input and z is the output of the display. Gamma correction uses y = 1/γ x where x is the input and y is the output of the correction. y y x x

33 Chart to Determine Gamma Resolution Do our eyes have the same resolution for the red, green and blue color components? No! The resolution is best for green and worst for blue. <-- Resolution chart in GIF format.

34 JPEG Adapts to Human Eye The JPEG image format makes use of our inability to distinguish fine details in the red and blue color components to compress the image data. The R and B components are low-pass filtered (and the excessive data is thrown away) when an image is converted to JPEG format. <-- Resolution chart in JPEG format.

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

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

Wireless Communication

Wireless Communication Wireless Communication Systems @CS.NCTU Lecture 4: Color Instructor: Kate Ching-Ju Lin ( 林靖茹 ) Chap. 4 of Fundamentals of Multimedia Some reference from http://media.ee.ntu.edu.tw/courses/dvt/15f/ 1 Outline

More information

Colors in Images & Video

Colors in Images & Video LECTURE 8 Colors in Images & Video CS 5513 Multimedia Systems Spring 2009 Imran Ihsan Principal Design Consultant OPUSVII www.opuseven.com Faculty of Engineering & Applied Sciences 1. Light and Spectra

More information

LECTURE 07 COLORS IN IMAGES & VIDEO

LECTURE 07 COLORS IN IMAGES & VIDEO MULTIMEDIA TECHNOLOGIES LECTURE 07 COLORS IN IMAGES & VIDEO IMRAN IHSAN ASSISTANT PROFESSOR LIGHT AND SPECTRA Visible light is an electromagnetic wave in the 400nm 700 nm range. The eye is basically similar

More information

COLOR and the human response to light

COLOR and the human response to light COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 How

More information

Lecture 8. Color Image Processing

Lecture 8. Color Image Processing Lecture 8. Color Image Processing EL512 Image Processing Dr. Zhu Liu zliu@research.att.com Note: Part of the materials in the slides are from Gonzalez s Digital Image Processing and Onur s lecture slides

More information

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Physics of Color Light Light or visible light is the portion of electromagnetic radiation that

More information

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song Image and video processing () Colour Images Dr. Yi-Zhe Song yizhe.song@qmul.ac.uk Today s agenda Colour spaces Colour images PGM/PPM images Today s agenda Colour spaces Colour images PGM/PPM images History

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 Image Processing Color Models &Processing

Digital Image Processing Color Models &Processing Digital Image Processing Color Models &Processing Dr. Hatem Elaydi Electrical Engineering Department Islamic University of Gaza Fall 2015 Nov 16, 2015 Color interpretation Color spectrum vs. electromagnetic

More information

Color image processing

Color image processing Color image processing Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..)

More information

CHAPTER 3 I M A G E S

CHAPTER 3 I M A G E S CHAPTER 3 I M A G E S OBJECTIVES Discuss the various factors that apply to the use of images in multimedia. Describe the capabilities and limitations of bitmap images. Describe the capabilities and limitations

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

COLOR. and the human response to light

COLOR. and the human response to light COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 Amazing

More information

Introduction to Multimedia Computing

Introduction to Multimedia Computing COMP 319 Lecture 02 Introduction to Multimedia Computing Fiona Yan Liu Department of Computing The Hong Kong Polytechnic University Learning Outputs of Lecture 01 Introduction to multimedia technology

More information

Figure 1: Energy Distributions for light

Figure 1: Energy Distributions for light Lecture 4: Colour The physical description of colour Colour vision is a very complicated biological and psychological phenomenon. It can be described in many different ways, including by physics, by subjective

More information

IMAGES AND COLOR. N. C. State University. CSC557 Multimedia Computing and Networking. Fall Lecture # 10

IMAGES AND COLOR. N. C. State University. CSC557 Multimedia Computing and Networking. Fall Lecture # 10 IMAGES AND COLOR N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture # 10 IMAGES AND COLOR N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture

More information

Mahdi Amiri. March Sharif University of Technology

Mahdi Amiri. March Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2014 Sharif University of Technology The wavelength λ of a sinusoidal waveform traveling at constant speed ν is given by Physics of

More information

MULTIMEDIA SYSTEMS

MULTIMEDIA SYSTEMS 1 Department of Computer Engineering, g, Faculty of Engineering King Mongkut s Institute of Technology Ladkrabang 01076531 MULTIMEDIA SYSTEMS Pakorn Watanachaturaporn, Ph.D. pakorn@live.kmitl.ac.th, pwatanac@gmail.com

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

6. Graphics MULTIMEDIA & GRAPHICS 10/12/2016 CHAPTER. Graphics covers wide range of pictorial representations. Uses for computer graphics include:

6. Graphics MULTIMEDIA & GRAPHICS 10/12/2016 CHAPTER. Graphics covers wide range of pictorial representations. Uses for computer graphics include: CHAPTER 6. Graphics MULTIMEDIA & GRAPHICS Graphics covers wide range of pictorial representations. Uses for computer graphics include: Buttons Charts Diagrams Animated images 2 1 MULTIMEDIA GRAPHICS Challenges

More information

Fig Color spectrum seen by passing white light through a prism.

Fig Color spectrum seen by passing white light through a prism. 1. Explain about color fundamentals. Color of an object is determined by the nature of the light reflected from it. When a beam of sunlight passes through a glass prism, the emerging beam of light is not

More information

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE OUTLINE Human visual system Color images Color quantization Colorimetric color spaces HUMAN VISUAL SYSTEM HUMAN VISUAL SYSTEM HUMAN VISUAL

More information

Digital Image Processing. Lecture # 8 Color Processing

Digital Image Processing. Lecture # 8 Color Processing Digital Image Processing Lecture # 8 Color Processing 1 COLOR IMAGE PROCESSING COLOR IMAGE PROCESSING Color Importance Color is an excellent descriptor Suitable for object Identification and Extraction

More information

Introduction & Colour

Introduction & Colour Introduction & Colour Eric C. McCreath School of Computer Science The Australian National University ACT 0200 Australia ericm@cs.anu.edu.au Overview 2 Computer Graphics Uses (Chapter 1) Basic Hardware

More information

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1 Chapter 12 Color Models and Color Applications 12-1 12.1 Overview Color plays a significant role in achieving realistic computer graphic renderings. This chapter describes the quantitative aspects of color,

More information

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models Introduction to computer vision In general, computer vision covers very wide area of issues concerning understanding of images by computers. It may be considered as a part of artificial intelligence and

More information

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing For a long time I limited myself to one color as a form of discipline. Pablo Picasso Color Image Processing 1 Preview Motive - Color is a powerful descriptor that often simplifies object identification

More information

Visual Perception. Overview. The Eye. Information Processing by Human Observer

Visual Perception. Overview. The Eye. Information Processing by Human Observer Visual Perception Spring 06 Instructor: K. J. Ray Liu ECE Department, Univ. of Maryland, College Park Overview Last Class Introduction to DIP/DVP applications and examples Image as a function Concepts

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

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

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour CS 565 Computer Vision Nazar Khan PUCIT Lecture 4: Colour Topics to be covered Motivation for Studying Colour Physical Background Biological Background Technical Colour Spaces Motivation Colour science

More information

Color. Chapter 6. (colour) Digital Multimedia, 2nd edition

Color. Chapter 6. (colour) Digital Multimedia, 2nd edition Color (colour) Chapter 6 Digital Multimedia, 2nd edition What is color? Color is how our eyes perceive different forms of energy. Energy moves in the form of waves. What is a wave? Think of a fat guy (Dr.

More information

Color Image Processing

Color Image Processing Color Image Processing Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr Color Used heavily in human vision. Visible spectrum for humans is 400 nm (blue) to 700

More information

Color images C1 C2 C3

Color images C1 C2 C3 Color imaging Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..) Digital

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

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy Color Used heavily in human vision Color is a pixel property, making some recognition problems easy Visible spectrum for humans is 400 nm (blue) to 700 nm (red) Machines can see much more; ex. X-rays,

More information

Introduction. The Spectral Basis for Color

Introduction. The Spectral Basis for Color Introduction Color is an extremely important part of most visualizations. Choosing good colors for your visualizations involves understanding their properties and the perceptual characteristics of human

More information

Color Image Processing. Gonzales & Woods: Chapter 6

Color Image Processing. Gonzales & Woods: Chapter 6 Color Image Processing Gonzales & Woods: Chapter 6 Objectives What are the most important concepts and terms related to color perception? What are the main color models used to represent and quantify color?

More information

Digital Imaging and Image Editing

Digital Imaging and Image Editing Digital Imaging and Image Editing A digital image is a representation of a twodimensional image as a finite set of digital values, called picture elements or pixels. The digital image contains a fixed

More information

Interactive Computer Graphics

Interactive Computer Graphics Interactive Computer Graphics Lecture 4: Colour Graphics Lecture 4: Slide 1 Ways of looking at colour 1. Physics 2. Human visual receptors 3. Subjective assessment Graphics Lecture 4: Slide 2 The physics

More information

Image is a spatial representation of an object or a scene. (image of a person, place, object)

Image is a spatial representation of an object or a scene. (image of a person, place, object) Graphics & Images Table of Content 1. Introduction 2. Types of graphics 3. Resolution 4. Memory/Storage requirement 5. Types of images 6. Image colour schemes 7. Colour dithering 8. Image processing 9.

More information

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing Digital Image Processing Lecture # 6 Corner Detection & Color Processing 1 Corners Corners (interest points) Unlike edges, corners (patches of pixels surrounding the corner) do not necessarily correspond

More information

Color: Readings: Ch 6: color spaces color histograms color segmentation

Color: Readings: Ch 6: color spaces color histograms color segmentation Color: Readings: Ch 6: 6.1-6.5 color spaces color histograms color segmentation 1 Some Properties of Color Color is used heavily in human vision. Color is a pixel property, that can make some recognition

More information

Color & Compression. Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University

Color & Compression. Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University Color & Compression Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University Outline Color Color spaces Multispectral images Pseudocoloring Color image processing

More information

PHOTOSHOP. pixel based image editing software (pixel=picture element) several small dots or pixels make up an image.

PHOTOSHOP. pixel based image editing software (pixel=picture element) several small dots or pixels make up an image. Photoshop PHOTOSHOP pixel based image editing software (pixel=picture element) several small dots or pixels make up an image. RESOLUTION measurement of the total number of pixels displayed determines the

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

Color Theory: Defining Brown

Color Theory: Defining Brown Color Theory: Defining Brown Defining Colors Colors can be defined in many different ways. Computer users are often familiar with colors defined as percentages or amounts of red, green, and blue (RGB).

More information

Introduction to Computer Vision and image processing

Introduction to Computer Vision and image processing Introduction to Computer Vision and image processing 1.1 Overview: Computer Imaging 1.2 Computer Vision 1.3 Image Processing 1.4 Computer Imaging System 1.6 Human Visual Perception 1.7 Image Representation

More information

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy Color Used heavily in human vision Color is a pixel property, making some recognition problems easy Visible spectrum for humans is 400 nm (blue) to 700 nm (red) Machines can see much more; ex. X-rays,

More information

CATEGORY SKILL SET REF. TASK ITEM

CATEGORY SKILL SET REF. TASK ITEM ECDL / ICDL Image Editing This module sets out essential concepts and skills relating to the ability to understand the main concepts underlying digital images and to use an image editing application to

More information

Overview of graphics

Overview of graphics C H A P T E R 1 Overview of graphics 1.1 Perl and graphics 4 1.2 The bits and pieces in graphics programming 5 1.3 Color spaces and palettes 7 1.4 Summary 14 With the introduction of the Web, the sheer

More information

Digital Imaging - Photoshop

Digital Imaging - Photoshop Digital Imaging - Photoshop A digital image is a computer representation of a photograph. It is composed of a grid of tiny squares called pixels (picture elements). Each pixel has a position on the grid

More information

B.Digital graphics. Color Models. Image Data. RGB (the additive color model) CYMK (the subtractive color model)

B.Digital graphics. Color Models. Image Data. RGB (the additive color model) CYMK (the subtractive color model) Image Data Color Models RGB (the additive color model) CYMK (the subtractive color model) Pixel Data Color Depth Every pixel is assigned to one specific color. The amount of data stored for every pixel,

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

YIQ color model. Used in United States commercial TV broadcasting (NTSC system).

YIQ color model. Used in United States commercial TV broadcasting (NTSC system). CMY color model Each color is represented by the three secondary colors --- cyan (C), magenta (M), and yellow (Y ). It is mainly used in devices such as color printers that deposit color pigments. It is

More information

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Lecture 8: Color Image Processing 04.11.2017 Dr. Mohammed Abdel-Megeed Salem Media

More information

6 Color Image Processing

6 Color Image Processing 6 Color Image Processing Angela Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan 2009 Fall Outline Color fundamentals Color models Pseudocolor image

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

Lecture 3: Grey and Color Image Processing

Lecture 3: Grey and Color Image Processing I22: Digital Image processing Lecture 3: Grey and Color Image Processing Prof. YingLi Tian Sept. 13, 217 Department of Electrical Engineering The City College of New York The City University of New York

More information

Coreldraw Crash Course

Coreldraw Crash Course Coreldraw Crash Course Yannick Kremer Vrije Universiteit Amsterdam, February 27, 2007 Outline - Introduction to the basics of digital imaging - Bitmaps - Vectors - Colour: RGB vs CMYK - What can you do

More information

In order to manage and correct color photos, you need to understand a few

In order to manage and correct color photos, you need to understand a few In This Chapter 1 Understanding Color Getting the essentials of managing color Speaking the language of color Mixing three hues into millions of colors Choosing the right color mode for your image Switching

More information

Human Vision, Color and Basic Image Processing

Human Vision, Color and Basic Image Processing Human Vision, Color and Basic Image Processing Connelly Barnes CS4810 University of Virginia Acknowledgement: slides by Jason Lawrence, Misha Kazhdan, Allison Klein, Tom Funkhouser, Adam Finkelstein and

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

Digital Image Processing (DIP)

Digital Image Processing (DIP) University of Kurdistan Digital Image Processing (DIP) Lecture 6: Color Image Processing Instructor: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture, University of Kurdistan,

More information

Histograms and Color Balancing

Histograms and Color Balancing Histograms and Color Balancing 09/14/17 Empire of Light, Magritte Computational Photography Derek Hoiem, University of Illinois Administrative stuff Project 1: due Monday Part I: Hybrid Image Part II:

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

EECS490: Digital Image Processing. Lecture #12

EECS490: Digital Image Processing. Lecture #12 Lecture #12 Image Correlation (example) Color basics (Chapter 6) The Chromaticity Diagram Color Images RGB Color Cube Color spaces Pseudocolor Multispectral Imaging White Light A prism splits white light

More information

Chapter 11. Preparing a Document for Prepress and Printing Delmar, Cengage Learning

Chapter 11. Preparing a Document for Prepress and Printing Delmar, Cengage Learning Chapter 11 Preparing a Document for Prepress and Printing 2011 Delmar, Cengage Learning Objectives Explore color theory and resolution issues Work in CMYK mode Specify spot colors Create crop marks Create

More information

Imaging Process (review)

Imaging Process (review) Color Used heavily in human vision Color is a pixel property, making some recognition problems easy Visible spectrum for humans is 400nm (blue) to 700 nm (red) Machines can see much more; ex. X-rays, infrared,

More information

Color Image Processing

Color Image Processing Color Image Processing Dr. Praveen Sankaran Department of ECE NIT Calicut February 11, 2013 Winter 2013 February 11, 2013 1 / 23 Outline 1 Color Models 2 Full Color Image Processing Winter 2013 February

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

Unit 8: Color Image Processing

Unit 8: Color Image Processing Unit 8: Color Image Processing Colour Fundamentals In 666 Sir Isaac Newton discovered that when a beam of sunlight passes through a glass prism, the emerging beam is split into a spectrum of colours The

More information

Raster Graphics. Overview קורס גרפיקה ממוחשבת 2008 סמסטר ב' What is an image? What is an image? Image Acquisition. Image display 5/19/2008.

Raster Graphics. Overview קורס גרפיקה ממוחשבת 2008 סמסטר ב' What is an image? What is an image? Image Acquisition. Image display 5/19/2008. Overview Images What is an image? How are images displayed? Color models How do we perceive colors? How can we describe and represent colors? קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים

More information

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור Images What is an image? How are images displayed? Color models Overview How

More information

Computer Graphics. Rendering. Rendering 3D. Images & Color. Scena 3D rendering image. Human Visual System: the retina. Human Visual System

Computer Graphics. Rendering. Rendering 3D. Images & Color. Scena 3D rendering image. Human Visual System: the retina. Human Visual System Rendering Rendering 3D Scena 3D rendering image Computer Graphics Università dell Insubria Corso di Laurea in Informatica Anno Accademico 2014/15 Marco Tarini Images & Color M a r c o T a r i n i C o m

More information

Cvision 2. António J. R. Neves João Paulo Silva Cunha. Bernardo Cunha. IEETA / Universidade de Aveiro

Cvision 2. António J. R. Neves João Paulo Silva Cunha. Bernardo Cunha. IEETA / Universidade de Aveiro Cvision 2 Digital Imaging António J. R. Neves (an@ua.pt) & João Paulo Silva Cunha & Bernardo Cunha IEETA / Universidade de Aveiro Outline Image sensors Camera calibration Sampling and quantization Data

More information

Output Model. Coordinate Systems. A picture is worth a thousand words (and let s not forget about sound) Device coordinates Physical coordinates

Output Model. Coordinate Systems. A picture is worth a thousand words (and let s not forget about sound) Device coordinates Physical coordinates Output Model A picture is worth a thousand words (and let s not forget about sound) Coordinate Systems Device coordinates Physical coordinates 1 Device Coordinates Most natural units for the output device

More information

Introduction to Color Science (Cont)

Introduction to Color Science (Cont) Lecture 24: Introduction to Color Science (Cont) Computer Graphics and Imaging UC Berkeley Empirical Color Matching Experiment Additive Color Matching Experiment Show test light spectrum on left Mix primaries

More information

To discuss. Color Science Color Models in image. Computer Graphics 2

To discuss. Color Science Color Models in image. Computer Graphics 2 Color To discuss Color Science Color Models in image Computer Graphics 2 Color Science Light & Spectra Light is an electromagnetic wave It s color is characterized by its wavelength Laser consists of single

More information

Objective Explain design concepts used to create digital graphics.

Objective Explain design concepts used to create digital graphics. Objective 102.01 Explain design concepts used to create digital graphics. PART 1: ELEMENTS OF DESIGN o Color o Line o Shape o Texture o Watch this video on Fundamentals of Design. 2 COLOR o Helps identify

More information

ENEE408G Multimedia Signal Processing

ENEE408G Multimedia Signal Processing ENEE48G Multimedia Signal Processing Design Project on Image Processing and Digital Photography Goals:. Understand the fundamentals of digital image processing.. Learn how to enhance image quality and

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

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38 Images CS 4620 Lecture 38 w/ prior instructor Steve Marschner 1 Announcements A7 extended by 24 hours w/ prior instructor Steve Marschner 2 Color displays Operating principle: humans are trichromatic match

More information

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors.

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors. Computer Assisted Image Analysis TF 3p and MN1 5p Color Image Processing Lecture 14 GW 6 (suggested problem 6.25) How does the human eye perceive color? How can color be described using mathematics? Different

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

05 Color. Multimedia Systems. Color and Science

05 Color. Multimedia Systems. Color and Science Multimedia Systems 05 Color Color and Science Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com Lectures Adapted From: Digital Multimedia

More information

Photoshop 01. Introduction to Computer Graphics UIC / AA/ AD / AD 205 / F05/ Sauter.../documents/photoshop_01.pdf

Photoshop 01. Introduction to Computer Graphics UIC / AA/ AD / AD 205 / F05/ Sauter.../documents/photoshop_01.pdf Photoshop 01 Introduction to Computer Graphics UIC / AA/ AD / AD 205 / F05/ Sauter.../documents/photoshop_01.pdf Topics Raster Graphics Document Setup Image Size & Resolution Tools Selecting and Transforming

More information

Waitlist. We ll let you know as soon as we can. Biggest issue is TAs

Waitlist. We ll let you know as soon as we can. Biggest issue is TAs Bela Borsodi Bela Borsodi Waitlist We ll let you know as soon as we can. Biggest issue is TAs CS 143 James Hays Many materials, courseworks, based from him + previous TA staff serious thanks! Textbook

More information

Color Reproduction. Chapter 6

Color Reproduction. Chapter 6 Chapter 6 Color Reproduction Take a digital camera and click a picture of a scene. This is the color reproduction of the original scene. The success of a color reproduction lies in how close the reproduced

More information

Digital Images. Back to top-level. Digital Images. Back to top-level Representing Images. Dr. Hayden Kwok-Hay So ENGG st semester, 2010

Digital Images. Back to top-level. Digital Images. Back to top-level Representing Images. Dr. Hayden Kwok-Hay So ENGG st semester, 2010 0.9.4 Back to top-level High Level Digital Images ENGG05 st This week Semester, 00 Dr. Hayden Kwok-Hay So Department of Electrical and Electronic Engineering Low Level Applications Image & Video Processing

More information

Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!

Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow! Colour What is colour? Human-centric view of colour Computer-centric view of colour Colour models Monitor production of colour Accurate colour reproduction Colour Lecture (2 lectures)! Richardson, Chapter

More information

CIE tri-stimulus experiment. Color Value Functions. CIE 1931 Standard. Color. Diagram. Color light intensity for visual color match

CIE tri-stimulus experiment. Color Value Functions. CIE 1931 Standard. Color. Diagram. Color light intensity for visual color match CIE tri-stimulus experiment diffuse reflecting screen diffuse reflecting screen 770 769 768 test light 382 381 380 observer test light 445 535 630 445 535 630 observer light intensity for visual color

More information

Color and More. Color basics

Color and More. Color basics Color and More In this lesson, you'll evaluate an image in terms of its overall tonal range (lightness, darkness, and contrast), its overall balance of color, and its overall appearance for areas that

More information

Image Optimization for Print and Web

Image Optimization for Print and Web There are two distinct types of computer graphics: vector images and raster images. Vector Images Vector images are graphics that are rendered through a series of mathematical equations. These graphics

More information

Color and Images. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 16

Color and Images. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 16 Color and Images Computer Science and Engineering College of Engineering The Ohio State University Lecture 16 Colors in CSS Use: fonts, borders, backgrounds Provides semantic signal: Green go, success,

More information

Photoshop Elements Week 1 - Photoshop Elements Work Environment

Photoshop Elements Week 1 - Photoshop Elements Work Environment Menu Bar Just like any computer program, you have several dropdown menus to work with. Explore them all! But, most importantly remember to SAVE! Photoshop Elements Toolbox (with keyboard shortcut) Photoshop

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

Stamp Colors. Towards a Stamp-Oriented Color Guide: Objectifying Classification by Color. John M. Cibulskis, Ph.D. November 18-19, 2015

Stamp Colors. Towards a Stamp-Oriented Color Guide: Objectifying Classification by Color. John M. Cibulskis, Ph.D. November 18-19, 2015 Stamp Colors Towards a Stamp-Oriented Color Guide: Objectifying Classification by Color John M. Cibulskis, Ph.D. November 18-19, 2015 Two Views of Color Varieties The Color is the Thing: Different inks

More information