COMP 1 5.3. Bitmapped and Vector Graphics Pages 116-123 Using Qwizdom.

Slides:



Advertisements
Similar presentations
Pixels and Digital Images Yrd. Doc. Dr. Ahmet Sayar Kocaeli Universitesi Bilgisayar Muhendisligi Ileri Bilgisayar Grafikleri.
Advertisements

Introduction to Computer Graphics Raster Vs. Vector COMMUNICATION TECHNOLOGY.
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.
2.01 Understand Digital Raster Graphics
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.
Components Text Text--Processing Software A Word Processor is a software application that provides the user with the tools to create and edit text.
Image and Sound Editing Raed S. Rasheed Image Image. Digital image. – Raster images. – Vector Images. – Stereo Images. – Image File Formats Lossless.
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.
An Introduction to Scanning and Storing Photographs and Graphics Bryn Jones Aug 2002
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
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.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
Lecture 4 - Introduction to Computer Graphics
Simple Graphics. Graphics Used in PowerPoint, Web pages and others Basic Knowledge drawing change of colour, shape and others acquiring, video camera,
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
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
7/11/20081 Today’s Agenda Friday 6 th Nov Revision of certain topics Floating point notation Excess Notation Exam format Interim Report.
Multimedia Elements II Graphics, Digital Video. UIT - Multimedia Production2 Multimedia Elements Multimedia elements include: Text Graphics Animation.
Image Representation. Objectives  Bitmaps: resolution, colour depth and simple bitmap file calculations.  Vector graphics: drawing list – objects and.
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.
Computer Concepts 2014 Chapter 8 Digital Media. 8 Chapter Contents  Section B: Bitmap Graphics  Section C: Vector and 3-D Graphics Chapter 8: Digital.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
Chapter 14 Working with Graphics. 2Practical PC 5 th Edition Chapter 14 Getting Started In this Chapter, you will learn: − About different graphics you.
Graphics workshop Library and Information Services University of St Andrews.
ADOBE PHOTOSHOP VECTOR VS RASTER. Pixel A pixel is the fundamental unit of an image in Photoshop. It is a small square block of color. An image often.
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.
Quiz # 1 Chapters 1,2, & 3.
Chapter 2 File Format Objectives (1 of 2) Identify the difference between vector based graphics and bitmap-based graphics Clarify 3 types of vector programs.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
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 Systems Nat 4.5 Computing Science Data Representation Lesson 4: Representing and Storing Graphics EXTENSION.
Raster Graphics 2.01 Investigate graphic image design.
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.
Information Technology Images: Types, Resolution and Techniques.
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
Vocabulary Worksheet Answers
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Guilford County SciVis V104.03
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Unit 2.6 Data Representation Lesson 3 ‒ Images
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
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
Vector vs. Bitmap.
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
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 3:- Graphics Eyad Alshareef Eyad Alshareef.
1.01 Investigate graphic types and file formats.
An Introduction to Scanning and Storing Photographs and Graphics
Data Representation.
Representing Images 2.6 – Data Representation.
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
2.01 Understand Digital Raster Graphics
Multimedia System Image
Computer Systems Nat 4.5 Computing Science Data Representation
2.01 Investigate graphic image design.
2.01 Investigate graphic image design.
Presentation transcript:

COMP Bitmapped and Vector Graphics Pages Using Qwizdom

What will you learn today? Identify characteristics of bitmap and vector graphics Compare bitmap and Vector graphics Understand key terms such as image and screen resolution, colour depth, compression techniques Calculate simple file sizes for bitmap images Understand what is meant by a drawing list

What is a digital image? Real world colour picture is converted to numeric computer data consisting of rows and columns of millions of colour samples measured from the original picture. Examples: scanning, digital camera, or computer generated

Graphic Types There are two different types of graphics: Bitmap graphics Vector Graphics

Bitmapped graphics Image divided into a grid of picture elements. This is the smallest addressable area or smallest block of colour in an image called ………… The bitmapped file contains the bitmapped representation of the image. The binary code for each pixel is stored in memory and then displayed on the screen pixel Definition!!! Image divided into a grid of picture elements. This is the smallest addressable area or smallest block of colour in an image called ………… The bitmapped file contains the bitmapped representation of the image. The binary code for each pixel is stored in memory and then displayed on the screen

What is meant by screen resolution? Screen resolution is expressed in : A. Total No of pixels on the screen B. Pixels per Inch C. Dots per Inch D. (No of pixels in a row) by (No of pixels in a column)

18 ppi36 ppi 72 ppi Image resolution Is expressed in pixels/dots per Inch So how can the quality of a scanned image be improved? Increase the DPI

So a small image size containing a large number of pixels should produce the sharpest image Effect on an image with a fixed number of pixels of reducing the display’s resolution

Color Depth Number of colors each pixel can be. 1 bitblack or white 8 bit256 colors 16 bit65,536 colors 24 bit16.7 million colors 32 bitMillions plus extra information The more colors per pixel, the larger the file size

How are colours coded? RGB colour – Red, Green and Blue are encoded separately How is ‘white’ encoded using RGB? A. All three colour values are set to ‘0’ B. All three colour values are set to ‘1’ C. It is calculated differently by each computer

Graphical Display Methods Bit-mapped Graphics: 1 Bit/pixel Monochrome Use of on/off information on a map One bit in memory needed to represent each pixel Pixel (smallest picture element of a display) D to A convertor 1 Pixel fully on Raster ScanVideo RAM

Graphical Display Methods 8 Bits/pixel Colour screen Each pixel corresponds with one byte in memory How many colours can be coded for each pixel? D to A convertor Raster ScanVRAM

