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

Size: px
Start display at page:

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

Transcription

1 Review Notes 1 CMPSC 390 Visual Computing Spring 2014 Bob Roos Review Notes Introduction and PixelMath Major Concepts: raster image, pixels, grayscale, byte, color (RGB), human vision (rods and cones), subtractive vs additive color, raster image file types, pixel mapping, linear and affine transformations (special cases rotation; shear or skew; shift/translate), compositing, special effects using mod and floor, nonlinear transformations Basic Definitions A raster image is sometimes called a bitmap image an image defined by an array of dots or pixels, each of which is assigned a grayscale value or a color. A pixel is the basic dot in a raster graphics image. Usually a certain number of bits is reserved for each pixel, typically 8 bits per pixel for a grayscale image or 24 or 32 bits for a color image. A value of 0 indicates the lowest intensity (in grayscale, this is black); a value of 255 indicates the highest intensity (in grayscale, this is white). (Some image-manipulation systems use a 0 1 scale of real numbers.) Special case: a black-and-white image (no grays) requires only a single bit per pixel. Color Colors are usually specified by RGB values (red, green, and blue), each of which usually requires 8 bits for a total of 24 bits per pixel. Some images make use of an additional 8 bits to represent opacity, bringing the total to 32 bits per pixel. Note: 8 bits is usually referred to as a byte. Thus, to list the RGB values of a two-by-two color image would require 12 bytes (no opacity information) or 16 bytes (with opacity information). In computer graphics we use an additive color system red, green and blue light combine (add together) to form colors. Maximum amounts of all three give full-spectrum white light, while R, G, B values of zero result in the absence of any light, i.e., black. Figure 1 shows a few of the basic colors in the RGB system. Why red, green, and blue? Because that is (roughly) how the human eye sorts out colors. Inside the eye, there are structures called cones that are sensitive to color. Although it is a vast oversimplification, it is common to think of the cones as being divided into three types one sensitive to red light, one to green, and one to blue. All of the ten million or so distinct colors that the human eye can distinguish are combinations of the red, green, and blue values detected by Handed out on 12 February 2014 Handout 10

2 2 Review Notes RGB Values Color (0, 0, 0) black (255, 0, 0) red (0, 255, 0) green (0, 0, 255) blue (255, 255, 0) yellow (red + green) (0, 255, 255) cyan (green + blue) (255, 0, 255) magenta (red + blue) (255, 255, 255) white Figure 1: Additive (RGB) Colors these cones. (Other structures in the eyes, rods, are sensitive to differences in light intensity, but not color.) This is not the same as the color system that is used in, e.g., paint pigments, dyes, etc. These are subtractive systems. Think of starting with an all-white canvas. Applying paint to the canvas causes the painted areas to absorb light of certain frequencies, subtracting it from the light that gets reflected back to our eyes. Laying down more paint subtracts more wavelengths from the reflected light that meets out eyes. The rules for additive and subtractive color mixing are completely different, as are the so-called primary colors in each system. In your art classes in elementary and secondary school you may have learned that the primary colors were red, yellow, and blue and that red plus yellow equals orange, blue plus yellow equals green, etc. As the table in Figure 1 shows, this is not the case for additive color. Raster Image File Formats There are many, many different file formats for raster images. The most primitive is just a plain listing of every pixel s color. Some file extensions related to this type include.ppm,.pgm,.pbm ( portable pixmap, portable graymap, portable bitmap ),.bmp (Microsoft s bitmap format), and sometimes.tiff ( tagged image file format ). For example, Figure 2 shows a color image and the file sizes for various representations. The image is pixels, so using 3 bytes per pixel to hold the RGB values, we would need a minimum of = bytes. BYTES FILE peppers.bmp peppers.ppm peppers.tiff = Figure 2: Formats that are lists of RGB values Another common file format is.gif ( graphics interchange format ), which creates a palette of 256 colors (the palette size can vary, however) and then matches each pixel in the image to the nearest color appearing in the palette. This is ideal for images with few colors such as logos, clip art, Handout 10 Handed out on 12 February 2014

