Unit 2.6 Data Representation Lesson 3 ‒ Images

Slides:



Advertisements
Similar presentations
Computer Systems Nat 4/5 Data Representation Lesson 4: Storing Graphics.
Advertisements

Graphics in the web Digital Media: Communication and Design
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.
Lesson Objectives Explain the representation of an image as a series of pixels represented in binary Explain the need for meta data to be included in the.
Bitmapped Images 27 th November 2014 With Mrs
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.
Bitmapped Images. Bitmap Images Today’s Objectives Identify characteristics of bitmap images Resolution, bit depth, color mode, pixels Determine the most.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
GCSE Computing#BristolMet Session Objectives#9 MUST identify the data needed for a computer to display an image correctly (metadata) SHOULD describe the.
© GCSE Computing Candidates should be able to:  explain the representation of an image as a series of pixels represented in binary  explain the need.
Module Code: CU0001NI Technical Information on Digital Images Week -2.
Objective Understand concepts used to create digital graphics. Course Weight : 15% Part Three : Concepts of Digital Graphics.
Vector vs. Bitmap
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 1. Data Representation Data Representation – Why do we use binary? simplicity,
Images Data Representation. Objectives  Understand the terms bitmap & pixel  Understand how bitmap images are stored using binary in a computer system.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
Graphics. Graphic is the important media used to show the appearance of integrative media applications. According to DBP dictionary, graphics mean drawing.
Representation of Images You need to know: (k) explain the representation of an image as a series of pixels represented in binary (l) explain the need.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Data Representation The storage of Text Numbers Graphics.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Representing and Storing Graphics EXTENSION.
COMPUTER GRAPHICS. Once you scan an image or take a picture with your digital camera, it becomes digitized. Made up of hundreds of thousands of pixels.
Resolution The resolution of an image is determined by the number of individually addressable points that make up the image, whether it is the number.
Graphics in a computers memory How a picture (i.e. a graphic) is stored in a computers memory A computer screen is made up of little dots, called PICture.
BINARY Toby Wilson. LEARNING OBJECTIVES  Be able to convert binary to denary  Be able to convert denary into binary  Be able to explain how computers.
Representation of Data in Computer Systems
Guilford County SciVis V104.03
Graphics Basic Concepts 1.  A graphic is an image or visual representation of an object.  A visual representation such as a photo, illustration or diagram.
OBJECTIVE AND OUTCOMES Objective: To be able to create images in binary format and understand the part metadata plays in recreating images. Outcomes:
UNITS OF MEASUREMENT 2.01 Understand Digital Raster Graphics.
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.
Text and Images Key Revision Points.
Computer Systems Nat 5 Computing Science Data Representation
Lesson Objectives Aims You should be able to:
Objective % Explain design concepts used to create digital graphics.
Image and Sound Representation
Storing Graphics Nat 5 Data Representation Lesson 4a: Storing Graphics
Images Data Representation.
Data Representation Images.
Representing images.
Computer Systems Nat 4/5 Data Representation Lesson 4:
Binary Representation in Audio and Images
Computer Science Higher
Vector vs. Bitmap.
Pixel, Resolution, Image Size
BTEC NCF Dip in Comp - Unit 02 Fundamentals of Computer Systems Lesson 10 - Text & Image Representation Mr C Johnston.
Learning Intention I will learn how a computer stores graphics.
GRAPHICS Source:
Images in Binary.
Data Representation.
Bitmap, Vector, Pixels, Resolution, Metadata.
Representing Images 2.6 – Data Representation.
What do these words mean to you?
Ch2: Data Representation
Summer Term Year 10 Slides
2.01 Understand Digital Raster Graphics
Nuts and Bolts of Digital Imaging
Computer Systems.
Web Programming– UFCFB Lecture 7
Computer Systems Nat 4.5 Computing Science Data Representation
Basic Concepts of Digital Imaging
Computer Systems Nat 4/5 Data Representation Lesson 4:
Objective % Explain design concepts used to create digital graphics.
WJEC GCSE Computer Science
Year 8 Unit 2 Bitmap Graphics
Presentation transcript:

Unit 2.6 Data Representation Lesson 3 ‒ Images

Objectives Understand how a bitmap graphic is made up of individual pixels Explain how each pixel is represented in binary Understand that the number of bits per pixel determines the number of available colours for an image Explain the need for image metadata Explain the relationship between file size and image resolution

