Introduction to Computer Graphics

Slides:



Advertisements
Similar presentations
L.Ghadah R. Hadba CT1514-L1.  Computer Graphics :refers to processing of creating a new image from Geometry, Lighting parameters, Materials and Textures.Using.
Advertisements

Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
Graphics CS 121 Concepts of Computing II. What is a graphic? n A rectangular image. n Stored in a file of its own, or … … embedded in another data file.
Discrete Media: Text, Still Images
Introduction to Computer Graphics
File Formats By Jack Turner. Raster (Bitmap) Raster or bitmap is a dot matrix data structure, containing columns of dots and rows, of a graphics image.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
Zinnia Bell. RAWimages are image files that have not yet processed, they contain minimally processed data from the image sensor of either a image scanner,
Fundamentals Rawesak Tanawongsuwan
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Faculty of Sciences and Social Sciences HOPE Website Development Graphics Stewart Blakeway FML 213
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
Module Code: CU0001NI Technical Information on Digital Images Week -2.
Lecture 4 - Introduction to Computer Graphics
Image Storage Bitmapped Graphics – in which an image is represented as a collection of dots Vector Graphics – in which an image is represented as a set.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Section 8.1 Create a custom theme Design a color scheme Use shared borders Section 8.2 Identify types of graphics Identify and compare graphic formats.
Information Processes and Technology Multimedia: Graphics.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
+ 5 Things you need to know about images* *Images for the web.
CS- 375 Graphics and Human Computer Interaction Lecture 1: 12/4/1435 Fundamental Techniques in Graphics Lecturer: Kawther Abas.
Graphics workshop Library and Information Services University of St Andrews.
Lecture 16 Image Document Formats. Bitmap vs. Vector Images Bitmaps do not generally.
File Format. Graphics file Format GIF (Graphics Interchange Format) JPEG (Joint Photographic Experts Group) PNG (Portable Network Graphics) TIFF (Tag.
2D Graphics Theory & Principles. Single Point Smallest addressable area on screen or digital image.
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Chapter 2 File Format Objectives (1 of 2) Identify the difference between vector based graphics and bitmap-based graphics Clarify bitmap and vector graphic.
Vector vs. Raster Objectives:
Digital Graphics. Formats: BMP – Bitmap image file which is used to store Bitmap digital images PNG – Portable Network Graphics GIF – Graphics Interchange.
Raster Graphics 2.01 Investigate graphic image design.
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Graphics Concepts Presentation
Introduction to Images & Graphics JMA260. Objectives Images introduction Photoshop.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
Image Editing Vocabulary Words Pioneer Library System Norman Public Library Nancy Rimassa, Trainer Thanks to Wikipedia ( help.
Bitmap vs. Vector How computers work with photographs and drawings.
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
Section 8.1 Section 8.2 Create a custom theme Design a color scheme
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
Vector (Shapes) vs. Raster (Pixels)
Digital Illustration Chapter 6 File format.
Higher Graphic Communication
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
2.01 Understand Digital Raster Graphics
Image Formats.
Higher Graphic Communication
2.01 Investigate graphic image design.
Raster Images CPSC 1030.
Chapter 3 Image Files © 2017 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Chapter III, Desktop Imaging Systems and Issues: Lesson IV Working With Images
A computer display is made up of small squares, called pixels.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Digital Images.
1.01 Investigate graphic types and file formats.
Graphics Basic Concepts.
Web Design and Development
2.01 Understand Digital Raster Graphics
Terms 1 Terms 2 Terms 3 Terms 4 Terms 5 1pt 1 pt 1 pt 1pt 1 pt 2 pt
2.01 Investigate graphic image design.
Final Study Guide Arts & Communications.
2.01 Understand Digital Raster Graphics
Vector (Shapes) vs. Raster (Pixels)
Web Programming– UFCFB Lecture 7
Multimedia System Image
2.01 Investigate graphic image design.
Lecture 4 - Introduction to Computer Graphics
2.01 Investigate graphic image design.
Presentation transcript:

Introduction to Computer Graphics

64 Computer Graphics Production and display of still images stored in digital form Digitize printed image with a scanner Capture image from digital camera Grab frame from video camera Create in digital form using graphics package Generate visual representation of data

Rendering Image is displayed on monitor etc as array of pixels 66–67 Rendering Image is displayed on monitor etc as array of pixels Rectangular (usually square) dots of colour Program (e.g. Web browser) sets pixels to an appropriate color to produce desired image Pixels merge optically to produce effect of continuous tone Program must maintain a model of the image May be stored in a file and read by program

Bitmapped and Vector Graphics 67–68 Bitmapped and Vector Graphics Bitmapped graphics – image is modeled as an array of pixel values Render by direct mapping of logical pixels to physical pixels of screen May need scaling and clipping Vector graphics – image is modeled as mathematical description of curves, shapes Render by computing pixels from description

68–69 Memory Requirements Bitmapped – any picture of wxh pixels, using c bytes per pixel occupies whc bytes Vector – space required depends on complexity of picture (how many shapes, segments of path, etc) Usually vector graphics smaller than bitmapped

Memory Requirements 128 px square with 20px blue outline filled in red 68–69 Memory Requirements 128 px square with 20px blue outline filled in red Bitmap using 24 bits per pixel, 128x128x3 = 48kbytes Vector specified in SVG: <path fill="#F8130D" stroke="#1E338B" stroke-width="20" d="M118,118H10V10h108V118z"/> 86 bytes (plus 198 bytes SVG boilerplate)

Image Editing Vectors – drawing programs Bitmaps – painting programs 70–71 Image Editing Vectors – drawing programs Select individual graphic objects (shapes, paths, &c) Transform size, position, angle, &c Change attributes: stroke and fill &c Bitmaps – painting programs Select areas of pixels Apply effects and filters

Scaling Vectors Bitmaps 71 Scaling Vectors Scaling is a simple mathematical operation on stored description (before rendering) Curves and lines remain smooth at all sizes Bitmaps Interpolate pixel values More or less sophisticated algorithm Usually produces loss of quality, blurring, jaggedness &c

Combining Vectors & Bitmaps 73–75 Combining Vectors & Bitmaps Rasterize vectors Lose all their vector properties Trace bitmaps Difficult and can only produce an approximation (parameterized) Import bitmaps into vector drawing programs Treated as indivisible objects Apply complex strokes to vectors to approximate bitmapped appearance

75–78 Layers Organizational device used in both sorts of graphics, especially useful in bitmaps Permits separation and manipulation of different parts of a bitmapped image Digital version of clear sheets of acetate, stacked on top of each other Areas without coloured pixels/graphic objects are transparent so lower layers show through Compositing – combine layers using different blending modes (digital collage)

File Formats Many different graphics file formats in existence 78–79 File Formats Many different graphics file formats in existence Different ways of encoding image data Different amounts/form of supplementary data (Bitmaps) Different compression methods Lossless – image can be reconstructed exactly from compressed version Lossy – some information discarded, image can only be reconstructed approximately

WWW Bitmapped Formats GIF (Compuserve Graphics Interchange Format) 79–80 WWW Bitmapped Formats GIF (Compuserve Graphics Interchange Format) Lossless, 256 colours (indexed), transparency JPEG (Joint Photographic Experts Group) Lossy (variable quality), millions of colours PNG (Portable Network Graphics) Lossless, variable number of colours, W3C standard

Vector Formats SVG (Scalable Vector Graphics) SWF (Flash) 81–82 Vector Formats SVG (Scalable Vector Graphics) W3C standard, not presently widely used SWF (Flash) Primarily for vector animation, but can be used for still vector graphics; de facto standard EPS (Encapsulated PostScript) Primarily print, use declining, superseded by PDF