3 Review Notes 3 drawings, etc. It is not as good for, e.g., photographs, since these usually have a much larger range of color than just 256 values. Gif files are usually very compact, making them ideal for transmission over the Internet. Gif files also can include transparency information, animation (several images stored in the same file and displayed in a continuous loop) and interlacing, a process that permits a file to be downloaded in stages at increasing resolutions. Interlaced files usually show up first as highly pixelated images, but then more details slowly fill in as higher resolution versions replace the low-resolution ones. The Joint Photographic Experts Group created a file format known as.jpeg (also.jpg). This file format uses compression techniques to shrink the file size of the image. However, the compression is lossy some colors are changed during compression and can not be recovered. Nevertheless, it is extremely popular and is often used for photographic files in digital cameras as well as nearly every other type of graphics file that does not require absolutely precise recording of every pixel s color. Jpeg files do not support transparency. The Portable Network Graphics format (.png) is one of the most versatile file formats. It permits lossless compression (unlike.jpg, where the compression is lossy ), allows transparency, and permits interlacing. However, it does not support animation. Figure 3 shows how much space is required for the peppers image of Figure 2 for some of these formats. BYTES FILE peppers-85.jpg peppers.gif peppers.png peppers-85.jpg was created using a quality value of 85% Figure 3: More Compact Formats Figure 4 shows one more example. The image contains exactly four colors and has size = pixels. An enumeration of the RGB values would require = bytes. We see that.ppm is pretty close to this. However, the conversions to.bmp,.gif, and.tiff both took into account the fact that there are only four colors. This, plus a bit of simple compression, accounts for the much smaller file sizes. The big surprises, however, are in the sizes of the.jpg and.png files. Through clever compression techniques, the file size has been reduced by a factor of almost 250% for the.jpg file and nearly 575% for the.png file. (It is worth mentioning that, as simple as the image is, the.jpg compression is still lossy the JPEG image blurs the colors at the boundaries between the four regions in the image.) PixelMath PixelMath is a teaching system developed by Steven Tanimoto at the University of Washington. It uses images and image transformations to teach students about the mathematics of transformations (as well as to introduce them to basic concepts of graphics). Handed out on 12 February 2014 Handout 10

4 4 Review Notes BYTES FILE fourcolor.ppm fourcolor.bmp fourcolor.tiff 1198 fourcolor.gif 790 fourcolor-85.jpg 343 fourcolor.png fourcolor-85.jpg was created using a quality value of 85% Figure 4: A More Extreme Example A typical use of the PixelMath Calculator Tool consists of: opening one (or two) windows containing images to serve as source image(s) opening another window to serve as the destination image typing a formula into the calculator window that represents a mapping from destination pixels back to source pixels The third step may seem backwards the natural way to think of an image transformation is as a mapping from the source to the destination (the words source and destination even suggest it). However, if (x, y) is a pixel location in the destination image, Source1(1.25*x, 1.75*y) means that destination pixel (x, y) is equal to source pixel (1.25x, 1.75y). Figure 5 illustrates this. For example, destination pixel (168, 240) gets mapped to source pixel ( = 210, = 420). (210,420) (220,294) (168,240) (176,168) (424,0) (339,0) Source Destination Figure 5: A Typical PixelMath Transformation Affine and Linear Transformations The simplest kinds of transformations are: Scale: resize the length or width (or both). General form: Handout 10 Handed out on 12 February 2014

5 Review Notes 5 Source1(s x * x, s y * y) where s x and s y are scaling factors (the source image is s x times as wide as the destination and s y times as high as the destination). Figure 5 illustrates a scaling operation. Translate (also sometimes called shift ): slide the image a certain number of pixels in the x or y (or both) directions. General form: Source1(x + t x, y + t y ) where t x and t y are the shift amounts (the destination image is shifted t x pixels horizontally and t y pixels vertically to obtain the source image). Figure 6 illustrates this. (0,0) (50,75) Source Destination Figure 6: A Translation Operation Shear (also called skew): Tilt the image in the x or y direction (or both). General formula: Source1(x + r x * y, y + r y *x) The constants r x and r y control the amount of the shear. Figure 7 illustrates a shear in both the x and y directions. The horizontal dimension is more skewed than the vertical dimension. All of the examples above are special cases of something called an affine transformation, which is a mapping of the form: Source1(A * x + B * y + C, D * x +E * y + F ) where A, B,..., F are constants. The first lab assignment showed several other examples of affine transformations, in particular, rotations by 90, 180, and 270 degrees, and horizontal and vertical reflections. (Rotations by arbitrary angles are also affine transformations.) A general affine transformation combines elements of scaling, translation, shear, and rotation, so that with a single affine transformation we can rotate an image, shift it, resize it, and tilt it into Handed out on 12 February 2014 Handout 10

