Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.

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

Image Data Representations and Standards
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.
Image Processing, Illustration (Drawing), Paint Programs, and Scanning Dr. Warren C. Weber Cal Poly Pomona.
Graphics and Animation Chapter 8. 8 Graphics in Multimedia Graphics are an element that virtually all multimedia applications include.
Vector vs. Bitmap SciVis V
Graphics and Images September 28, Unit 3.
File Formats The most common image file formats, the most important for cameras, printing, scanning, and internet use, are JPG, TIF, PNG, and GIF.
Manipulating Images Image A visual representation of something that is seen in real life. It can be two-dimensional or three-dimensional A visual representation.
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.
V Obtained from a summer workshop in Guildford County July, 2014
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.
Digital Images. Scanned or digitally captured image Image created on computer using graphics software.
An Introduction to Scanning and Storing Photographs and Graphics Bryn Jones Aug 2002
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,
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.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
File Formats About graphic file formats And image compression.
Graphics and Image Data Representations Mr.Nael Aburas 1.
Module Code: CU0001NI Technical Information on Digital Images Week -2.
Chapter 3 Graphics and Image Data Representations
Graphics/Image Data Types
Presentation Design: Graphics. More About Color “Bit depth” of colors -- This is based on the smallest unit of information that a computer understands.
Vector vs. Bitmap
Digital Image: Representation & Processing (2/2) Lecture-3
Graphics and Animation Multimedia Projects Part 2.
Web Image Basics Comp 140 December 2. Vector Graphics Can be repositioned or resized – Will not diminish output quality Typically stored in AI, EPS, PICT.
Multimedia Elements II Graphics, Digital Video. UIT - Multimedia Production2 Multimedia Elements Multimedia elements include: Text Graphics Animation.
Digital Darkroom I Theresa L. Ford. Objectives Basic Digital Image Terminology Screen Display of Pictures –Why are pictures too big for the screen? –Why.
Raster Graphics. An image is considered to be made up of small picture elements (pixels). Constructing a raster image requires setting the color of each.
GRAPHICS. Topic Outline What is graphic. Resolution. Types of graphics. Using graphic in multimedia applications.
Graphics. Graphic is the important media used to show the appearance of integrative media applications. According to DBP dictionary, graphics mean drawing.
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.
Unit 1: Task 1 By Abbie Llewellyn. Vector Graphic Software (Corel Draw) Computer graphics can be classified into two different categories: raster graphics.
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Raster Graphics 2.01 Investigate graphic image design.
File Types. Terms Multimedia- the integration of text, sound, video and/or animation into a document Letters, brochures, newsletters, web pages or presentations.
Digital Images are represented by manipulating this…
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
Digital Image Editing Presented by John Hohn. File Formats JPEG – Joint Photographic Experts Group PNP – Portable Network Graphics GIF – Graphic Interchange.
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.
Guilford County SciVis V104.03
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
Graphics and image data representation
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Computer Science Higher
2.01 Understand Digital Raster Graphics
Chapter 3 Graphics and Image Data Representations
2.01 Investigate graphic image design.
Graphics Basics Ellen Eyth.
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.
A computer display is made up of small squares, called pixels.
Digital Images.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Graphics and Animation
1.01 Investigate graphic types and file formats.
Graphics Basic Concepts.
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
Graphics and Animation
2.01 Investigate graphic image design.
Presentation transcript:

Graphics and Image Data Representations 1

Q1 How images are represented in a computer system? 2

An image could be described as two-dimensional array of points where every point is allocated its own color. Every such single point is called pixel, short form of picture element. The number of pixels determines the quality of the image- image resolution. Higher resolution always yields better quality. 3

Types of images There are two basic forms of computer graphics: bit-maps and vector graphics. Bitmap formats are the ones used for digital photographs Vector formats are used only for line drawings. 4

Bit-map images ( Raster Graphics) They are formed from pixels -- a matrix of dots with different colors. Bitmap images are defined by their dimension in pixels as well as by the number of colors they represent. A 640X480 image contains 640 pixels and 480 pixels in horizontal and vertical direction respectively Each of the small pixels can be a shade of gray or a color. All digital photographs and paintings are bitmapped, and any other kind of image can be saved or exported into a bitmap format 5

Cont…. 6

Cont… 7

In fact, when you print any kind of image on a laser or ink-jet printer, it is first converted by either the computer or printer into a bitmap form so it can be printed with the dots the printer uses. once bitmap are enlarged too much, they look unnatural and blocky. Reducing their sizes also has an impact on image quality as images lose a bit of sharpness. Bitmaps are fairly simple to output, as long as your printer has sufficient memory. 8

