Digital Media Dr. Jim Rowan ITEC 2110. Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are.

Slides:



Advertisements
Similar presentations
Working with images and scenes CS 5010 Program Design Paradigms “Bootcamp” Lesson 2.5 TexPoint fonts used in EMF. Read the TexPoint manual before you delete.
Advertisements

CS 352: Computer Graphics Chapter 7: The Rendering Pipeline.
Inkscape Tutorial v2.0 Simon Andrews
Chapter 12 Using Clipping Masks, Paths, & Shapes.
Chapter 7 Creating Graphics. Chapter Objectives Use the Pen tool Reshape frames and apply stroke effects Work with polygons and compound paths Work with.
Adobe Photoshop CS Design Professional PATHS, & SHAPES USING CLIPPING MASKS,
Chapter 4 Digital Multimedia, 2nd edition Vector Graphics.
Multi-media graphics--JOUR 205 Vectors vs. bitmaps.
SWE 423: Multimedia Systems Chapter 4: Graphics and Images.
Vector vs. Bitmap SciVis V
V Obtained from a summer workshop in Guildford County July, 2014
Working with Graphics. Objectives Understand bitmap and vector graphics Place a graphic into a frame Work with the content indicator Transform frame contents.
Adobe InDesign CS5 – Illustrated Unit D: Working with Graphics.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - GRAPHICS. In this chapter how the computer creates, stores, and displays graphic images how the computer creates,
Digital Media Dr. Jim Rowan ITEC Over the next several classes… In the next several lectures we will be covering these topics: –Vector graphics.
Vector vs. Bitmap
Digital Media Dr. Jim Rowan ITEC 2110 Wednesday, September 4.
1 JPEG v JPEG stands for Joint Photographic Experts Group v Superior for continuous tone, photographic color images not good on sharp-edges or flat-colornot.
Digital Media Dr. Jim Rowan ITEC Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are.
© 2011 Delmar, Cengage Learning Chapter 1 Getting to Know Illustrator.
© De Montfort University, Vector and Bitmapped graphics Howell Istance School of Computing De Montfort University.
Digital Media Lecture 3: Image Encoding Bitmapped images Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Dr. Jim Rowan ITEC Over the next several classes… In the next several lectures we will be covering these topics: –Vector graphics.
Graphics. Graphic is the important media used to show the appearance of integrative media applications. According to DBP dictionary, graphics mean drawing.
INT 840E Computer graphics Introduction & Graphic’s Architecture.
Software. Read the description on the next slide. Can you picture the scene?
Digital Media Lecture 8: Vector Graphics 3D Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Vector Graphics Multimedia Technology. Object Orientated Data Types Created on a computer not by sampling real world information Details are stored on.
Illustrator I I450 Technology Seminar. Bitmap vs. Vector Photoshop = Bitmap Illustrator = Vector Bitmap images are resolution dependent Vector images.
Digital Media Dr. Jim Rowan ITEC Up Next! In the next several lectures we will be covering these topics: –Vector graphics –Bitmapped graphics –Color.
Vector Graphics Digital Multimedia Chap 이병희
© 2010 Delmar, Cengage Learning Chapter 7 Creating Graphics.
Digital Media Dr. Jim Rowan ITEC So far… We have compared bitmapped graphics and vector graphics We have discussed bitmapped images, some file formats.
Digital Media Dr. Jim Rowan ITEC 2110 Chapter 3. Roll call.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 4 Lecture 4 - Vector Graphics.
Digital Media Dr. Jim Rowan ITEC 2110 Images: Chapters 3, 4 & 5.
Digital Media Dr. Jim Rowan ITEC 2110 Thursday, September 13.
CISC 110 Day 3 Introduction to Computer Graphics.
© 2011 Delmar, Cengage Learning Chapter 12 Using Clipping Masks, Paths, & Shapes.
Digital Media Dr. Jim Rowan ITEC 2110 Chapter 3. Roll call.
Digital Media Lecture 5: Vector Graphics Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Guilford County SciVis V104.03
OUTPUT PRIMITIVES A.Aruna/Faculty of Information technology/SNSCE13/19/2016.
Mohammed AM Dwikat CIS Department Digital Image.
Creating cast members  Using tool palette window that can be selected from window menu.  The following objects can be created: Push buttons, Radio buttons,
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
IS502:M ULTIMEDIA D ESIGN FOR I NFORMATION S YSTEM D IGITAL S TILL I MAGES Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny Winter.
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
Chapter 7 Vector Editing © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Graphics Basic Concepts 1.  A graphic is an image or visual representation of an object.  A visual representation such as a photo, illustration or diagram.
Main characteristics of Vector graphics  Vector graphics provide an elegant way of constructing digital images (diagrams, technical illustration and.
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.
Digital Media Dr. Jim Rowan ITEC Up Next! In the next several lectures we will be covering these topics: –Vector graphics –Bitmapped graphics –Color.
IS502:M ULTIMEDIA D ESIGN FOR I NFORMATION S YSTEM D IGITAL S TILL I MAGES Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny Winter.
Vector vs. Bitmap.
CSI-447: Multimedia Systems
Dr. Jim Rowan ITEC 2110 Wednesday, September 12
Dr. Jim Rowan ITEC 2110 Images: Chapters 3, 4 & 5
Exercise 28 - Skills Vector tools enable you to create perfectly formed shapes and lines of all sorts. What’s more the vector objects keep their shape.
Chapter 7 Vector Editing
Digital Media Dr. Jim Rowan ITEC 2110.
Dr. Jim Rowan ITEC 2110 Images: Chapters 3, 4 & 5
Dr. Jim Rowan ITEC 2110 Chapter 3
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Dr. Jim Rowan ITEC 2110 Chapter 3
Creating Vectors – Part One
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Presentation transcript:

Digital Media Dr. Jim Rowan ITEC 2110

Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are easy to edit Mandatory for 3-D modeling

Coordinate systems Bitmapped pixel coordinates (integer) 4,04,14,24,9 3,03,13,23,9 0,00,10,20,9 x y

Coordinate systems bitmapped A E CD x y B A= (, ) B= (, ) C= (, ) D= (, ) E= (, )

Coordinate systems Vector graphics coordinates (real values) A point is defined by its x and y coordinate x y (1.41, 1.74) (x,y) Can be fractional Can be negative

Vector graphics coordinates (real values) A displacement (distance between points or movement from one point to another) can be defined by a pair of points Coordinate systems x y (1.41, 1.74) point 1 (3.12, 0.95) displacement from point 1 to point 2... = [(x2 - x1), (y2 - y1)] ( , ) (1.71,-0.79) point 2

Vectors have magnitude (length) and direction This vector goes down 0.79 and to the right 1.71 It is a two dimensional (x&y) vector that goes down and to the right (1.71,-0.79) AKA vector x y (1.41, 1.74) (3.12, 0.95)

Another grandfathered term From the time when displays were directly “steered” by their programs Give the display two points and it would move the beam from one point to the other drawing a line... This movement could be described as a vector since it has magnitude (length) and direction (from one point to the other) Vector graphics?

Absolute vs Window coordinates (top paragraph of page 88) rendering software renders images in a window windows can be moved at will so... the rendering program only knows where the object is relative to the window it is in rendering software does not know where the window is on the screen a coordinate transformation must be performed

Bounding Box what point is used to place an object? images can be contained inside a “bounding box” which is the smallest box that contains all the points found in an object bounding box is placed in relation to its (0,0) position

Window coordinates x y (0,0) window 1 desktop screen bounding box (150,200) window (410,290) (760,570) (100,103)

Vector graphics Store shapes (like the line) very economically in the form of formulas or equations But which formula? A line is defined by y = mx + b (but that is for an infinitely long line) In computer graphics we want a line segment, i.e. it has endpoints Since a line segment can also be completely described by its endpoints…

Here’s the vector we saw earlier defined by it’s two endpoints x (1.41, 1.74) (3.12, 0.95)

Now let’s convert this vector graphic to a bitmapped graphic

Convert Vector to Bitmapped Visually... “completely cover the vector with pixels” x

Vector to Bitmapped x

The artifact created: The “Jaggies” This can result in “aliasing” x

Aliasing When converting a vector graphic to a bitmapped graphic we can’t create a perfect representation What we end up with is a bitmapped version of the vector It’s not really the original but rather an alias of the original version

Aliasing Even we view a bitmapped digital photograph on a display, the reconstruction is performed by a display device, and by our eyes and by our brain. If the reconstructed image differs from the original image, we are seeing an alias.

To combat aliasing: anti-aliasing Techniques to mitigate the affect of aliases Smoothes the edges of jagged lines

Using anti-aliasing techniques on our original line x our pixellated line to be displayed (the external model) is in black

combating aliases: anti-aliasing techniques x the original vector graphic line stored in the internal model is in red our pixellated line to be displayed (the external model) is in black

combating aliases: anti-aliasing techniques x

combating aliases: anti-aliasing techniques “average the grayness” x

So far we have just looked at a line –The line was stored as its endpoints What about other shapes?

vector graphics: shapes connected lines are stored as a polyline –internally the polyline is stored as a series of points closed polylines form a shape open polyline is a jagged line

vector graphics: rectangles and squares rectangles can be described by two corners squares are special cases of the rectangle

vector graphics: ellipses and circles ellipses can be described by two points circles are special cases of the ellipses –they are stored as a single point

vector graphics: curves Question: How would you draw a curve using a computer with a mouse? You can’t draw smooth lines very easily A line tool with handles (based on the Bezier curve) can be manipulated by those handles

Lines and curves Bezier curves can be smoothly joined together An anchor point is the point where one joins the other When a curve closes on itself it is considered a closed curve When it doesn’t it’s an open curve

Lines and curves Closed (and open for that matter) lines can be filled –This is how drawn shapes become objects like the cowboy on Toy Story (except that the characters in toy story were created in 3D, not 2D) –solid color, pattern or gradient (linear or radial) –Patterns are built of tiles that match across x & y Lines have ends –ends can be messy when joined –mitre, rounded, square, bevel

Manipulating objects AKA closed curves Translation is a simple up/down side-to- side movement Scaling: make bigger or smaller Rotation about a point Reflection about a line

3-D Way more complex than 2-D 3-D shapes (objects) are defined by their surfaces Made even more complicated by the fact that a 3-D object inside the computer must be translated into 2-D to be rendered on a computer screen... –This results in the need to specify the viewpoint

Structural hierarchy Things in the real world are compositions of smaller things Things in the 3-D graphics world are also compositions of smaller things Hierarchical structure is an excellent way of coping with complexity Also seen in object-oriented programming like Java and Squeak!

Structural hierarchy Car –Wheels (4) tire wheel hubcap –Doors (2) handles –inside »lever –outside »button »handle window(s) –Lights headlights (2) tail lights (2+) stop lights (2+)

3-D: additional complexity rendering is extremely computationally expensive (demanding) –lighting natural artificial reflections off other objects in the scene shadows cast by other objects in the scene –surface texture affects appearance

Questions?