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.

Slides:



Advertisements
Similar presentations
In the name of God Computer Graphics Bastanfard.
Advertisements

Chapter 2: Time and Space Lecturer: Norhayati Mohd Amin.
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.
Introduction to Computer Graphics
Information Technology Services North Dakota State University Lorna Olsen Get the Best Digital Images Possible What’s it all about anyway?
Vector vs. Bitmap SciVis V
Raster vs Vector and Image Resolution By Josh Gallagan.
V Obtained from a summer workshop in Guildford County July, 2014
What is digital resolution all about? Jellybean portrait shows us how units of color placed together make an image.
Working with Graphics. Objectives Understand bitmap and vector graphics Place a graphic into a frame Work with the content indicator Transform frame contents.
Image size and Image Sensors. Look at an image in Photoshop Two ways to specify Image size…
Bitmapped Images. Bitmap Images Today’s Objectives Identify characteristics of bitmap images Resolution, bit depth, color mode, pixels Determine the most.
Scanning 101 and Beyond Media & Instructional Technology Services Darryl Simcoe, Instructor Scanning: process of converting images to digital data files.
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,
Dean Pentcheff NHMLAC MBPC/Crustacea 17 April 2006.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
CGMB214: Introduction to Computer Graphics
Lecture 4 - Introduction to Computer Graphics
Objective Understand concepts used to create digital graphics. Course Weight : 15% Part Three : Concepts of Digital Graphics.
Digital Terminology. Bitmap A representation consisting of rows and columns of dots of a graphic image stored in computer memory. To display a bitmap.
JRN 302: Introduction to Graphics and Visual Communication - Raster and Vector Files Tuesday, 9/8/15.
Vector vs. Bitmap
Bitmap Vs. Vector Graphics. To create effective artwork, you need to understand some basic concepts about vector graphics versus bitmap images, resolution,
Digital Media Dr. Jim Rowan ITEC Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
INT 840E Computer graphics Introduction & Graphic’s Architecture.
Illustrator I I450 Technology Seminar. Bitmap vs. Vector Photoshop = Bitmap Illustrator = Vector Bitmap images are resolution dependent Vector images.
Vector Graphics Digital Multimedia Chap 이병희
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.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 4 Lecture 4 - Vector Graphics.
In the name of God Computer Graphics. Today Introduction Sampling Graphic Output Primitives 1.Line 2.Circle 3.Curve 4.polygon.
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.
Guilford County SciVis V104.03
Mohammed AM Dwikat CIS Department Digital Image.
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.
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.
 The concept of resolution is simple, but it differ according to where it is used.
Basic Digital Imaging For PE 266 Technology in HPER.
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
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.
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
Section 8.1 Section 8.2 Create a custom theme Design a color scheme
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
What is digital resolution all about?
Binary Notation and Intro to Computer Graphics
Vector vs. Bitmap.
CSI-447: Multimedia Systems
Graphics Fundamentals
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
Dr. Jim Rowan ITEC 2110 Wednesday, September 12
Chapter III, Desktop Imaging Systems and Issues: Lesson IV Working With Images
Introduction to Computer Graphics
ImageEditing Understanding Image Resolution.
Digital Media Dr. Jim Rowan ITEC 2110.
Dr. Jim Rowan ITEC 2110 Chapter 3
Chapter 2 Data Representation.
What is digital resolution all about?
Dr. Jim Rowan ITEC 2110 Chapter 3
Lecture 4 - Introduction to Computer Graphics
Presentation transcript:

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 2013

Revision How much disk space would be occupied by a 100-minute feature film if it was stored as uncompressed video in PAL format and to be displayed at a frame rate of 30 frames/sec? State any assumptions you make in your calculations. Hint: a single frame in PAL format is 720X576 By Mahmood A.Moneim2

Digital Still Images As mentioned in the last lecture, digital still images can be modeled in two different ways: Vector Graphics Bitmapped Images By Mahmood A.Moneim3

I. Vector Graphics Vector graphics technique is used by PDF, SVG and SWF (Flash Movie) formats In vector graphics, images are built up using shapes that can be described mathematically Each pixel in a rectangular array can be identified by its pixel coordinates (row and column numbers) Origin By Mahmood A.Moneim4

Vectors The displacement between two points is a vector whose components are obtained by subtracting the x and y coordinates of the two points The term vector graphics was originally used to refer to the production of images on output devices using an electron beam that traces vectors on the screen Lines and curves can be represented by equations relating the y and x coordinates of each point on the line or curve Example: Equation of straight line is y = mx + c where m is the slope and c is the intercept By Mahmood A.Moneim5

Vectors By Mahmood A.Moneim6

Vectors A problem arises when the computed coordinates of a straight line do not lie on the image grid (not integers) In this example, the end-points are (0, 31) and (12, 1) The equation can be found to be: y = 31 – 5x/2 By substituting with values for x from 0 to 12, we will get real numbers, which must be rounded down to lie on the discrete image grid To get a continuous line, we set blocks between 2 and 3 pixels to desired color so that the straight line is approximated By Mahmood A.Moneim7

