Notes on the color table and indexed color concept

Slides:



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

Skills: none Concepts: the amount of information in an image This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
CSE 803: image compression Why? How much? How? Related benefits and liabilities.
Roger Cheng (JPEG slides courtesy of Brian Bailey) Spring 2007
CS110: Computers and the Internet Color and Image Representation.
01/31/02 (C) 2002, UNiversity of Wisconsin, CS 559 Last Time Color and Color Spaces.
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,
CS559-Computer Graphics Copyright Stephen Chenney Image File Formats How big is the image? –All files in some way store width and height How is the image.
Page 18/30/2015 CSE 40373/60373: Multimedia Systems 4.2 Color Models in Images  Colors models and spaces used for stored, displayed, and printed images.
Department of Physics and Astronomy DIGITAL IMAGE PROCESSING
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.
1 Ethics of Computing MONT 113G, Spring 2012 Session 11 Graphics on the Web Limits of Computer Science.
Image Formation CS418 Computer Graphics John C. Hart.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
1 Real-World File Structures by Tom Davis Asst. Professor, Computer Science St. Edward's University 3001 South Congress Avenue Austin, Texas 78704
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
Digital Image Formats: An Explanation Guilford County SciVis V
CS 111 – Sept. 10 Quiz Data compression –text –images –sounds Commitment: –Please read rest of chapter 1. –Department picnic next Wednesday.
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:
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
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.
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
A New Operating Tool for Coding in Lossless Image Compression Radu Rădescu University POLITEHNICA of Bucharest, Faculty of Electronics, Telecommunications.
CSCI-100 Introduction to Computing Hardware Part II.
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…
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
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.
Digital Image Formats: An Explanation Guilford County SciVis V
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
2D drawing basics For CSE 3902 By: Matt Boggus. Overview 2D coordinate systems Raster images Sprite drawing in XNA.
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.
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
8th Lecture – Intro to Bitmap or Raster Images
Computer Systems Nat 5 Computing Science Data Representation
Graphics and image data representation
Images and 2D Graphics COMP
Sampling, Quantization, Color Models & Indexed Color
Vocabulary byte - The technical term for 8 bits of data.
Computer Science Higher
Image Formats.
How to Convert Pictures into Numbers
Chapter 3 Graphics and Image Data Representations
Graphics Bitmap Vector
Sci Vis I Exam Review Unit 6 File Formats.
1.01 Investigate graphic types and file formats.
Data Compression.
Vocabulary byte - The technical term for 8 bits of data.
2D Drawing Basics 1.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Image File Size and File Compression
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Digital Image Formats: An Explanation
Introduction to Computer Graphics
Representing Images 2.6 – Data Representation.
1. Explain how ASCII is used to represent text in a computer system
Image Processing, Leture #16
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
Image Compression Purposes Requirements Types
GRAPHICAL DATA EXCHANGE FORMATS .jpg .gif .tif.
Computer Systems Nat 4.5 Computing Science Data Representation
Real-World File Structures
Compression.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presentation transcript:

Notes on the color table and indexed color concept CSE 232 Spring 2003 Notes on the color table and indexed color concept 11/18/2018 Stockman CSE/MSU S03

General idea Images can consume a large amount of storage space – in main or disk memory Gray scale or labeled image needs only small integer pixels ([0, 255] range is good) RGB color image can be 3X as large Can use a color table to convert an integer label L to color code R[L], G[L], B[L] Just need to make a “table” so that color codes can be obtained using index L 11/18/2018 Stockman CSE/MSU S03

Color table: cheaper graphics image has 8-bit pixels each 8-bit number is an index into a color look up table can change colors without changing image 512 x 512 RGB image with 3x8-bit color values requires 750K Bytes. 512 x 512 8-bit codes = 256K Bytes + 256 x 3x8-bit color table =257K Bytes 11/18/2018 Stockman CSE/MSU S03

Color Table concept int pixel image (P2) Color table RGB pixel image (P3) 11/18/2018 Stockman CSE/MSU S03

GIF image format = image+table (plus other stuff) header information color table image pixels (up to 8 bits each) LZW compressed RGB data is stored in the color table and NOT in the image pixels themselves get good compression and ability to quickly change the colors there are only 256 different colors for any single image, but table RGB triples can be changed gif files are very good for line drawings 11/18/2018 Stockman CSE/MSU S03

ColorTable ADT model is an ADT array of up to 256 colors array index is an int in [0, 255], which we’ll call a “pseudo color” or “color index” operations are create, destroy, add new entry, (see P2 specs for others) 11/18/2018 Stockman CSE/MSU S03

Types of compression Lossless: no information is lost; every bit of the original image can be recovered. if an image has no more than 256 different color triples in it, then color table can exactly recreate it. Lossy: information is approximated; the original image cannot be recovered exactly. Suppose there are 1000 color triples in the original image but we replace each by the closest one of a set of 256 triples in color table; e.g. (218, 58, 150)  (220, 60, 150) 11/18/2018 Stockman CSE/MSU S03