© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Slides:



Advertisements
Similar presentations
Chapter 2 Fundamentals of Digital Imaging
Advertisements

Introduction to Computer Graphics
Vector vs. Bitmap SciVis V
V Obtained from a summer workshop in Guildford County July, 2014
BITMAP & VECTOR GRAPHICS Art Fundamentals of Graphic Design.
Chapter 3 Survival Techniques. Goals Discover that being an Illustrator artist is more than just knowing the tools Develop a basic understanding of the.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
CSC 8610 & 5930 Multimedia Technology Lecture 2 Digital Image Representation.
Vector vs. Bitmap
Computer Concepts 2014 Chapter 8 Digital Media. 8 Chapter Contents  Section B: Bitmap Graphics  Section C: Vector and 3-D Graphics Chapter 8: Digital.
CS- 375 Graphics and Human Computer Interaction Lecture 1: 12/4/1435 Fundamental Techniques in Graphics Lecturer: Kawther Abas.
Chapter 4: Representation of data in computer systems: Images OCR Computing for GCSE © Hodder Education 2011.
Photoshop Photoshop works with bitmapped, digitized images (that is, continuous-tone images that have been converted into a series of small squares, or.
2D Graphics Theory & Principles. Single Point Smallest addressable area on screen or digital image.
Vector vs. Raster Objectives:
Unit 1: Task 1 By Abbie Llewellyn. Vector Graphic Software (Corel Draw) Computer graphics can be classified into two different categories: raster graphics.
Quiz # 1 Chapters 1,2, & 3.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Fundamentals of WWW Imaging Fort Collins, CO Copyright © XTR Systems, LLC Fundamentals of Web Imaging Instructor: Joseph DiVerdi, Ph.D., MBA.
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
Guilford County SciVis V104.03
Digital Basics Quiz Preparation. Basic Digital Image Concepts Aliasing & Anti‐aliasing Resolution Compression Raster & Vector Color mode & Image mode.
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
Vector vs. Bitmap. Vector Images Vector images (also called outline images) are images made with lines, text, and shapes. Test type is considered to be.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Vector (Shapes) vs. Raster (Pixels)
Graphics 1 Graphics 2 Color 2 I Spy 1pt 1 pt 1 pt 1pt 1 pt 2 pt 2 pt
Binary Representation in Audio and Images
Vector vs. Bitmap.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Bitmap vs. Vector.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Chapter III, Desktop Imaging Systems and Issues: Lesson IV Working With Images
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
LET’S LEARN ABOUT GRAPHICS!
Digital Images.
Digital imaging.
Graphics and Animation
Introduction to Computer Graphics
Graphics Basic Concepts.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Digital Media Objective
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Vector (Shapes) vs. Raster (Pixels)
Web Programming– UFCFB Lecture 7
Lecture 4 - Introduction to Computer Graphics
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Graphics and Animation
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Creating Digital Graphics
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presentation transcript:

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. "Digital Media Primer" Yue-Ling Wong, Copyright (c)2016 by Pearson Education, Inc. All rights reserved. © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Chapter 2 Fundamentals of Digital Imaging Part 2 Bitmapped Images vs. Vector Graphics © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

In this lecture, you will find answers to these questions What are bitmap images? What are vector graphics? What do aliasing and anti-aliasing mean? © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Bitmapped images Examples: Web images, e.g. JPEG, PNG, GIF Adobe Photoshop images © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Bitmapped images Characteristics the image is divided in a grid (think of it as a pegboard) each cell (think of it as a peghole) in the grid stores only one color value (think of it as a peg) each cell is called a pixel—picture element bitmap images are resolution dependent; each image has a fixed resolution the level of details the image can represent depends on the number these cells, or pixels. A pegboard with more holes lets you create a picture with finer details. cells © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Bitmapped images If I specify "1" to represent yellow and "0" to represent purple, the data to describe this image is: 1111111111111111111111011111101111110111111011111101111111111111 The size of the data (the file size) in this example—an 8x8-pixel image is not too bad, but what about we have a 3000x2000-pixel—an image from a 6-megapixel digital camera? © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Bitmap vs. Pixmap Bitmap: In certain contexts, it refers to images with 1 bit per pixel, i.e., each pixel has a value either 0 or 1. Pixmap: If each pixel has a color value that uses more than 1 bit. Here we are using the term bitmap or bitmapped images to refer to all pixel-based images. © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Vector Graphics Examples: graphics created in Adobe Flash Adobe Illustrator © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Vector Graphics Characteristics Generated mathematically, i.e. instructions not pixel-based Resolution independent © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Vector Graphics Instruction Example A simple postscript example: %! newpath 200 200 moveto 300 200 lineto stroke showpage © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Bitmap Images vs. Vector Graphics An analogy: Driving Directions: A visual map vs. a written instruction Bitmap ~~> map Vector Graphics ~~> a written instruction © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Bitmap Images vs. Vector Graphics An analogy: Driving Directions: A visual Triptik map vs. a written instruction Which one takes up more storage space? Triptik map ~~> bitmap Which one takes you more time to translate the direction into a mental image? written instruction ~~> vector graphics (take more computation to display on computer because it is mathematically generated) © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Bitmap Images vs. Vector Graphics An analogy: Driving Directions: A visual Triptik map vs. a written instruction If you are going to draw out a map based on a written instruction, how big can you draw? as big as you physically can ~~> the instruction is resolution independent © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Bitmap Images vs. Vector Graphics 1111111111111111111111011111101111110111111011111101111111111111 %! newpath 2 1 moveto 6 5 lineto stroke showpage vector graphic bitmap image © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Vector Graphics The unit is arbituary, i.e. when you print out an image, you may set one unit as an inch or a foot. This means vector graphic is resolution independent. %! newpath 2 1 moveto 6 5 lineto stroke showpage vector graphic © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Printing Bitmap Images have the same amount of data, i.e. same level of details print bigger print smaller bitmap image © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Printing Vector Graphics print bigger print smaller vector graphics © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Bitmap Images vs. Vector Graphics Example Vector graphics:A line defined by two end points. Vector graphics: The same line is stroked with a certain width. & (d) The line is converted to a bitmap. © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Curve Drawing in Vector Graphics Programs defined by a set of points; we call them anchor points the direction handles or tangent handles of a point controls the tangent at that point on the curve © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Rastering Vector Graphics Raster means convert vector graphics into pixel-based images. Most vector graphics programs let you rasterize vector graphics. Need to specify a resolution for rasterizing, that is, how coarse or how fine the sampling. © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Aliasing The rasterized image will appear jagged. This jagged effect is a form of aliasing caused by undersampling (which means insufficient sampling rate.) Recall the musical note on a pegboard example. Original vector graphics Rastered vector graphics without anti-aliasing © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Anti-aliasing Techniques To soften the jaggedness by coloring the pixels with intermediary shades in the areas where the sharp color changes occur. Original vector graphics Rastered vector graphics without anti-aliasing Rastered vector graphics with anti-aliasing © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Review Questions Note to instructor: Depending on your preference, you may want to go over the review questions at the end of this lecture as an instant review or at the beginning of next lecture to refresh students' memory of this lecture. © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Review Question Bitmapped images are composed of ___. A. individual pixels which represent spatial samples of the image or scene B. mathematical descriptions of image elements which include points, lines, curves, and figures A © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Review Question Vector graphics are composed of ___. A. individual pixels which represent spatial samples of the image or scene B. mathematical descriptions of image elements which include points, lines, curves, and figures B © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Review Question The main advantage(s) of bitmapped images over vector graphics is (are) ___. A. scalability (ie., resolution independence of images) B. ease of editing the image content pixel by pixel C. more compact file size compared to vector graphics B © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Review Question The main advantage(s) of vector graphics over bitmapped images is (are) ___. A. scalability (ie., resolution independence of images) B. ease of editing the image content pixel by pixel C. more compact file size compared to vector graphics A and C © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. Review Question Sometimes when you magnify a picture on your computer screen, lines that should be straight lines appear to be jagged. This effect is called ___. A. anti-aliasing B. aliasing C. dithering D. indexing B © 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.