6 6 Review Notes Source Destination Figure 7: Shear (Skew) Operations various parallelogram shapes. We need only three matching points in the source and destination images in order to completely determine the constants in the transformation (the solution to lab 1 illustrates this for rotations). When the constants C and F are both zero, we get a special case of an affine transformation called a linear transformation. Later this semester we will see why this distinction is important. Compositing When we use two source images to create a destination image, we often want to achieve an overlay effect, a sort of semi-transparency in which both images can be seen. This is called compositing. The basic idea is to take a weighted average of pixels in the two images. Figure 8 shows a composite of the Mona Lisa and mandrill images that is 60% Mona Lisa and 40% mandrill. (Note that since the two source images are of different sizes, the composite doesn t quite line up.) Figure 8: Compositing: Source1(x,y)*0.6 + Source2(x,y)*0.4 A weighted average is used so that the resulting RGB values will still be within the allowed range of Other weights could be used even if they don t add up to 1, but then some color Handout 10 Handed out on 12 February 2014

7 Review Notes 7 values may be negative or larger than 255. PixelMath automatically truncates values to the correct range, but the image may not be as desired. Special Operators if, floor, and mod In lab 1 we explored special effects of things like the if... then... else, floor, and mod operators. We most often use floor when we want to group pixels into blocks of a given size. For instance, the expression floor(x/50 results in an integer value that is zero for all x values between 0 and 49, one for all x values between 50 and 99, etc. This enables us to group x values into blocks of size 50. The mod operator allows us to cycle among different formulas based upon an integer value (often a position in the image). For example, if floor(x/50} mod 2 = 0...formula 1... else...formula 2... then switches between formula 1 and formula 2 every 50 horizontal pixels. We can use other divisors to switch among more than two formulas, e.g., use mod 5 to select among five options. Other Transformations In PixelMath, the destination image needn t be based upon a source image pixel values may be computed from other factors such as location of the pixel. Colors from the source image may be modified, exchanged, transformed, etc. Examples: RGB(x,0,0) RGB(2*x-y,3*(x+y) mod 256,x*x - y*y) Green1(x,y) RGB(Red1(y,x), Green1(x+y,y), x) Handed out on 12 February 2014 Handout 10

8 8 Review Notes Sample Exam Questions This is not meant to be an exhaustive list of possible questions! Instead, it is intended to give you an idea of what kinds of questions might appear on an exam. 1. A pixel has an RGB value of (230, 5, 230). Which of the eight basic colors (consisting only of the values 0 or 255) does this most resemble? (Give the color name, e.g., green or black, not the RGB values.) 2. True or false: the size of an image file is always directly proportional to the number of pixels in the image. 3. Which of the following PixelMath formulas causes the left and right halves of a source image to switch places (e.g., ). (a) S1(xmax-x,y) (b) if floor(xmax/x) mod 2 = 0 then S1(x+xmax/2,y) else S1(xmax/2-x,y) (c) S1(x-xmax/2,y) * S1(x+xmax/2,y) * 0.5 (d) if x < xmax/2 then S1(x+xmax/2,y) else S1(x-xmax/2,y) 4. A pure green pixel is composited with a pure red pixel, with the green pixel weighted by 1/3 and the red pixel weighted by 2/3. What are the RGB values of the resulting pixel? 5. What is the difference between additive and subtractive color systems? Use examples to explain. 6. Which of the following images would be produced by the formula Source1(y,x) (a) (b) (c) (d) 7. Assuming no compression and a range of for color values, how many bytes would be needed to store the RGB values of a pixel image, assuming: (a) no information about opacity is stored? (b) an opacity value between 0 and 255 is stored for each pixel? 8. Give an example of an image representation that uses lossy compression. Give an example of a representation that uses lossless compression. Handout 10 Handed out on 12 February 2014

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

LECTURE 03 BITMAP IMAGE FORMATS

LECTURE 03 BITMAP IMAGE FORMATS MULTIMEDIA TECHNOLOGIES LECTURE 03 BITMAP IMAGE FORMATS IMRAN IHSAN ASSISTANT PROFESSOR IMAGE FORMATS To store an image, the image is represented in a two dimensional matrix of pixels. Information about

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

Bitmap Image Formats

Bitmap Image Formats LECTURE 5 Bitmap Image Formats CS 5513 Multimedia Systems Spring 2009 Imran Ihsan Principal Design Consultant OPUSVII www.opuseven.com Faculty of Engineering & Applied Sciences 1. Image Formats To store

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

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

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

A raster image uses a grid of individual pixels where each pixel can be a different color or shade. Raster images are composed of pixels.

A raster image uses a grid of individual pixels where each pixel can be a different color or shade. Raster images are composed of pixels. Graphics 1 Raster Vector A raster image uses a grid of individual pixels where each pixel can be a different color or shade. Raster images are composed of pixels. Vector graphics use mathematical relationships

More information

Lecture #2: Digital Images

Lecture #2: Digital Images Lecture #2: Digital Images CS106E Spring 2018, Young In this lecture we will see how computers display images. We ll find out how computers generate color and discover that color on computers works differently

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

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

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

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

Understanding Image Formats And When to Use Them

Understanding Image Formats And When to Use Them Understanding Image Formats And When to Use Them Are you familiar with the extensions after your images? There are so many image formats that it s so easy to get confused! File extensions like.jpeg,.bmp,.gif,

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

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

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

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

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

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

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

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

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

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

Computers and Imaging

Computers and Imaging 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

More information

Vector VS Pixels Introduction to Adobe Photoshop

Vector VS Pixels Introduction to Adobe Photoshop MMA 100 Foundations of Digital Graphic Design Vector VS Pixels Introduction to Adobe Photoshop Clare Ultimo Using the right software for the right job... Which program is best for what??? Photoshop Illustrator

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

LECTURE 02 IMAGE AND GRAPHICS

LECTURE 02 IMAGE AND GRAPHICS MULTIMEDIA TECHNOLOGIES LECTURE 02 IMAGE AND GRAPHICS IMRAN IHSAN ASSISTANT PROFESSOR THE NATURE OF DIGITAL IMAGES An image is a spatial representation of an object, a two dimensional or three-dimensional

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

Chapter 3 Graphics and Image Data Representations

Chapter 3 Graphics and Image Data Representations Chapter 3 Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular File Formats Li, Drew, & Liu 1 1 3.1 Graphics/Image Data Types The number of file formats used in multimedia

More information

GUIDELINES & INFORMATION

GUIDELINES & INFORMATION GUIDELINES & INFORMATION This document will provide basic guidelines for the use of the World Animal Day logo and general knowledge about the various file formats provided. Adhering to these guidelines

More information

PENGENALAN TEKNIK TELEKOMUNIKASI CLO

PENGENALAN TEKNIK TELEKOMUNIKASI CLO PENGENALAN TEKNIK TELEKOMUNIKASI CLO : 4 Digital Image Faculty of Electrical Engineering BANDUNG, 2017 What is a Digital Image A digital image is a representation of a two-dimensional image as a finite

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

Bitmap Vs Vector Graphics Web-safe Colours Image compression Web graphics formats Anti-aliasing Dithering & Banding Image issues for the Web

Bitmap Vs Vector Graphics Web-safe Colours Image compression Web graphics formats Anti-aliasing Dithering & Banding Image issues for the Web Bitmap Vs Vector Graphics Web-safe Colours Image compression Web graphics formats Anti-aliasing Dithering & Banding Image issues for the Web Bitmap Vector (*Refer to Textbook Page 175 file formats) Bitmap

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

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

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

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB Unit 5 Graphics and Images Slides based on course material SFU Icons their respective owners 1 Learning Objectives In this unit you will learn

More information

Graphics for Web. Desain Web Sistem Informasi PTIIK UB

Graphics for Web. Desain Web Sistem Informasi PTIIK UB Graphics for Web Desain Web Sistem Informasi PTIIK UB Pixels The computer stores and displays pixels, or picture elements. A pixel is the smallest addressable part of the computer screen. A pixel is stored

More information

The next table shows the suitability of each format to particular applications.

The next table shows the suitability of each format to particular applications. What are suitable file formats to use? The four most common file formats used are: TIF - Tagged Image File Format, uncompressed and compressed formats PNG - Portable Network Graphics, standardized compression

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

Applying mathematics to digital image processing using a spreadsheet

Applying mathematics to digital image processing using a spreadsheet Jeff Waldock Applying mathematics to digital image processing using a spreadsheet Jeff Waldock Department of Engineering and Mathematics Sheffield Hallam University j.waldock@shu.ac.uk Introduction When

More information

Elements of Design. Basic Concepts

Elements of Design. Basic Concepts Elements of Design Basic Concepts Elements of Design The four elements of design are as follows: Color Line Shape Texture Elements of Design Color: Helps to identify objects Helps understand things Helps

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

4 Images and Graphics

4 Images and Graphics LECTURE 4 Images and Graphics CS 5513 Multimedia Systems Spring 2009 Imran Ihsan Principal Design Consultant OPUSVII www.opuseven.com Faculty of Engineering & Applied Sciences 1. The Nature of Digital

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

Chapter 3 Graphics and Image Data Representations

Chapter 3 Graphics and Image Data Representations Chapter 3 Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular File Formats 3.3 Further Exploration 1 Li & Drew c Prentice Hall 2003 3.1 Graphics/Image Data Types The number

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

IMAGE SIZING AND RESOLUTION. MyGraphicsLab: Adobe Photoshop CS6 ACA Certification Preparation for Visual Communication

IMAGE SIZING AND RESOLUTION. MyGraphicsLab: Adobe Photoshop CS6 ACA Certification Preparation for Visual Communication IMAGE SIZING AND RESOLUTION MyGraphicsLab: Adobe Photoshop CS6 ACA Certification Preparation for Visual Communication Copyright 2013 MyGraphicsLab / Pearson Education OBJECTIVES This presentation covers

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

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

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

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

ITP 140 Mobile App Technologies. Images

ITP 140 Mobile App Technologies. Images ITP 140 Mobile App Technologies Images Images All digital images are rectangles! Each image has a width and height 2 Terms Pixel A picture element Screen size In inches Resolution A width and height DPI

More information

Factors to Consider When Choosing a File Type

Factors to Consider When Choosing a File Type Factors to Consider When Choosing a File Type Compression Since image files can be quite large, many formats employ some form of compression, the process of making the file size smaller by altering or

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

TEST INFORMATION: 40 questions 50 minutes 70% minimum required to pass. Score is based on a 1000 pt system so passing will be a 700.

TEST INFORMATION: 40 questions 50 minutes 70% minimum required to pass. Score is based on a 1000 pt system so passing will be a 700. ADOBE CERTIFIED ASSOCIATE WORKSHOP!! (PHOTOSHOP WORKSHOP (PHOTOSHOP CS6) TEST INFORMATION: 40 questions 50 minutes 70% minimum required to pass Score is based on a 1000 pt system so passing will be a 700.

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

Introduction to Photography

Introduction to Photography Topic 11 - Bits & Bytes Learning Outcomes You will have a much better understanding of the basic units of digital photography. Bits & Bytes A Bit is the basic unit on a computer, which can be 0/1, off/

More information

Color, graphics and hardware Monitors and Display

Color, graphics and hardware Monitors and Display Color, graphics and hardware Monitors and Display No two monitors display the same image in exactly the same way 1. Gamma settings - hardware setting on a monitor that controls the brightness of the pixels

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

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

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

Developing Multimedia Assets using Fireworks and Flash

Developing Multimedia Assets using Fireworks and Flash HO-2: IMAGE FORMATS Introduction As you will already have observed from browsing the web, it is possible to add a wide range of graphics to web pages, including: logos, animations, still photographs, roll-over

More information

Using Adobe Photoshop

Using Adobe Photoshop Using Adobe Photoshop 1-1 - Advantages of Digital Imaging Until the 70s, using computers for images was unheard of outside academic circles. As general purpose computers have become faster with more capabilities,

More information

Topics. 1. Raster vs vector graphics. 2. File formats. 3. Purpose of use. 4. Decreasing file size

Topics. 1. Raster vs vector graphics. 2. File formats. 3. Purpose of use. 4. Decreasing file size Topics 1. Raster vs vector graphics 2. File formats 3. Purpose of use 4. Decreasing file size Vector graphics Object-oriented graphics or drawings Consist of a series of mathematically defined points that

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

COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing. Digital Images Vector Graphics

COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing. Digital Images Vector Graphics COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing Digital Images Vector Graphics Students should be able to: Learning Outcomes Describe the differences between bitmap graphics

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

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

*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

3.1 Graphics/Image age Data Types. 3.2 Popular File Formats

3.1 Graphics/Image age Data Types. 3.2 Popular File Formats Chapter 3 Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular File Formats 3.1 Graphics/Image age Data Types The number of file formats used in multimedia continues to proliferate.

More information

Digital Media. Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr.

Digital Media. Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr. Digital Media Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr. Mark Iken Bitmapped image compression Consider this image: With no compression...

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

Commercial Art 1 Photoshop Study Guide. 8) How is on-screen image resolution measured? PPI - Pixels Per Inch

Commercial Art 1 Photoshop Study Guide. 8) How is on-screen image resolution measured? PPI - Pixels Per Inch Commercial Art 1 Photoshop Study Guide To help prepare you for the Photoshop test, be sure you can answer the following questions: 1) What are the three things should you do when you first open a Photoshop