Type of Digital Image Two main types: BITMAP - The page is divided into an invisible grid and each pixel is assigned a colour VECTOR Drawn by following a set of mathematical instructions Draw a circle radius: 6 pixels centre: 10, 10 line thickness: 1 pixel

Bitmap (or Raster) images Bitmap images are made up of PICture ELement or PIXELS A pixel is the smallest identifiable area of an image Each pixel is a single colour and is given a binary value which represents that colour e.g. 11000000 might equal Red A pixel’s colour can be changed by changing this value

Image resolution Resolution is the concentration of pixels within a specific area The area is defined by the image width and height in pixels e.g. 3264x2448 72dpi = screen resolution 300 dpi = print quality resolution 1x1 2x2 5x5 10x10 25x25 50x50 72x72 300x300

Creating an Image Each pixel is given a binary value Each value represents a different colour Using one bit per pixel allows only 2 values, 0 and 1 1 = Black, 0 = White 1

Increasing the number of colours More bits per pixel = more colour combinations 1 bit = 2 Colours 2 bits = 4 Colours 3 bits = 8 Colours 4 bits = 16 Colours How many bits per pixel required for 256 colours? 10 11 01 01 = 10 = 00 = 11 =

Colours and resolution vs File Size 20 pixels How does the number of colours affect file size? How does the size of the image affect file size? 20 pixels 8 colours

Colour or bit depth 8 bits per pixel = 28 = 256 colours Each pixel can represent a finite number of colours A pixel is attributed a number of n bits The number of combinations (2n) dictates the bit depth and therefore the number of colours that can be represented A higher bit depth gives a greater range of colour and a better quality of image 8 bits per pixel = 28 = 256 colours 16 bits per pixel = 216 = 65,536 colours 24 bits per pixel = 224 = 16,777,216 colours

Variation in quality Changing the colour depth of an image will affect the number of colours it can display, as shown below: 2 Colours 4 Colours 8 Colours 16 Colours 256 Colours 16.7m Colours

PBM monochrome images Store image dimensions Change ‘colours’ by changing binary values

181ml 126ml 61ml Colour values

Looking at colour codes Colour values of individual pixels are expressed as denary RGB values and in hexadecimal. Why not in binary in this instance? RGB (Red, Green and Blue) values range between 0-255. How many bits are required for 256 variations of each? How many bits altogether? In 32-bit colour what are the last 8 bits for?

Why file sizes don’t always add up DucksBMP: 1000 x 750 pixels 24 bit colour depth = 16m colours What is the file size in bytes and MB? Why is there a difference of 2,800 bytes?

Image metadata Metadata is data about data It is information other than image data that is stored with a file This will include: Colour depth in bits per pixel Resolution (Height and width in pixels) Date created Author How big is the DucksJPG file? Why is this different?

What have you learned? A bitmap graphic is made up of __________________ Each _______ is represented in binary The ________________________ determines the number of available colours for an image Image _________ holds data about the image such as ___________________________________________ The greater the _________ of the image, the greater the file size

Plenary A bitmap graphic is made up of individual pixels Each pixel is represented in binary The number of bits per pixel determines the number of available colours for an image Image metadata holds data about the image, such as colour depth, resolution, date created, author The greater the resolution of the image, the greater the file size

Metadata Certain information must be defined for the bitmap image, this is called METADATA (or data about data) Size of grid Width: 20 pixels Height: 20 pixels A term for 'data about data'. In other words metadata describes the structure of the data file and is usually located right at the start of the file. When a media player opens the file it looks for the metadata which describes the format of the file e.g. the file type, how many horizontal pixels are there, how many vertical pixels and the colour depth of the file. The media player reads the file and correctly displays the image.

Direct Colour By mixing the appropriate amount from each of the three colour channels you can get a variety of colours R G B α   FF 00 80 96 There is a 4th channel, called the alpha channel which handles transparency What gets stored for each pixel is just a combination of each channel Eg FFFFFF00 means the pixel is white 96008000 means the pixel is lilac 8 bit gives 256 colours Real life colour needs 15 or 16 bits 24-bit or “truecolor “gives over 16.7 million colours

Plenary Complete the binary representation for the following:

Plenary - Answer Complete the binary representation for the following: 1 0 0 1 1 0 0 1 0 1 0 0 0 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 1 0 1 0 0 0 1 0 0 1 0 0