Image Resolution Image resolution refers to the spacing of pixels in an image and is measured in pixels per inch, ppi, sometimes called dots per inch, dpi The higher the resolution, the more pixels in the image. Increasing the size of an image decreases its resolution and decreasing its size ???? its resolution 9

How to determine what size your raster image must be, for good quality printing? 10

Multiply the resolution required by the area to be printed. Examples: If a printer requires a minimum of 300 ppi and you want to print an image in an area that is 5 inches wide, multiply 300 pixels x 5 inches (300 x 5 = 1500). Your image must be at least 1500 pixels wide. 11

Can we enlarge the pixel dimension and resolution of a raster image? 12

Once the image is created at a certain dimension, you may not be able to use this image at a larger size without losing quality. 13

How to determine what dimension your existing image can be printed at: 14

Divide the pixel dimension of your image by the resolution required by your printer. If your image is 1993 pixels wide & printer requires 300 ppi (1993 ÷ 300) can be printed at inches. If your image is 1993 pixels wide & printer requires 240 ppi (1993 ÷ 240) can be printed at inch. 15

Vector graphics They are really just a list of graphical objects such as lines, rectangles, ellipses, arcs, or curves called primitives. This format is widely used by computer-aided design programs to create detailed engineering and design drawings It is also used in multimedia when 3D animation is desired. 16

Draw programs have a number of advantages over paint-type programs Precise control over lines and colors. Ability to skew and rotate objects to see them from different angles or add perspective. Ability to scale objects to any size to fit the available space. Vector graphics always print at the best resolution of the printer you use, no matter what size you make them. Color blends and shadings can be easily changed. Text can be wrapped around objects. 17

Monochrome/Bit-Map Images Each pixel is stored as a single bit (0 or 1) The value of the bit indicates whether it is light or dark Dithering is often used for displaying monochrome images 18

Gray-scale Images Each pixel is usually stored as a byte (value between 0 to 255) This value indicates the degree of brightness of that point. This brightness goes from black to white 19

8-bit Color Images One byte for each pixel example, a dark pixel might have a value of 10, and a bright one might be 230. Supports 256 out of the millions possible, acceptable color quality Requires Color Look-Up Tables (LUTs):- to store color information. Basically, the image stores not color but instead just a set of bytes, each of which is an index into a table with 3-byte values that specify the color for a pixel with that lookup table index. Examples: GIF 20

24-bit Color Images Each pixel is represented by three bytes (e.g., RGB) Supports 256 x 256 x 256 possible combined colors (16,777,216) Most 24-bit images are 32-bit images, the extra byte of data for each pixel is used to store an alpha value representing special effect information 21

Popular File Formats Choosing the right file type for your image to save in is of vital importance. The most common formats used on internet are the GIF, JPG, and PNG. 22

GIF Graphics Interchange Format (GIF), initially for transmitting graphical images over phone lines via modems. Limited to only 8-bit (256) color images, suitable for images with few distinctive colors (e.g., graphics drawing) Supports one-dimensional interlacing Supports animation. multiple pictures per file (animated GIF) 23

Cont … GIF format has long been the most popular on the Internet, mainly because of its small size. GIFs allow single-bit transparency, which means when you are creating your image, you can specify one color to be transparent. This allows background colors to show through the image. 24

PNG Portable Network Graphics It is intended as a replacement for GIF in the WWW and image editing tools PNG uses unpatented zip technology for compression PNG-24/8 Provides transparency using alpha value Supports interlacing 25

JPEG/JPG A standard for photographic image compression created by the Joint Photographic Experts Group Intended for encoding and compression of photographs and similar images Uses complex lossy compression which allows user to set the desired level of quality (compression). Though JPGs can be interlaced, they do not support animation and transparency unlike GIF 26

TIFF Tagged Image File Format (TIFF), stores many different types of images (e.g.,monochrome, gray scale, 8-bit & 24-bit RGB, etc.) Uses tags, keywords defining the characteristics of the image that is included in the file. TIFF is a lossless format. Do not use TIFF for web images. They produce big files, and more importantly, most web browsers will not display TIFFs. 27

System Dependent Formats Microsoft Windows: BMP Macintosh: PAINT and PICT X-windows: XBM 28

Color lookup Tables (LUTs) The idea used in 8-bit color images is to store only the index, or code value, for each pixel. If a pixel stores, say, the value 25, the meaning is to go to row 25 in a color lookup table (LUT). The image file can store in the file header information just what 8-bit values for R, G, and B correspond to each index. The LUT is often called a palette. 29

Cont…. 30

Cont…. A color picker consists of an array of fairly large blocks of color. A simple animation process is possible via simply changing the color table: this is called color cycling or palette animation. 31

Cont.. 32