Anti-aliasing Rendered lines will exhibit “the jaggies”, a form of aliasing caused by the inevitable under sampling when rendering on a device with finite resolution The effect can be resolved by anti-aliasing: coloring pixels in shades of grey (for a black line) whose brightness varies according to the extent of their intersection with an idealized one-pixel-wide line Jagged Line Line Bounding Box Anti-aliased By Mahmood A.Moneim8

Anti-aliasing Another Example: By Mahmood A.Moneim9

Vector Objects Drawing programs and vector graphics languages provide a basic repertoire of shapes that can easily be represented mathematically The common shapes are rectangles and squares, ellipses and circles, straight lines and Bézier curves By Mahmood A.Moneim10

Vector Objects Bézier curves are smooth curves that can be specified by an ordered set of control points; the first and last control points are the curve’s end points A cubic Bézier curve has four control points: two end points and two direction points The sweep of a Bézier curve is determined by the length and direction of the direction lines between the end and direction points By Mahmood A.Moneim11

Vector Objects Cubic Bézier curves are drawn by dragging direction lines with a pen tool The order of the four points of a cubic Bézier curve determines the shape By Mahmood A.Moneim12

Vector Objects Quadratic Bézier curves only have a single direction point. They are the only Bézier curves supported by SWF. PDF and SVG provide both cubic and quadratic Bézier curves Bézier curve segments can be combined to make smooth paths. A closed path joins up on itself, an open path does not By Mahmood A.Moneim13

Transformations Vector objects can be altered by changing the stored values used to represent them Affine transformations preserve straight lines and keep parallel lines parallel Translation, scaling, rotation, reflection and shearing are affine transformations, which can be performed by direct manipulation in vector drawing programs By Mahmood A.Moneim14

By Mahmood A.Moneim15

II. Bitmapped Images Resolution is a measure of how finely a device approximates continuous images using finite pixels. There are two types of resolution: Device Resolution and Image Resolution 1. Device Resolution: For a camera or a scanner, it’s how far apart two lines on a target grid have to be for the device to see them as two lines The resolution of scanners and printers is usually measured in terms of their pixel density measured in dots per inch (dpi) By Mahmood A.Moneim16

Bitmapped Images Resolution The resolution of video frames and computer monitors is usually measured in terms of their pixel dimensions (width × height) Example: NTSC video frame is 640×480 A typical computer monitor can be 1024×768 The resolution of a digital still camera is often quoted as the total number of pixels in the largest image it can record (Megapixels) Example: A 5 Megapixel camera can produce images with dimensions of 2584 x 1936 if the aspect ratio is set to (4:3) or 2736 x 1936 is the aspect ratio is set to (3:2) 3:2 4:3 By Mahmood A.Moneim17

Bitmapped Images Resolution 2. Image Resolution: – The pixel density of monitors and still cameras is assumed to be 72 dpi (“screen resolution”) – A bitmapped image has pixel dimensions but no intrinsic pixel density – The physical size of an image when it is displayed will depend on them pixel density of the device it is to be displayed on (A 198 x 149 pixels image) 1 inch= 2.54cm By Mahmood A.Moneim18

Bitmapped Images Resolution general: Most image formats record a resolution (pixel density) together with the image data; this is usually the resolution of the device on which it originated By Mahmood A.Moneim19

Resampling Reducing the pixel dimensions is called “downsampling”; increasing them is called “upsampling”. Both can lead to a loss of quality Scaling can be done either by applying a transformation to each original pixel or by applying the inverse transformation to each pixel in the scaled image By Mahmood A.Moneim20

Resampling Using reverse mapping, we can set the pixel at coordinate (x’, y’) in the enlarged image to the value at (x, y) = (x’/s, y’/s) In general, (x’/s, y’/s) will not be integers Interpolation is needed because of the finite size of pixels - Nearest-neighbor Interpolation: If X indicates (x, y), assign the color of the closest pixel (in this case P3) to the location (x’, y’) By Mahmood A.Moneim21

Resampling Interpolation is needed because of the finite size of pixels - Bilinear Interpolation: If X indicates (x, y), the color assigned to (x’, y’) is the summation of the colors of P1, P2, P3 and P4, each weighted with the area of their intersection with the square around X By Mahmood A.Moneim22

Resampling Nearest-neighbor vs. Bilinear Interpolation Nearest-neighbor Bilinear Interpolation By Mahmood A.Moneim23

Example You are given an 8 bit grayscale image which appears to be 4 inches wide and 6 inches high on your 72dpi monitor. a) Calculate the number of pixels in this image. b) Calculate the raw file size for this image and convert it to Kb. c) How big will it be if you print it out on a 1000 dpi printer? By Mahmood A.Moneim24

Example Consider the 3 x 3 image given below. Show the result of zooming in the image to double its size if nearest-neighbor interpolation is used By Mahmood A.Moneim

Q UESTIONS ? By Mahmood A.Moneim26