Digital Media Dr. Jim Rowan ITEC 2110 Images: Chapters 3, 4 & 5.

Slides:



Advertisements
Similar presentations
Images Images are a key component of any multimedia presentation.
Advertisements

© 2011 Delmar, Cengage Learning Chapter 7 Importing and Modifying Graphics.
Digital Color 24-bit Color Indexed Color Image file compression
Introduction to Computer Graphics
Vector vs. Bitmap SciVis V
How Images are Represented Bitmap images (Dots used to draw the image) Monochrome images 8 bit grey scale images 24 bit colour Colour lookup tables Vector.
V Obtained from a summer workshop in Guildford County July, 2014
Digital Media Dr. Jim Rowan ITEC 2110 Color. COLOR Is a mess It’s a subjective sensation PRODUCED in the brain Color differs for light and paint/ink Printing.
1 Creating Web Graphics Outline 2.1 Graphics Types 2.2 Vector Graphics 2.3Bitmapped Graphics 2.4Graphics for the Web 2.5 GIF (Graphics Interchange Format)
1 Bitmap Graphics It is represented by a dot pattern in which each dot is called a pixel. Each pixel can be in any one of the colors available and the.
Lecture 3. Fundamentals of Computer Graphics. Computer Graphics, a very broad term Fields Related to Computer Graphics Bitmap/Vector graphics, 2D/3D graphics,
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
Digital Media Dr. Jim Rowan ITEC Over the next several classes… In the next several lectures we will be covering these topics: –Vector graphics.
Lecture 4 - Introduction to Computer Graphics
Objective Understand concepts used to create digital graphics. Course Weight : 15% Part Three : Concepts of Digital Graphics.
JRN 302: Introduction to Graphics and Visual Communication - Raster and Vector Files Tuesday, 9/8/15.
Vector vs. Bitmap
Digital Media Dr. Jim Rowan ITEC 2110 Wednesday, September 4.
Images The Science of Images What is an Image on the computer? The Psychology of Images What do we use images for? What effect color has on our mood and.
Digital Media Dr. Jim Rowan ITEC 2110 Color. Question! Inside Photoshop and Gimp there are image filters that, among other things, allow you to blur the.
Digital Media Dr. Jim Rowan ITEC Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are.
Digital Cameras And Digital Information. How a Camera works Light passes through the lens Shutter opens for an instant Film is exposed to light Film is.
Project 4: Composite Movie Ad
Adobe Photoshop - Basic Terms. Pixel A pixel is a single dot of color information in a digital picture. Anything you see on your computer is comprised.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
Digital Media Dr. Jim Rowan ITEC 2110 Bitmapped Images.
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.
Digital Media Dr. Jim Rowan ITEC 2110 Bitmapped Images.
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Digital Media Dr. Jim Rowan ITEC Up Next! In the next several lectures we will be covering these topics: –Vector graphics –Bitmapped graphics –Color.
Digital Media Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
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.
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Representing and Storing Graphics EXTENSION.
Adobe photoshop digital image making. the basics Adobe PhotoShop is an image-editing program that lets you create and edit digital images. ◦PhotoShop.
Digital Images are represented by manipulating this…
Introduction to Images & Graphics JMA260. Objectives Images introduction Photoshop.
Digital Media Dr. Jim Rowan ITEC Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are.
 Lecture 4. Image Resolution  The resolution of an image is the number of pixels per unit length (pixels/inch or pixels/cm).  You must change either.
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.
Adobe Photoshop T.Ahlam Algharasi. Adobe Photoshop Adobe Photoshop is a seriously powerful photo and image edit ( treating and manipulation, compositing,
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Digital Media Dr. Jim Rowan ITEC 2110 Bitmapped Images.
Guilford County SciVis V104.03
Digital Media Dr. Jim Rowan ITEC 2110 Bitmapped Images.
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.
Multimedia and weBLOGging Grade 7-9 | Cahaya Bangsa Classical School (C) 2010 Digital Media Production Facility 03 - Still Picture 01 – Basics.
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.
AP CSP: Pixelation – B&W/Color Images
Vector vs. Bitmap.
Adobe software utilization
Dr. Jim Rowan ITEC 2110 Wednesday, September 12
Dr. Jim Rowan ITEC 2110 Bitmapped Images
Dr. Jim Rowan ITEC 2110 Images: Chapters 3, 4 & 5
Introduction to Computer Graphics
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 Bitmapped Images
Dr. Jim Rowan ITEC 2110 Chapter 3
Computer Systems Nat 4.5 Computing Science Data Representation
Lecture 4 - Introduction to Computer Graphics
Presentation transcript:

Digital Media Dr. Jim Rowan ITEC 2110 Images: Chapters 3, 4 & 5

In the next several lectures we will be covering these topics: –Vector graphics –Bitmapped graphics –Color It will be presented in this order –Bitmapped graphics –Vector graphics part 1 –Color parts 1 & 2 –Vector graphics part 2: 3D

Computer Graphics... A very different viewing media than print –Usually consumed on a fairly low resolution monitor –Forcing us to look carefully at the processes that move stuff from the real world to the computer... AND BACK! Graphic images work very differently on a screen than when in print –can be seen with lights out –will be viewed from different resolution monitors –viewing angles are different –reflections off screen

Computer Graphics Computer graphics on the Internet –fostered the shift away from print based media –has begun to develop its own visual vocabulary Inside the computer there’s a numeric model of a real- world phenomenon Two ways to model computer graphics (images) –bitmapped images –vector graphics each with their advantages and disadvantages

The way you display data affects how it is understood This is a field of study all by itself that includes computer graphics, cognitive science and psychology The way data is displayed affects how people interpret the data –how color is used –the numeric scales used Different graphing forms emphasize different aspects of the numbers –pie charts –bar charts –line graphs

Designing information display How to lie with statistics Edward Tufte, Yale University –Visual Display of Quantitative Information –Envisioning Information –Visual Explanations

Computer Display types Now... all are rectangular arrays of pixels Not always that way –Early graphics (1976) used a “steerable” electron gun, not raster graphics –Since then... we have moved away from electron gun…

Internal and External graphics models Internally an application keeps a numeric model –Inside a computer it’s all numbers To display the internal model so we can see it, an application must project this internal model onto a display –The internal model, the numbers, are in the computer –This process of projecting this model onto a display is called “rendering”

Two approaches to internal graphic modeling Why two approaches? –drastic filesize differences –each is good for its type of image –each has its own unique advantagess Bitmapped graphics –grandfathered name... more like pixel mapped graphics Vector graphics –It’s more like object graphics because you describe objects using vectors (formulas)

With bitmapped graphics... There are logical and physical pixels –images are modeled internally as an array of pixel values... the logical pixels –physical pixels are the actual dots on screen Moving from logical and physical pixels –called rendering –may be different size, shape and different resolution –will probably require clipping and scaling to move from logical to physical pixels –for example…

A true bitmapped image is black and white Each logical pixel is represented by a single bit

When color came along it borrowed the idea... except that each logical pixel became a 3 byte RGB color specification instead of a single bit

for 1080 more bits

bits in the color table 100 bits in the pixel map 172 bits total Question: With 2 bits encoding the color, if we expanded the color table, how many colors could be represented?

Vector graphics Internal model is very different than bitmapped graphics Images are described as mathematical equations Rendering is very different –must translate EQUATIONS to physical pixels –Simple to clip or scale –must compute the array of physical pixels from the equations

Here are two images, blue squares Both are displayed at 72 pixels per inch Both are displayed as 1024 X 1024 pixels in size Each with 3 byte (24 bit, millions of colors) color encoding Which would have the larger (in terms of file size) internal model? Why? bitmapped graphic vector graphic

Here are two more complex images Both are displayed at 72 pixels per inch Both are displayed as 1024 x 720 pixels in size Each with 3 byte (24 bit, millions of colors) color encoding Which would have the larger (in terms of file size) internal model? Why? bitmapped graphic vector graphic

Now imagine this… Both are displayed at 72 pixels per inch Both are displayed as 318 X 318 pixels in size Each with 3 byte (24 bit, millions of colors) color encoding Which would have the larger (in terms of file size) internal model? Why? bitmapped graphic vector graphic

Bitmapped/Vector Graphics Bitmapped image file size is… –affected by dimensions, resolution and color resolution –not affected by contents Vector graphics file size is… –affected by the contents of the image the more complex, the larger the file gets –size of the file is not affected by resolution

Bitmapped/Vector Graphics Access to objects found in the image –vector is easy, objects are described by mathematical equations –bitmapped, no objects, just pixels… this is very difficult Special effect (like blur, which requires access to surrounding pixels) differences –Bitmapped? Easy the pixels are stored in the model –Vector? Not so much… First convert to bitmapped, then blur

Bitmapped/Vector Graphics Scaling and Resize –Vector? Simple... change formula Changes can be made BEFORE pixel values are calculated –Bitmapped? Complicated... frequently results in artifacts Why is bitmapped scaling and resizing complicated? ==>

Original image: 10 x 5 Now make it twice as big [Draw on image]

Original image: 10 x 5 [Draw on image] Now make it twice as big What happens if there are two colors next to one another? Strictly duplicate?  jagged edges Interpolate them?

Original image: 10 x 5 To make it 50% larger... What do you do? Do you make it 15 x 7? or 15 x 8? 1 pixel => 1? 2? There is no such thing as 1.5 pixels...

Bitmapped Vector GIMP Inkscape Vector can more easily be converted to bitmapped... –in fact, this process already exists since you must RENDER vectors to display them. Bitmapped to vector is complicated –Vector is based on shapes… but bitmapped does not define any shapes –Software must identify edges and find the shapes.

Bitmapped Image Manipulation Why? –Correct deficiencies (i.e. flash red eye) encapsulated sequence of operations to perform a particular change –Create images that are difficult or impossible to create in nature special effects

Image layers Both bitmapped and vector graphics use layers as an organizational device In bitmapped graphics –layers are used like digital tracing paper to isolate objects in the image –colors can be separated and manipulated individually

Image Manipulation Tools Selection tools –for regular shapes rectangular and elliptical marquee tools why is it called marquee? –for irregular shapes lasso (polygon, magnetic, magic wand...) –magnetic snaps to an enclosed object using edge-detection routines

Selection tools... Allow the application of filters to only the selected parts of the image The unaffected area is called a mask... can be thought of as a stencil A 1-bit mask is either transparent or opaque An 8-bit mask allows 256 levels of transparency... AKA alpha channel

Selection tools... Making the mask with a gradient produces a softer transition... a feathered edge. Can use anti-aliasing along the edge more effectively hides the hard edge visually Layers can have masks associated with them Allows interesting compositing of image parts

Show Image: testPageImage.tiff 2272 pixels wide 2868 pixels tall RGB encoded No compression No table How Big?

Show Image: testPageImage.tiff Inspect it with mac cmd-I Open image with hexFiend How big is it? What is in it? Mostly FF... why?

HMMMMMmmm… We’ll talk more about this size issue later when we discuss bitmapped graphics in more detail We will also consider compression techniques other than the table method

Questions?