12 bit colour – sometimes used for devices with limited colour display such as mobile phones 4 bits for each of the R, G and B components How many different colours can be represented this way?

True colour Mimics many colours found in the real world. It approaches the number of colours the human eye can distinguish for most photographic images 24 bit true colour – 8 bits for Red, 8 bits for Blue and 8 bits for Green The number of colours that can be represented in 24 bits are: 256 * 256 * 256 = 16,777,216 bits 32 bit colour – is true colour with an extra 8 bits that is ignored or represents an alpha channel, which is a way of providing partial transparency.

How many colours are possible using 1 byte per pixel? A. 255 B. 2 C. 256 D. 8

How many colours are possible using 2 bytes per pixel? A. 65,536 B C. 65,535 D. 16

Suppose a bitmapped image, size 8 pixels x 8 pixels, uses 8 bits to encode the colour of each pixel. How many bytes are required to store the image’s bitmap? Enter the number of bytes required to store the image.

If we use a higher resolution for the image (say from 8x8 to 16x16), keeping it’s dimensions the same, what will happen with the file size? The number of pixels will increase by a factor of four, so the memory requirement must increase from 64 bytes to 256 bytes.

A graphic with 600 X 300 px using 1 byte for each pixel. How big is file size in bytes? A bytes B bytes C. 180 Kb D bytes

For the same graphic size (600 X 300) 16 bits are used for each pixel. How large is files size now? A. (300 x 600 x 2 ) / 10= Kb B. (300 x 600 x 2)/ 1000= 360 Kb C. (300 x 600) / 1000= 180 Kb D. (300 x 600 x 2) / 1024 = 352 Kb

For the same graphic dimension (600 X 300), the size in pixels are doubled to 1200 x 600 in each dimension by how much will the number of pixels increase? A. The number of pixels will increase from 360,000 to 720,000 and file size from 352 Kb to 704 Kb B. The number of pixels will increase from 360,000 to 1,440,000 and file size from 352 Kb to 1408 Kb

Vector Graphics Images are represented as mathematical formulae that define shapes in the image such as lines, polygons and text Based upon a system of start and end point coordinates A line is drawn directly on the screen by the electron beam Vector (line) is refreshed at a fast rate or the line would disappear Images are represented as mathematical formulae that define shapes in the image such as lines, polygons and text Based upon a system of start and end point coordinates A line is drawn directly on the screen by the electron beam Vector (line) is refreshed at a fast rate or the line would disappear Definition!!!

Vector Graphics The graphic is created by specifying the properties of every object: Properties or attributes are position, size, direction, line thickness, font-size etc

Vector Graphics Drawing list: For each graphic a list of all drawing commands that recreate the objects in a vector graphic E.g. line(20,10,180,20,red,4) Find out the kind of properties that can be stored for a rectangle?

Bitmap and Vector Graphics

Compression of Bitmap graphic files To squeeze data into a smaller number of bytes. Run-length encoding – without loss of image quality (Lossless compression) Some images have long runs of same colour, memory cells are compared For example: If on a row of pixels there is a line of thirty red pixels, -> store the colour value for `red' once, and store that it's repeated thirty times. File formats: GIF and PNG

Lossy Compression Lossy compression – discards information which is not considered important Background scenery saved with reduced resolution. The image differs from original image Compare JPG and TiffJPG and Tiff Image saved as JPEG at 10% quality (90% compression, 1.5kB filesize). Image saved as JPEG at 90% quality (10% compression, 15kB filesize).

Compression of graphic files To squeeze data into a smaller number of bytes.

Exercise in Pairs Compare Vector and Bitmap graphics Where are vector graphics used in industry, and where are bitmap graphics used? Compare typical file sizes between bitmap and vector – why are there differences? Scalability/resizing? Give 3 file types and 3 software applications for each graphic type. Time: 10 minutes

Compare Bitmap and Vector Graphics Bitmap Advantages Very detailed, photographic images Multiple tools/filters can be used Used for scanning and digital photographs Can be compressed Widely supported file types Disadvantages Large file size When scaled – pixels enlarge and pixels become visible = pixilation File types:.GIF,.PNG,.JPG Software applications: Paint.net, Photoshop Vector Advantages Can resize graphic without distortion - geometric Are defined by relative positions of objects in a 2-D or 3-D coordinate system Is easier to render an object Requires fewer bytes and loads faster Each object is editable separately Almost all specialist graphics systems use vector graphics. E.g. CAD, animation software Used for logos, diagrams Disadvantages Less detailed image content Software specific – needs exporting for use outside File types:.FLA,.SWF,.CDR Software applications: Corel Draw, CAD, Flash

What have you learned this lesson?

What is meant by image resolution A. The size of the file B. The size of the image C. The number of pixels wide by the number of pixels high D. Pixels per inch

What is meant by image resolution

Why are vector graphics typically smaller in file size? A. The dimensions are usually smaller B. They usually contain less detail C. They store mathematical information on the objects, dimensions etc only, not the ‘white space’ D. They number of colours available is limited

Which file format will typically be of a larger size? A. BMP B. CDR C. FLA D. SWF

Identify a vector graphic file type from the list below A. GIF B. JPEG C. BMP D. DOC E. SWF

The sharpness of an image depends on A. The number of pixels B. The size of the pixels – the smaller the better C. The size of the pixels – the larger the better D. The File size

What is meant by colour depth? A. The number of bits used to represent the colour of a single pixel B. The resolution of the image, the more pixels, the better colour depth C. The quality of the VDU screen output

Homework for next lesson In AQA Computing Book pages 116 – 123 – Questions 1 to 14