Image Formats and Files Jung-Ming Wang

Slides:



Advertisements
Similar presentations
Outline For Image Processing A Digital Image Processing System Image Representation and Formats 1. Sensing, Sampling, Quantization 2. Gray level and Color.
Advertisements

Image Data Representations and Standards
 Vector data- making polygons, outlines, like coastline.
Digital Audio, Image and Video Hao Jiang Computer Science Department Sept. 6, 2007.
Images and MATLAB Source of images: Science&subcategory=Digital Image Processing&isbn=
Images.
Vector vs. Bitmap SciVis V
Introduction to Computers Section 11A. home Types of Graphics File Bitmap Vector.
File Formats By Jack Turner. Raster (Bitmap) Raster or bitmap is a dot matrix data structure, containing columns of dots and rows, of a graphics image.
V Obtained from a summer workshop in Guildford County July, 2014
Digital Images. Scanned or digitally captured image Image created on computer using graphics software.
BINARY LOGIC AND IMAGES… There I will shows you all information I found on internet about binary logic and images…
1 GFI Files Graphics Interchange Format. 2 GIF History  CompuServe developed 1987 Versions 87a, V89a Because there was no standard.
01/31/02 (C) 2002, UNiversity of Wisconsin, CS 559 Last Time Color and Color Spaces.
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.
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.
School of Computer Science & Information Technology G6DPMM - Lecture 4 Graphics & Still Image Representation.
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.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Vector vs. Bitmap
September 21, COMPUTER VISION WEB PAGE IS UP !! OR Simply go to computer science homepage.
1 Image Formats. 2  To be able save image data for future manipulation and display we need to be able to store it in a consistent manner  Formats enable.
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.
Graphic File Formats Week 11 Lecture 1. Graphic File Formats Standardized ways to organise and store image data Image files are made up of picture elements.
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.
Digital Image Formats: An Explanation Guilford County SciVis V
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
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.
Chapter 12 Web Publishing. Goals Become an image optimization master Get a handle on Web file formats, including SVG and SWF Learn about Web image color.
Mirjana Devetakovic, M.Sc. CAAD - Images Beograd, 2011.
Raster Graphics 2.01 Investigate graphic image design.
Task 3 Store and Present Your Digital Entry Guidance Notes.
Data compression. lossless – looking for unicolor areas or repeating patterns –Run length encoding –Dictionary compressions Lossy – reduction of colors.
Graphics Concepts Presentation
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
Digital Image Formats: An Explanation Guilford County SciVis V
Scanner Scanner Introduction: Scanner is an input device. It reads the graphical images or line art or text from the source and converts.
Guilford County SciVis V104.03
Implementing JPEG Encoder for FPGA ECE 734 PROJECT Deepak Agarwal.
Digital Basics Quiz Preparation. Basic Digital Image Concepts Aliasing & Anti‐aliasing Resolution Compression Raster & Vector Color mode & Image mode.
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
Images and Graphics.
8th Lecture – Intro to Bitmap or Raster Images
Common Bitmap Image File Types
Sampling, Quantization, Color Models & Indexed Color
Computer Science Higher
Vector vs. Bitmap.
Digital 2D Image Basic Masaki Hayashi
2.01 Investigate graphic image design.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Image File Size and File Compression
Digital Images.
Digital Image Formats: An Explanation
Software Equipment Survey
1.01 Investigate graphic types and file formats.
EEE3112 Introduction to Multimedia Application & Technology Chapter 1: Image Development by Muhazam Mustapha, September 2012.
Graphics Basic Concepts.
Representing Images 2.6 – Data Representation.
MED 2001 Advanced Media Production
2.01 Investigate graphic image design.
Nuts and Bolts of Digital Imaging
COMS 161 Introduction to Computing
Image Compression Techniques
Basic Concepts of Digital Imaging
2.01 Investigate graphic image design.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
2.01 Investigate graphic image design.
Presentation transcript:

Image Formats and Files Jung-Ming Wang

Vector vs. Raster Images Vector images –Preserving sharpness after rescaling –Not good for natural scenes –Hard to construct Raster images –Contrastively

Raster Image Formed by a digital camera 數位影像

Pixel Resolution N pixels high by M pixels wide → M×N 灰階圖像 M N

Color Depth Number of bits for a single pixel –1-bit color: black and white –8-bit color: gray-scale –24-bit color: true color

File Format Header: characteristics of the image –Size, color map, compression method, …… Data value: –Pixel values, index values Common formats –BMP, GIF, PNG, JPEG, TIFF ……

Hexadecimal Dumps Image file is often saved as a binary file. Binary file can be shown in hexadecimal dump.

BMP Format BMP header format

BMP Example

Little-Endian More significant bit is stored in larger memory address. –3d → d → 3x16+d →61 Little-endianness: Intel, AMD Big-endianness: Sun, Motorola On Holy Wars and A Plea for Peace –Computer, pp , Oct 1981

GIF Format

GIF Example

PNG Format LZW (Lempel-Ziv-Welch) algorithm (1978) Patents of Sperry, Unisys, and IBM (1983) LZW published by Welch (1984) GIF announced by CompuServe (1987 & 1989) Unisys’ patent enforcement (1994) “Burn All GIFs” campaign (1999) Patents expired ( )

JPEG Format Encoding using DCT (Discrete Cosine Transform) A Fourier-related transform Fourier transform simulator –

Steps of JPEG Compression Splitting the image into blocks of 8×8 pixels Applying DCT to each block Storing the magnitudes of the low- frequency components

Example: Shift values Apply DCT Quantization

TIFF Format A flexible, adaptable file format for handling images within a single file Color space: grayscale, RGB, YCbCr, CMYK, …… Compression: raw data, LZW, JPEG, ….. Copyright holder: Aldus → Adobe

TIFF header

Reading Image File C/C++ programming Visual programming Matlab

C/C++ Programming Example:

Reading header information

Visual Programming

References view.php?id=136

Homework Design a program to input and output a color image. –You may download the program “bmp_io.rar” from –Transform a color image C(R,G,B) into a grayscale image I by I = (R+G+B)/3.