Still-image compression Moving-image compression and File types.

Slides:



Advertisements
Similar presentations
Digital Color 24-bit Color Indexed Color Image file compression
Advertisements

Bitmapped Graphic Data
ISYS 3074 Graphics File Formats File formats have developed with applications. At least 50 currently in use. Examples include: GIF, JPEG, TIFF, BMP, DIB,
Computer Science 335 Data Compression.
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.
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.
Representing Images. Goals for Image Representation digitization & resolution digitization & resolution representing color representing color color depth.
Media File Formats Jon Ivins, DMU. Text Files n Two types n 1. Plain text (unformatted) u ASCII Character set is most common u 7 bits are used u This.
Video Data Topic 4: Multimedia Technology. What is Video? A video is just a collection of bit-mapped images that when played quickly one after another.
Compression Algorithms Robert Buckley MCIS681 Online Dr. Smith Nova Southeastern University.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
Video Basics. Agenda Digital Video Compressing Video Audio Video Encoding in tools.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
 Refers to sampling the gray/color level in the picture at MXN (M number of rows and N number of columns )array of points.  Once points are sampled,
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Bit-Mapped Graphic Data: Input (Capture) Hardware Multimedia – Section 2.
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.
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.
Image Processing and Computer Vision: 91. Image and Video Coding Compressing data to a smaller volume without losing (too much) information.
Data Compression. Compression? Compression refers to the ways in which the amount of data needed to store an image or other file can be reduced. This.
Vocabulary Words. 2-stage shutter release is a shutter release, that when pressed halfway, it activates the autofocus and the light meter of the camera,
Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text
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:
Digital Media Dr. Jim Rowan ITEC 2110 Bitmapped Images.
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.
1 Image Formats. 2 Color representation An image = a collection of picture elements (pixels) Each pixel has a “color” Different types of pixels Binary.
Graphics workshop Library and Information Services University of St Andrews.
An introduction to audio/video compression Dr. Malcolm Wilson.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Spring 2000CS 4611 Multimedia Outline Compression RTP Scheduling.
Compression  Data files compression  Music compression  Image and video compression.
Raster Graphics 2.01 Investigate graphic image design.
Class 9 LBSC 690 Information Technology Multimedia.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
Data compression. lossless – looking for unicolor areas or repeating patterns –Run length encoding –Dictionary compressions Lossy – reduction of colors.
Digital Images are represented by manipulating this…
 By Bob “The Bird” Fiske & Anita “The Snail” Cost.
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.
POWERPOINT PLUS 11/17/07 Class Notes. WHAT IS A PIXEL A pixel is a number that represents the intensity of light at a square spot in the picture. Pixels.
Comp 335 File Structures Data Compression. Why Study Data Compression? Conserves storage space Files can be transmitted faster because there are less.
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 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.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Information Systems Design and Development Media Types Computing Science.
An introduction to audio/video compression Prepared by :: Bhatt shivani ( )
Computer Graphics Lesson 2 July 12, 2005 Image Formats What are some formats you are familiar with? There are 4 basic image format types: Uncompressed.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Or, how to make it all fit! DIGITAL VIDEO FILES AND COMPRESSION STANDARDS.
Lesson Objectives Aims You should be able to:
File Compression 3.3.
Denary to Binary Numbers & Binary to Denary
Computer Science Higher
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
How to Convert Pictures into Numbers
File Compression 3.3.
2.01 Investigate graphic image design.
Data Compression.
File size and image quality
Representing Images 2.6 – Data Representation.
Web Design and Development
- orange white green - cyan - red - blue Example 1 24 bit RGB
2.01 Investigate graphic image design.
2.01 Investigate graphic image design.
Chapter 8 – Compression Aims: Outline the objectives of compression.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.9 Data Compression.
- orange white green - cyan - red - blue Example 1 24 bit RGB
Presentation transcript:

Still-image compression Moving-image compression and File types

“Moving” images Moving images are an illusion  If can project still images at around 50 images per second then most people perceive smooth motion.  Cine-cameras actually only capture 24 images.  Cine-projectors display black image between each of these 24  People’s brains perceive this as 48 frames per second Click image to view

Digital images formed from pixels

Screen resolution 118 Some types of bitmap image (eg BMP): Each pixel displayed on one pixel of monitor (best quality) But high-resolution screens (eg 1800 dots across screen) display picture smaller than low-res (720)

Changing resolutions  Image sent as 5 pixels / mm (!)  Screen can only display 4 pixels / mm  Display must interpolate (calculate) what colours to display  May need to display colours not actually in original image. ??

Compression 1024 x 768 image 1024 x bytes per pixel (for colour) 1024 x bytes per pixel = 2.3 Mbytes 1024 x bytes (RGB) per pixel = 2.3 Mbytes = around 10 minutes to download on dial-up line Full-screen images are very big Compression is "squeezing" the file size, often to 1/20th of its original size, without destroying too much of the image

 Lossless: Compression data is coded more efficiently, none is discarded  Run-length encoding (RLE)  Dictionary-code schemes Lossless Compression

 Method 1 - Used by PGN photos  "short code method" Lossless Compression But PNG must store (and transmit) code table with image data In a photo: if RED most common then red = shortest code if BLUE most common then blue = shortest code

Lossless Compression Method 2 - Used by JPEG RLE: Run Length Encoding - Record run-lengths of same-coloured values * (14 2 )

 Get big speed-up by working with blocks of 8 x 8 pixels. So, for each 8 x 8 block, find (a)what 'pattern' is the nearest match (b)what main colour or 2 colours of the pattern are Lossy Compression : JPEG JPG uses approx 4 codes per 64 pixels : ____ % saving! Can run-length encode the sequence of blocks ~ even further savings!

Moving image compression frame 1 frame 2 ( uncompressed ) frame 3 ( uncompressed ) (Uncompressed) (compressed) Need only send the bits of the images that change

Types of video format .MOV .MPEG 1 : CD quality  2 : DVD quality  4 : many settings  .WMV .3PG

Screen resolution 118 Some types of bitmap image (eg BMP): Each pixel displayed on one pixel of monitor (best quality) But high-resolution screens (eg 1800 dots across screen) display picture smaller than low-res (720)

Changing resolutions  Image sent as 5 pixels / mm (!)  Screen can only display 4 pixels / mm  Display must interpolate (calculate) what colours to display  May need to display colours not actually in original image. ??

Summary  Bitmap (Rastors) based on storing pixels of image  Uncompressed  huge  Problem of resolutions  Compression :  Lossless: can achieve some filesize reduction  Lossy: can achieve huge reductions, without  too noticeable changes in quality of image