More information

Learning Outcomes. Black and White pictures. Bitmap Graphics. COMPSCI 111/111G Digital Images and Vector Graphics

Learning Outcomes. Black and White pictures. Bitmap Graphics. COMPSCI 111/111G Digital Images and Vector Graphics Learning Outcomes COMPSCI 111/111G Digital Images and Vector Graphics Lecture 13 SS 2018 Students should be able to: Describe the differences between bitmap graphics and vector graphics Calculate the size

More information

Images 6 11/21/2016. Describe the capabilities and limitations of bitmap images. Describe the capabilities and limitations of vector images.

Images 6 11/21/2016. Describe the capabilities and limitations of bitmap images. Describe the capabilities and limitations of vector images. Chapter 6 Images Learning Objectives This lesson looks at images and shows the students what they need to create and edit them. At the end of the lesson, the students will be able to: Discuss the various

More information

ITP 140 Mobile App Technologies. Colors Images Icons

ITP 140 Mobile App Technologies. Colors Images Icons ITP 140 Mobile App Technologies Colors Images Icons Establish a style Look and Feel Create or choose a color palette Pick colors that complement each other Pick colors that are representative of your app

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

1 Li & Drew c Prentice Hall Li & Drew c Prentice Hall 2003

1 Li & Drew c Prentice Hall Li & Drew c Prentice Hall 2003 Chapter 3 Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular File Formats 3.3 Further Exploration 3.1 Graphics/Image Data Types The number of file formats used in multimedia

