Digital Media Dr. Jim Rowan ITEC 2110 Chapter 3. Roll call.

Slides:



Advertisements
Similar presentations
Raster Graphics vs. Vector Graphics
Advertisements

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
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
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.
Digital Media Lecture 2.1: SemesterOverview Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Dean Pentcheff NHMLAC MBPC/Crustacea 17 April 2006.
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
Digital Media Dr. Jim Rowan ITEC Monday, August 27.
Digital Media Dr. Jim Rowan ITEC Monday, August 27.
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.
Digital Media Dr. Jim Rowan ITEC Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are.
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.
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.
Graphics. Graphic is the important media used to show the appearance of integrative media applications. According to DBP dictionary, graphics mean drawing.
Digital Media Lecture 2: SemesterOverview Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Lecture 4.1: Image Encoding Practice Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Vector vs. Raster Objectives:
Quiz # 1 Chapters 1,2, & 3.
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 2: SemesterOverview 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.
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.
Digital Imaging Fundamentals Ms. Hema C.R. School of Mechatronic Engineering.
Digital Images are represented by manipulating this…
Digital Media Dr. Jim Rowan ITEC 2110 Images: Chapters 3, 4 & 5.
Digital Media Dr. Jim Rowan ITEC Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are.
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.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Digital Media Lecture 4.2: Image Encoding Practice Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Dr. Jim Rowan ITEC 2110 Bitmapped Images.
Digital Media Lecture 2: SemesterOverview Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Guilford County SciVis V104.03
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
Digital Media Dr. Jim Rowan ITEC Up Next! In the next several lectures we will be covering these topics: –Vector graphics –Bitmapped graphics –Color.
Computer Systems Nat 5 Computing Science Data Representation
Section 8.1 Section 8.2 Create a custom theme Design a color scheme
Images Data Representation.
Binary Notation and Intro to Computer Graphics
Computer Science Higher
Vector vs. Bitmap.
Digital Media Lecture 4.1: Image Encoding Practice
Dr. Jim Rowan ITEC 2110 Wednesday, September 12
Dr. Jim Rowan ITEC 2110 Images: Chapters 3, 4 & 5
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
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
Chapter 2 Data Representation.
Dr. Jim Rowan ITEC 2110 Chapter 3
Computer Systems Nat 4.5 Computing Science Data Representation
Visuals are analog signals...
Lecture 4 - Introduction to Computer Graphics
Presentation transcript:

Digital Media Dr. Jim Rowan ITEC 2110 Chapter 3

Roll call

Computer Graphics... Arguably a very different viewing media –Forced to look carefully at the processes that move stuff from the real world to the computer... AND BACK! –Usually consumed on a fairly low resolution monitor 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... magazine (gloss)

Computer Graphics Complex enough to be arguably an enabling technology not just a single thing WWW –fostered the shift from text based media –has begun to develop its own visual vocabulary Ways to model computer graphics –bitmapped images –vector graphics –each with their advantages and disadvantages

But first: How to display a bunch of data? This is a field of study all by itself that includes computer graphics, cognitive science and psychology For example: Different graphing forms –pie charts –bar charts –use color for delineation?

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 Externally an application must project this internal model onto a bitmapped display –This process is called “rendering” An application must also project this internal model onto a storage model to be able to store and recall it later

Two approaches to graphic modeling Bitmapped graphics –grandfathered name... more like pixel mapped graphics Vector graphics –more like object graphics because you describe objects using vectors (formulas) a line is defined by slope, length & position a circle is radius & position a square is length of side & position

Bitmapped graphics... 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 and different resolution –will probably require clipping and scaling to move from logical to physical pixels

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 specification instead of a single bit

for 1080 more bit

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 –not simply 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 1024 X 1024 pixels in size Each with 3 byte (24 bit, millions of colors) color encoding Which would be bigger? Why? bitmapped graphic vector graphic

Here are two images, blue squares Both are displayed at 72 pixels per inch Both are 318 X 318 pixels in size Each with 3 byte (24 bit, millions of colors) color encoding Which would be bigger? Why? bitmapped graphic vector graphic

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

Bitmapped/Vector Graphics Selection of objects in the image –vector is easy, objects are described by mathematical equations –bitmapped, no objects, just pixels Special effect (like blur) differences –bitmapped, easy –vector, 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 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 Vector can be converted to bitmapped (rasterized)... this process already exists since you 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.

Image layers Bitmapped and vector graphics use this 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

Now for some calculations!

Size and download speed calculations How big is the audio file? –44,100 samples per second –16 bit quantization –stereo –3m16 seconds in length How long to load to youTube over –highest speed dial up connection? –adsl? How long to download from youTube over –highest speed dial up connection? –adsl?

Size and download speed calculations How big is the audio file? –44,100 samples per second –8 bit quantization –stereo –3m16 seconds in length How long to load to youTube over –highest speed dial up connection? –adsl? How long to download from youTube over –highest speed dial up connection? –adsl?

Size and download speed calculations How big is the audio file? –8,000 samples per second –8 bit quantization –stereo –3m16 seconds in length How long to load to youTube over –highest speed dial up connection? –adsl? How long to download from youTube over –highest speed dial up connection? –adsl?

Show Image: testPageImage.tiff 1574 pixels wide 1987 pixels tall RGB encoded bits each 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 why?

Now for some Audacity fun! Import a CD track into Audacity –What is the sample rate? –Why is it 32 bits (4 bytes) when we know that cd quality is 16 bits (2 bytes)? –Save as.wav file & inspect with cmd I –Play it using quicktime Change sample rate to 22,100 –Save as.wav file & inspect with cmd I –Play it using quicktime Change quantization level to 16 bit –Save as.wav file & inspect with cmd I –Play it using quicktime

Questions?