MM Topic 2 - Bit mapped and Vector Graphics Data 1 Topic 2 – Bit mapped & Vector graphics Still images – the general name for any graphic that doesn’t.

Slides:



Advertisements
Similar presentations
Bitmapped Graphic Data
Advertisements

A Digital Imaging Primer Nick Dvoracek Instructional Resources Center University of Wisconsin Oshkosh.
Dale & Lewis Chapter 3 Data Representation. Representing color Similarly to how color is perceived in the human eye, color information is encoded in combinations.
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.
ETT 429 Spring 2007 Digital Photography/Scanners.
Graphics in the web Digital Media: Communication and Design
Introduction to Computer Graphics
Vector vs. Bitmap SciVis V
Object Orientated Data Topic 5: Multimedia Technology.
File Formats The most common image file formats, the most important for cameras, printing, scanning, and internet use, are JPG, TIF, PNG, and GIF.
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.
I Power Multimedia Technology Video Data. Video data Video is a sequence of individual pictures or frames, taken one after another. These are played back.
Nat 4/5 - Software Design and Development – Low Level Operations - 1 National 4/5 – Computing Science Information Systems Design and Development Media.
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 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.
Unit 30 P1 – Hardware & Software Required For Use In Digital Graphics
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Faculty of Sciences and Social Sciences HOPE Website Development Graphics Stewart Blakeway FML 213
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
Module Code: CU0001NI Technical Information on Digital Images Week -2.
Lecture 4 - Introduction to Computer Graphics
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Research For Both Hardware And Software Required In Digital Graphics. By Joanne Hocking.
Vector vs. Bitmap
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Data Representation The method of data representation in a computer system depends upon the type of data which is being used. Three types of data are considered.
Bit-Mapped Graphic Data: Input (Capture) Hardware Multimedia – Section 2.
Graphics and Animation Multimedia Projects Part 2.
Object Orientated Data Topic 5: Multimedia Technology.
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.
Still-image compression Moving-image compression and File types.
Information Processes and Technology Multimedia: Graphics.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
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.
Marr CollegeHigher ComputingSlide 1 Higher Computing: COMPUTER SYSTEMS Part 1: Data Representation – 6 hours.
Which is the Pink Pen? Here is the Pink Pen (Example taken from
2D Graphics Theory & Principles. Single Point Smallest addressable area on screen or digital image.
Vector Graphics Multimedia Technology. Object Orientated Data Types Created on a computer not by sampling real world information Details are stored on.
Unit 1: Task 1 By Abbie Llewellyn. Vector Graphic Software (Corel Draw) Computer graphics can be classified into two different categories: raster graphics.
Digital Graphics. Formats: BMP – Bitmap image file which is used to store Bitmap digital images PNG – Portable Network Graphics GIF – Graphics Interchange.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Representing and Storing Graphics EXTENSION.
I Power Multimedia Technology Graphics Higher Computing.
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.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
WEB GRAPHICS EXPLORING COMPUTER SCIENCE - LESSON 3-4.
Scanner Scanner Introduction: Scanner is an input device. It reads the graphical images or line art or text from the source and converts.
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.
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
Data Representation.
Binary Representation in Audio and Images
Computer Science Higher
A computer display is made up of small squares, called pixels.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Introduction to Computer Graphics
Representing Images 2.6 – Data Representation.
Web Design and Development
Multimedia System Image
Lecture 4 - Introduction to Computer Graphics
Presentation transcript:

MM Topic 2 - Bit mapped and Vector Graphics Data 1 Topic 2 – Bit mapped & Vector graphics Still images – the general name for any graphic that doesn’t change (unless edited). It is static compared to a video clip in that it does alter with the passage of time. Digital Camera Hardware required to capture an image. Digital cameras store images as bit map ie. a grid of pixels. Inside at the back of the camera is a grid/array of small circuits called Charge Coupled Devices (CCDs). This is basically a grid of light sensitive cells. Each cell measures how much red, green and blue light there was when a photograph is taken. Each CCD stores information about one pixel.

MM Topic 2 - Bit mapped and Vector Graphics Data 2 An analogue to digital converter (ADC) changes the amount of light into electrical format which is then stored in binary. The image can be viewed on the camera’s screen and can be deleted if required. The image is stored on a memory card – they can store a lot of information, are small and portable. The card can be taken to a shop where a special reader can be used to produce the photographs. Special effects or changes can be applied to the image using photo editing software on a computer. The images can be printed. Disadvantages – special paper required and a lot of ink is used.

MM Topic 2 - Bit mapped and Vector Graphics Data 3 Scanner (Flatbed or handheld) Flatbed Scanner The document to be scanned is placed on a glass plate. Below the plate a lamp is used to illuminate the page. A scan head moves slowly across the page. The amount of light reflected is focused through a lens onto a line of CCDs (linear CCDs). The ADC converts the amount of reflected light into electrical format then this is stored as binary. Once one line has been scanned, it is sent to the computer’s RAM and displayed on the monitor. The scan head moves down and scans the next line. The process is repeated until the whole document has been scanned.

MM Topic 2 - Bit mapped and Vector Graphics Data 4 Bit Mapped Graphic – one that is stored dot by dot called pixels (short for picture element) To be able to represent colours, a computer must use more than one bit per pixel. The number of bits in each pixel is called the colour depth or bit depth. Colour depth of three – 8 colours Binary Code Colour 000white 001cream 010yellow 011brown 100blue 101red 110 grey 111black Rule To Learn The number of colours = 2 bit depth Eg a bit depth of 5 would give 2 5 colours = 2x2x2x2x2 = 32 colours

MM Topic 2 - Bit mapped and Vector Graphics Data 5 True Colour – when a bit mapped image uses 24 bits (3 bytes) for each pixel (approx 16 million colours). This is reckoned to be the number of colours perceived by the human eye. All displayed colours are made up of the three primary colours – Red, Green and Blue (RGB). The first byte in true colour contains details about the amount of red, the second byte stores the amount of green and the third byte the amount of blue. Each pixel contains a binary code but how can this be translated into a colour? Colour Look Up Table (CLUT) or Indexed Colour A CLUT is a table of colours. Each colour has an index position eg. Red might be in position 5. The binary code in each pixel represents a numbered entry in the table. The computer looks at each pixel, looks at what index entry is contained in that pixel then the colour in that position.

MM Topic 2 - Bit mapped and Vector Graphics Data 6 Compression Bit mapped files can be very large because of the number of pixels and large colour depth. Compression – to reduce the size of a file either by; using an algorithm (mathematical calculation) or using a special piece of software designed to make files smaller or by saving a file in a format that compresses data. Two types of compression; Lossy – when a file is reduced some data is lost in the process. The compressed file is of poorer quality. Lossless – when a file is reduced no data is lost. The data is simply stored more efficiently.

MM Topic 2 - Bit mapped and Vector Graphics Data 7 Compression cont. Run Length Encoding (RLE) Built in form of compression. In many images there are larges stretches of adjacent pixels that are exactly the same colour. In RLE the number of pixels a colour stretches for is stored in a special byte called a keybyte instead of storing each of these pixels separately.

MM Topic 2 - Bit mapped and Vector Graphics Data 8 2. LZW technique used. Looks for repeating data. Continuous blocks of identical colours are stored more efficiently. Eg. Instead of storing ‘red, red, red, red, red’ - ‘5 red’ is stored in a dictionary of patterns then pointers are used to point to the dictionary. GIF reduces the file size in two ways; 1. Bit depth is reduced to 8 (256 colours). GIF not used for photographs. Lossless – no data is lost in compression. Advantages; 1. Each colour only needs to be stored once 2. The pointers to the dictionary entries take up less memory than binary codes for colours. 3. The dictionary is not stored with the file, but is generated by the piece of software being used to open the image. GIF (Graphics Interchange Format) for storing compressed graphics

MM Topic 2 - Bit mapped and Vector Graphics Data 9 GIF – additional features Transparency – areas of the image are transparent. Animation – GIF images can be played one after the other as an animation. GIF format used on web pages – two versions available; 1. Non-interlaced – the picture downloads on e line of pixels at a time and gradually builds the image up. The image can take a while to appear especially with dial-up connections. 2. Interlaced – a fuzzy image of the whole picture is downloaded. More data is then received until the picture is completed and becomes clear. Good for larger images.

MM Topic 2 - Bit mapped and Vector Graphics Data 10 GIF format Good format for; Images with few colours. Images with flat areas of colour. Animated images. Images which need transparent areas. Poor format for; Photographs High quality pictures High quality videos

MM Topic 2 - Bit mapped and Vector Graphics Data 11 Compression cont. PNG (Portable Network Graphics) for storing compressed graphics Lossless – no data is lost in compression. Compresses by looking for adjacent colours but allows the user to vary the reduction of colours from 256 to 16 million. PNGs can be non-interlaced or interlaced Allows transparency PNG cannot be animated

MM Topic 2 - Bit mapped and Vector Graphics Data 12 JPEG (Joint Photographic Expert Group) for compressing files Compression cont. Main standard for compressing high quality images and photos Uses a mathematical formula to look for and remove colours that won’t be noticed by the human eye. Lossy compression The level of the compression can be varied to reduce file size further but quality may also be reduced. Does not support interlacing or transparency.

MM Topic 2 - Bit mapped and Vector Graphics Data 13 Technical Terms Dithering – uses a combination of colours to create an illusion of having additional colours. This improves the appearance of an image and simulates more colours than there are available. Anti-aliasing – the graphic has its edges slightly blurred and mixed with background colours to eliminate the jagged edges that can occur.

MM Topic 2 - Bit mapped and Vector Graphics Data 14 Calculating File Sizes File Size = Resolution x Colour Depth Height x Width or PixelsNumber of Bits

MM Topic 2 - Bit mapped and Vector Graphics Data 15 Output Hardware Inside the computer a graphics card has the task of generating the images. The card has the following components; GPU – to perform complex calculations each time a complex graphic is drawn freeing the computer’s main processor. Memory – called VRAM (video RAM) to store the images to be displayed instead of the computer’s RAM. More VRAM means higher colour depth and resolution. Digital to Analogue Converter (DAC) – converts the digital computer signal into an analogue electrical signal which can be displayed on the monitor. MonitorsCRT – Cathode Ray Tube LCD – Liquid Crystal Display TFT – Thin Film Transistor End of Topic 2

MM Topic 2 - Bit mapped and Vector Graphics Data 16 Vector Graphics Data Vector drawn graphics (object oriented graphics) works by creating objects (lines/shapes) and defining them mathematically. When that object is saved, all that is actually saved is a formula which describes that shape’s attributes. Common attributes of vector graphics objects; shaperotation positionline sizefill

MM Topic 2 - Bit mapped and Vector Graphics Data 17 Advantages of using Vector Drawn Graphics Can be scaled to large sizes, keeping original quality and file size. (Resolution Independent) Relatively small file sizes Individual objects can be edited. Easily converted to bitmapped

MM Topic 2 - Bit mapped and Vector Graphics Data 18 Drawbacks of using Vector Drawn Graphics Difficult to recreate realistic images. Only individual objects can be edited not pixel by pixel. Dependent on hardware & software for appearance & quality.

MM Topic 2 - Bit mapped and Vector Graphics Data 19 The most common standard file format for object- orientated graphics is called SVG (Scalable Vector Graphics). This is the format used for vector images that appear on the internet. The quality of a vector graphic is not affected when resized because; The vector graphics stores the attributes of each object and the object is drawn again at it new size. This means that it will always be displayed at the best possible resolution for the output device.

MM Topic 2 - Bit mapped and Vector Graphics Data 20 3D Vector Images A 3D vector image is store as a description with all the attributes associated with 2D images, such as type of shape, fill colour and dimensions. In addition other attributes need to be stored, and these include; the angle of rotation surface texture (bit mapped patterns to cover a surface) shadows

MM Topic 2 - Bit mapped and Vector Graphics Data 21 VRML (Virtual Reality Modelling or Mark-up Language) VRML is a standard for describing interactive three- dimensional vector images. VRML is capable of representing static and animated dynamic 3D and multimedia objects. Each object in the file is known as a node. The properties or attributes of the objects are known as the fields. WRL (World Representation Language) is a file type for 3D vectors.