More information

Digital imaging or digital image acquisition is the creation of digital images, typically from a physical scene. The term is often assumed to imply

Digital imaging or digital image acquisition is the creation of digital images, typically from a physical scene. The term is often assumed to imply Digital imaging or digital image acquisition is the creation of digital images, typically from a physical scene. The term is often assumed to imply or include the processing, compression, storage, printing,

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

Photoshop CS6. Table of Contents. Image Formats! 3. GIF (Graphics Interchange Format)! 3. JPEG or JPG (Joint Photographic Experts Group)!

Photoshop CS6. Table of Contents. Image Formats! 3. GIF (Graphics Interchange Format)! 3. JPEG or JPG (Joint Photographic Experts Group)! Photoshop CS6 Table of Contents Image Formats! 3 GIF (Graphics Interchange Format)! 3 JPEG or JPG (Joint Photographic Experts Group)! 3 PNG (Portable Network Graphics)! 3 Pixels! 3 Resolution! 3 Creating

More information

Adobe Fireworks CS4 Kalamazoo Valley Community College February 25, 2010

Adobe Fireworks CS4 Kalamazoo Valley Community College February 25, 2010 Adobe Fireworks CS4 Kalamazoo Valley Community College February 25, 2010 Introduction to Fireworks CS4 Fireworks CS4 is an image editing program that can handle both vector (line art/logos) and raster

