Digital Images are represented by manipulating this…

Slides:



Advertisements
Similar presentations
Introduction to Computer Graphics Raster Vs. Vector COMMUNICATION TECHNOLOGY.
Advertisements

Web Design Vocab 3 PNG, JPG, GIF, MP3, MPEG.
Image Data Representations and Standards
Madeleine Wright Peter Wentworth. » On your screen, or with light beams, colours are additive. » Each pixel is a mixture of Red, Green and Blue, the additive.
Raster graphics. Colour depth 01 1 bit pr pixel = 2 combinations (2 1 ): 2 bits pr pixel = 4 combinations (2 2 ): bits pr pixel = 16 combinations(2.
A Digital Imaging Primer Nick Dvoracek Instructional Resources Center University of Wisconsin Oshkosh.
From Image Capture to Digital Output. In looking at this we shall consider the following… Quantisation. Quantisation Error. Interpolation. Viewing images.
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.
Graphics in the web Digital Media: Communication and Design
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.
Bitmapped Images 27 th November 2014 With Mrs
An Introduction to Scanning and Storing Photographs and Graphics Bryn Jones Aug 2002
Data starts with width and height of image Then an array of pixel values (colors) The number of elements in this array is width times height Colors can.
Russell Taylor Week 3. Image File Formats - TIF, JPG, PNG, GIF - which to use? The three most common and important image file formats for for printing,
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)
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Color Names All standards-compliant browsers should handle these color names These color names can be used with the CSS properties of color and background-color.
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.
THE COLORS OF LIGHT RED, GREEN and BLUE
Image Storage Bitmapped Graphics – in which an image is represented as a collection of dots Vector Graphics – in which an image is represented as a set.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Digital Image: Representation & Processing (2/2) Lecture-3
Bit-Mapped Graphic Data: Input (Capture) Hardware Multimedia – Section 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.
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.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
Information Processes and Technology Multimedia: Graphics.
Image formats. Basic terminologies… Pixels: Pixels are the building blocks of every digital image. a pixel is a single point in a graphic image. Resolutions:
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 workshop Library and Information Services University of St Andrews.
44212: Web-site Development Optimising Images for Web-pages Ian Perry Room:C49 Extension:7287
Marr CollegeHigher ComputingSlide 1 Higher Computing: COMPUTER SYSTEMS Part 1: Data Representation – 6 hours.
Nov 111 Example Program DemoMouseInk.java. Nov 112 Example Program DemoMouseUnistrokes.java.
Which is the Pink Pen? Here is the Pink Pen (Example taken from
Web Graphics. Colours and Display Graphics and Modems 28.8kbps = 3.6 KB per second 36 KB takes 10 seconds to load. Pixels and color.
2D Graphics Theory & Principles. Single Point Smallest addressable area on screen or digital image.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Web Graphics. Web graphics Bandwidth is king Graphics must load quickly Graphics must be optimized All other components except for text, gif and jpg are.
Editing Images for the Web. Optimization/Compression Graphics optimization is important for fast web page display.
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.
Digital Image Editing Presented by John Hohn. File Formats JPEG – Joint Photographic Experts Group PNP – Portable Network Graphics GIF – Graphic Interchange.
Introduction to Images & Graphics JMA260. Objectives Images introduction Photoshop.
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.
HTTP transaction with Graphics HTML file + two graphics files.
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.
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
Understanding Web Graphics
Exploring Computer Science - Lesson 3-4
Exploring Computer Science - Lesson 3-4
Binary Representation in Audio and Images
Computer Science Higher
Digital Photo editing with Photoshop
How to Convert Pictures into Numbers
Chapter 3 Graphics and Image Data Representations
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.
Exploring Computer Science - Lesson 3-4
A computer display is made up of small squares, called pixels.
Hyperlinks, Images and Tables
An Introduction to Scanning and Storing Photographs and Graphics
Web Design and Development
COMS 161 Introduction to Computing
Hyperlinks, Images and Tables
Presentation transcript:

Digital Images are represented by manipulating this…

And this….

Meaning… Off

And…. On

Or rather.. 0zero And 1One (In fact this is true for everything we see in a computer system!)

1 Bit Images Use a single bit to represent each pixel (dot on the screen) 00101

Use more bits and display as a grid… The following image is 61 pixels wide by 57 pixels high

Quick Calculation of File Size Image width 800 pixels Image height 600 pixels 1 pixel = 1 bit, so image is 800 * 600 bits which is bits or divided by 8! (8 bits in a byte) gives us 60,000 bytes

Make the grid larger and pixels smaller… Here we have increased the image resolution by using more dots per inch (dpi) Increasing dpi means we are cramming in more dots per area of image.

This image is 512 pixels wide by 512 high This type of image may be referred to as a binary image since each pixel is stored as a single zero or one This kind of picture is also called a 1 bit monochrome image since it has no colour content

8 Bit Grey Scale Images Representing shades of grey… Now 1 pixel = 8 bits

200 & Fifty 6 Shades of Grey

File Size Calculations 800 x bit image = 480,000 bytes 800 x 600 = 480,000 pixels 1 pixel = 1 byte thus 480,000 bytes 8 x larger than 1 bit system

File Size Calculations 800 x bit colour = 1,440,000 bytes 800 x 600 = 480,000 pixels 1 pixel = 3 bytes thus 1,440,000 bytes 24 x larger than our first image (24 bit colour formats – JPEG, BMP)

24 Bit Colour Files getting larger We can now represent 16 million colours The human eye can only see 10 million of them Extra colours useful for image processing and special effects Colour resolution is the number of colours a single pixel may display

8 bit Colour Images and Look up Tables PixelRedGreenBlue 1 RGB(0,0,255) 0 (1 byte) 255(1 byte) 2 RGB(0,0,255) 0 (1 byte) 255(1 byte) 3 RGB(0,0,255) 0 (1 byte) 255(1 byte) 4 RGB(0,0,255) 0 (1 byte) 255(1 byte) No of bytes = 12 Draw four blue dots RGB Example

PixelLookup table entry 11 (1 byte) Table EntryRedGreenBlue 1 RGB(0,0,255) 0 (1 byte) 255 (1 byte) Reducing the number of bytes in this example from 12 to 7 The GIF and PNG formats uses a look up table Lookup Table Using a Lookup Table

PixelLookup table entry 11 (1 byte) (1 byte) Table EntryRedGreenBlue 1 RGB(0,0,255) 0 (1 byte) 255 (1 byte) 2 RGB(255,0,0) 255 (1 byte)0 (1 byte) Lookup Table Only Record Unique Pixel Data

Graphic Formats We will now look at a few common file formats BMP GIF JPG PNG

The Windows BMP Format OK for Windows based systems Not web friendly Not good for MAC / UNIX / Mobile Devices

Graphics Interchange Format (GIF) Pronounce “giff” or “jiff” is a very popular format on the Web This format was originally devised by CompuServe

GIFF and Colour Limited to 256 colours, so conversion from 16 million colours to the 256 colour GIF format will result in loss of colour resolution Makes use of a colour lookup table to store the colour information It only stores the colours that are in the image

Dithering and GIFs Used to fool the human eye that there is more detail than there really is! A The original unchanged image B 1 bit monochrome with dithering C 1 bit monochrome without dithering – note the loss of detail D 8 bit colour with dithering – note the speckled effect which is common to this process AB CD

GIFF, Dithering and Banding Without dithering a GIFF file tends to develop harsh transitions called banding.

Interlacing Images on the web normally drawn from top left to right down the image The GIFF format allows for a technique called interlacing which displays the image every eighth line at a time.

We get an idea of what the image looks like without downloading the whole file (useful for low bandwidth)

GIFF Transparency

Joint Photographic Experts Group JPEG / JPG A compression standard best applied to photographs or complex shading / lighting effects Stores a complete black and white version of the image and most of its colour information Not all of the colour information is retained, this makes JPEG a “lossy” format as some of the original image information is lost, especially in highly compressed files

When using graphics with large areas of similar colour the GIF format is a better choice.

Zoom in… The GIF is 2K, the JPEG is 15K.

However in photographs the JPEG is better

PNG Format Offers better compression than GIF – ranging from 10 – 30 % Is a lossless format so whatever colour data in the original will be present when viewed in the browser Is not limited to 256 colours with full RGB capabilities Supports interlacing Supports transparent colours