Lesson Objectives Aims You should be able to:

Slides:



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

ISYS 3074 Graphics File Formats File formats have developed with applications. At least 50 currently in use. Examples include: GIF, JPEG, TIFF, BMP, DIB,
Color of (digital image) Raed S. Rasheed Agenda Color. Color Image. Color Models – RGB color model. – CMYK color model. – HSV and HSL color model.
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.
Text. Graphics Images – photos Animation Video Audio Text Copyright issues.
Nat 4/5 - Software Design and Development – Low Level Operations - 1 National 4/5 – Computing Science Information Systems Design and Development Media.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
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.
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Images Data Representation. Objectives  Understand the terms bitmap & pixel  Understand how bitmap images are stored using binary in a computer system.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
Image Representation. Objectives  Bitmaps: resolution, colour depth and simple bitmap file calculations.  Vector graphics: drawing list – objects and.
Still-image compression Moving-image compression and File types.
Chapter 4: Representation of data in computer systems: Images OCR Computing for GCSE © Hodder Education 2011.
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.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Representing and Storing Graphics EXTENSION.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
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.
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.
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
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.
Representation of Data in Computer Systems
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Information Systems Design and Development Media Types Computing Science.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
OBJECTIVE AND OUTCOMES Objective: To be able to create images in binary format and understand the part metadata plays in recreating images. Outcomes:
Computer Systems Nat 5 Computing Science Data Representation
Unit 2.6 Data Representation Lesson 3 ‒ Images
Image and Sound Representation
Storing Graphics Nat 5 Data Representation Lesson 4a: Storing Graphics
DIGITAL MEDIA FOUNDATIONS
File Compression 3.3.
Images Data Representation.
Data Representation Images.
Representing images.
Denary to Binary Numbers & Binary to Denary
Computer Systems Nat 4/5 Data Representation Lesson 4:
Vocabulary byte - The technical term for 8 bits of data.
Computer Science Higher
How to Convert Pictures into Numbers
Lesson Objectives Aims You should know about: 1.3.1:
Graphics Bitmap Vector
File Compression 3.3.
BTEC NCF Dip in Comp - Unit 02 Fundamentals of Computer Systems Lesson 10 - Text & Image Representation Mr C Johnston.
Vocabulary byte - The technical term for 8 bits of data.
A computer display is made up of small squares, called pixels.
Learning Intention I will learn how a computer stores graphics.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
File size and image quality
Digital Image Formats: An Explanation
Data Representation.
Bitmap, Vector, Pixels, Resolution, Metadata.
Representing Images 2.6 – Data Representation.
Web Design and Development
MED 2001 Advanced Media Production
Topic 3: Data Compression.
1. Explain how ASCII is used to represent text in a computer system
Nuts and Bolts of Digital Imaging
Do Now! Convert the following sequence of bits into an image using the protocol we discussed (first 8 bits are lengthxwidth, Then fill in the rows pixel.
Multimedia System Image
Computer Systems Nat 4.5 Computing Science Data Representation
Basic Concepts of Digital Imaging
Computer Systems Nat 4/5 Data Representation Lesson 4:
Binary CSCE 101.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.9 Data Compression.
WJEC GCSE Computer Science
Creating Digital Graphics
Presentation transcript:

Lesson Objectives Aims You should be able to: Explain the representation of an image as pixels encoded in binary Explain the need for Metadata: Height Width Colour Depth Discuss the effect of colour depth and resolution on the size of an image file

File types A “file” is simply a huge binary dump It doesn’t matter whether you’ve saved an image, word document, music… it’s all just binary So how does the computer know what that binary is?! What kind of data is it?

The answer Several ways: Meta data: File types File headers Meta Data Extra information added to a file to describe its content, features and attributes. E.g. Resolution, encoding used, compression type, dimensions…

The amount of data in an image will be dictated by: Image size The amount of data in an image will be dictated by: The resolution (number of pixels in a given space) The colour depth The encoding method used The type of file and any meta data it stores (RAW vs JPG for example)

File Types Type Common File Types Lossy/Lossless Compressed? Images JPG Lossy Yes GIF BMP Lossless No PNG Sound WAV MP3 FLAC Text TXT N/A DOCX RTF Video MPEG MP4 MOV

June 2015 – Q2

Compression Files, especially music and images, can get very, very large This introduces the need for compression Compression: Reduces the FILE size Removes unnecessary information The file can still be reproduced even the size has reduced Can be Lossy or Lossless

Compression Lossless Lossy The file size is reduced but no quality/information is lost The file can be reproduced exactly No compromise – file size reduced but quality/content unaffected Should result in a reduction in file size but may not be significant Lossy The file size is reduced but information/quality IS lost A trade off between quality and file size Only acceptable in certain situations Images Sound Video

June 2013 – Q8

Meta Data is usually included in image files to indicate: The dimensions (width, height) The type of compression used The colour depth of the image Can contain lots of detail – EXIF…

Encoding All pictures are made up of pixels

The number of pixels in an image or on a screen is it’s “Resolution.” E.g. HD TV = 1920 x 1080 = 2,073,600 pixels per image. This explains why there is a need for compression – images contain a LOT of data! Important – resolution is a measure of pixels in a given space (the concentration). 1920x1080 will look amazing on a 15” display and awful on a 60” display – why?

Each pixel can then be “encoded” to represent its colour. Colour is made on computers by mixing different amounts of Red, Green and Blue

The number of bits used to represent each colour will determine the “colour depth” of the image This is the number of colours that can be displayed – and will affect the quality or “realism” of the final image.

Colour Depth 1-bit colour (21 = 2 colours): monochrome, often black and white, compact Macintoshes, Atari ST. 2-bit colour (22 = 4 colours): CGA, gray-scale 4-bit colour (24 = 16 colours): as used by EGA and by the least common denominator VGA standard at higher resolution, 8-bit colour (28 = 256 colours): most early colour Unix workstations, VGA at low resolution, Super VGA 16 - Bit 24 - Bit 32 - Bit

Colour Depth

At its most basic, we can encode an image simply as a stream of bits: Encoding At its most basic, we can encode an image simply as a stream of bits: =1,0,0,0,0,0,1,0 =0,1,0,0,0,1,0,0 =0,0,1,0,1,0,0,0 =0,0,0,1,0,0,0,0

Because of the amount of repetition, we can compress this using “run length encoding” – one example of lossless compression. =1,5,1,1 =1,1,3,1,2 =2,1,1,1,3 =3,1,4

Specimen Paper

Jan 2012 – Q5

Further exam questions Jun-13 Compression 8a May-11 3c Jun-15 Compression - Lossy and Lossless 2b 8b Jun-15 File types 2a Jun-14 4c Jan-13 2 May-12 File Types 4 May-11 3b Jan-12 File Types - Bitmaps 5