More information

1. Describe how a graphic would be stored in memory using a bit-mapped graphics package.

1. Describe how a graphic would be stored in memory using a bit-mapped graphics package. HIGHER COMPUTING COMPUTER SYSTEMS DATA REPRESENTATION GRAPHICS SUCCESS CRITERIA I can describe the bit map method of graphic representation using examples of colour or greyscale bit maps. I can describe

More information

Welcome Back to Fundamentals of Multimedia (MR412) Fall, 2012 Chapter 3. ZHU Yongxin, Winson

Welcome Back to Fundamentals of Multimedia (MR412) Fall, 2012 Chapter 3. ZHU Yongxin, Winson Welcome Back to Fundamentals of Multimedia (MR412) Fall, 2012 Chapter 3 ZHU Yongxin, Winson zhuyongxin@sjtu.edu.cn Chapter 3 Graphics and Image Data Representations 3.1 Graphics/Image Data Types 3.2 Popular

More information

Computer and Machine Vision

Computer and Machine Vision Computer and Machine Vision Lecture Week 7 Part-2 (Exam #1 Review) February 26, 2014 Sam Siewert Outline of Week 7 Basic Convolution Transform Speed-Up Concepts for Computer Vision Hough Linear Transform

More information

Photoshop (Image Processing)

Photoshop (Image Processing) Photoshop (Image Processing) Photoshop is a paint program developed by Adobe. It allows a user to operate on pixels on the screen. The basic concept of Photoshop (and any other paint program) is to simulate

More information

Glossary Unit 1: Hardware/Software & Storage Media

Glossary Unit 1: Hardware/Software & Storage Media 1. Bluetooth wireless technology to transfer data 2. Burner a CD or DVD writer; can be internal or external 3. Cloud computing use of web services to perform functions that were traditionally performed

More information

Section 1. Adobe Photoshop Elements 15

Section 1. Adobe Photoshop Elements 15 Section 1 Adobe Photoshop Elements 15 The Muvipix.com Guide to Photoshop Elements & Premiere Elements 15 Chapter 1 Principles of photo and graphic editing Pixels & Resolution Raster vs. Vector Graphics

More information

Hello, welcome to the video lecture series on Digital image processing. (Refer Slide Time: 00:30)

Hello, welcome to the video lecture series on Digital image processing. (Refer Slide Time: 00:30) Digital Image Processing Prof. P. K. Biswas Department of Electronics and Electrical Communications Engineering Indian Institute of Technology, Kharagpur Module 11 Lecture Number 52 Conversion of one Color

More information

CGT 511. Image. Image. Digital Image. 2D intensity light function z=f(x,y) defined over a square 0 x,y 1. the value of z can be:

CGT 511. Image. Image. Digital Image. 2D intensity light function z=f(x,y) defined over a square 0 x,y 1. the value of z can be: Image CGT 511 Computer Images Bedřich Beneš, Ph.D. Purdue University Department of Computer Graphics Technology Is continuous 2D image function 2D intensity light function z=f(x,y) defined over a square

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

Astronomy and Image Processing. Many thanks to Professor Kate Whitaker in the physics department for her help

Astronomy and Image Processing. Many thanks to Professor Kate Whitaker in the physics department for her help Astronomy and Image Processing Many thanks to Professor Kate Whitaker in the physics department for her help What is an image? An image is an array, or a matrix, of square pixels (picture elements) arranged

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

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

TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES

TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach by M. Guzdial and B. Ericson, and instructor materials

More information

ADOBE PHOTOSHOP CS 3 QUICK REFERENCE

ADOBE PHOTOSHOP CS 3 QUICK REFERENCE ADOBE PHOTOSHOP CS 3 QUICK REFERENCE INTRODUCTION Adobe PhotoShop CS 3 is a powerful software environment for editing, manipulating and creating images and other graphics. This reference guide provides

More information

Contents. Introduction

Contents. Introduction Contents Introduction 1. Overview 1-1. Glossary 8 1-2. Menus 11 File Menu 11 Edit Menu 15 Image Menu 19 Layer Menu 20 Select Menu 23 Filter Menu 25 View Menu 26 Window Menu 27 1-3. Tool Bar 28 Selection

More information

Digital Darkroom P 207

Digital Darkroom P 207 Digital Darkroom P 207 Digital Photographic Terms, Definitions and Hand Outs Instructor: Stephen Grote Raster Pixel based Each individual pixel in the image must be mapped to a specific location, with

More information