1 Imaging Techniques for Flow and Motion Measurement Lecture 2 Lichuan Gui University of Mississippi 2011 Digital Image & Image Processing.

Slides:



Advertisements
Similar presentations
Raster Graphics 2.01 Investigate graphic image design.
Advertisements

CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Raster graphics. Colour depth 01 1 bit pr pixel = 2 combinations (2 1 ): 2 bits pr pixel = 4 combinations (2 2 ): bits pr pixel = 16 combinations(2.
CS & CS Multimedia Processing Lecture 2. Intensity Transformation and Spatial Filtering Spring 2009.
Measurements in Fluid Mechanics 058:180 (ME:5180) Time & Location: 2:30P - 3:20P MWF 3315 SC Office Hours: 4:00P – 5:00P MWF 223B-5 HL Instructor: Lichuan.
July 27, 2002 Image Processing for K.R. Precision1 Image Processing Training Lecture 1 by Suthep Madarasmi, Ph.D. Assistant Professor Department of Computer.
Image Enhancement To process an image so that the result is more suitable than the original image for a specific application. Spatial domain methods and.
Image representation using arrays Image processing examples
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
Digital Audio, Image and Video Hao Jiang Computer Science Department Sept. 6, 2007.
Lecture 2. Intensity Transformation and Spatial Filtering
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.
Image and Sound Editing Raed S. Rasheed Image Image. Digital image. – Raster images. – Vector Images. – Stereo Images. – Image File Formats Lossless.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
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.
Homework Due CSC508.
Module Code: CU0001NI Technical Information on Digital Images Week -2.
1 Image Basics Hao Jiang Computer Science Department Sept. 4, 2014.
Graphics/Image Data Types
Image Storage Bitmapped Graphics – in which an image is represented as a collection of dots Vector Graphics – in which an image is represented as a set.
Digital Image: Representation & Processing (2/2) Lecture-3
Measurements in Fluid Mechanics 058:180:001 (ME:5180:0001) Time & Location: 2:30P - 3:20P MWF 218 MLH Office Hours: 4:00P – 5:00P MWF 223B-5 HL Instructor:
1 Computer Graphics Part 2: Images. 2 What is an image?  An image is the graphical and visual representation of some information that can be displayed.
Computer Science 101 Images in Web Pages. Image Files Two common formats, GIF and JPEG GIF images are more flexible for use as icons JPEG images are sharper.
September 21, COMPUTER VISION WEB PAGE IS UP !! OR Simply go to computer science homepage.
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.
Digital Image Processing HW1 Yi-Chun Wei Visual Communications Lab National Central University Mar. 2, 2012.
Information Processes and Technology Multimedia: Graphics.
CS112 Scientific Computation Department of Computer Science Wellesley College Numb3rs Number and image types.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
A BCDE.
Raster Graphics 2.01 Investigate graphic image design.
Page Design Issues IWM 14 Information Services for the Web.
COMPUTER GRAPHICS. Can refer to the number of pixels in a bitmapped image Can refer to the number of pixels in a bitmapped image The amount of space it.
CSCI-100 Introduction to Computing Hardware Part II.
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.
Digital Image Editing Presented by John Hohn. File Formats JPEG – Joint Photographic Experts Group PNP – Portable Network Graphics GIF – Graphic Interchange.
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.
Instructor: Mircea Nicolescu Lecture 4 CS 485 / 685 Computer Vision.
Lecture 27: Image Processing
Digital Graphics Vocabulary Texas State University CI5363 Florence Yang.
Digital Image Processing Image Enhancement in Spatial Domain
Chapter 1 Definitions & Basics of Digital Image 1.Image 2.Digital Image 3.Raster 4. Vector 5.Image Editing 1.
Scanner Scanner Introduction: Scanner is an input device. It reads the graphical images or line art or text from the source and converts.
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.
Mohammed AM Dwikat CIS Department Digital Image.
Introduction to Digital Image Analysis Kurt Thorn NIC.
13 June – Session : Graphics Different types of Graphics for the web Features of image editing software Good practice for image editing.
Red Green Blue (RGB) Colour conversions Y and RGB Link In the images, the lighter the colour intensity (Red, Green, Blue), the more the contribution.
Understanding Images. Pixels pixels Every image is made up of very small squares called pixels, and each pixel represents a color or shade. Pixels within.
Images and Graphics.
8th Lecture – Intro to Bitmap or Raster Images
Graphics and image data representation
Sampling, Quantization, Color Models & Indexed Color
2.01 Investigate graphic image design.
A computer display is made up of small squares, called pixels.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
1.01 Investigate graphic types and file formats.
Getting Image Data Image Data Files 11/15/2018
Web Design and Development
2.01 Investigate graphic image design.
COMS 161 Introduction to Computing
GRAPHICAL DATA EXCHANGE FORMATS .jpg .gif .tif.
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:

1 Imaging Techniques for Flow and Motion Measurement Lecture 2 Lichuan Gui University of Mississippi 2011 Digital Image & Image Processing

2 Digital Image

3 Images constitute a continuous spatial distribution of the irradiance at a plane. Computers cannot handle continuous images but only arrays of digital numbers. Digital images consist of pixels. Each pixel represents a square region of the image on a square grid. Pixel value (gray value) represents intensity of the irradiance – 1-bit: 0  1 – 8-bit: 0  255 –10-bit: 0  1,023 –12-bit: 0  4,095 –24-bit: 0  16,777,215 Bitmap data in file. Digital Image

4 Sufficient pixels make image look continuous Digital Image

5 Color models - True color model: (Red,Green,Blue)=(0  255, 0  255, 0  255) - Others: Palettes/look-up table (LUT)/color map/index map/etc. Digital Image

6 Physical & logical pixels

7 Digital PIV Image Sample PIV image example ( 50  50 pixels)  Left: displayed on a PC screen  Right: presented as a 2D-function G(x,y)

8 Digital Image 2D & 3D digital images

9 Digital Image Histogram (PDF) of digital image PDF – Probability density function

10 Pixel operation  Changing gray value of single pixel without considering the neighborhood Filter operation  Changing gray value of single pixel considering the neighborhood of (2r+1)  (2r+1) pixels Many others Digital Image Processing

11 Linear transformation Pixel Operation

12 Binary operation Pixel Operation

13 Threshold Pixel Operation

14 Pixel Operation Invert Square Root

15 Smooth filter r =2 Digital Filter

16 Gradient filter Digital Filter

17 Digital Filter Laplace filter

18 Digital Filter Regional normalization

19 Digital Filter (Removing) unsharp mask G’(x,y)G(x,y)

20 Digital Filter Median Expansion Erosion

21 Digital image files Device independent image files - Microsoft Windows Bitmap “*.bmp” - Tag Image File Format “*.tif” - Graphics Interchange Format “*.gif” - JPEG File Interchange Format “*.jpg” - Many others Device dependent image files - Raw image formats (e.g. *.raww) - TSI image file Format “*.img” - DANTEC image file format “*.img” - LAVISION image file format “*.img” - Others

22 Digital image files Basic components of a digital image –Header, Palette, Bitmap Data, Footer etc. Information in a bitmap header –File Identifier –File Version –Number of Lines per Image –Number of Pixels per Line –Number of Bits per Pixel –Number of Color Planes –Compression Type –X & Y Origin of Image –Text Description –Others –Unused Space

23 Digital image files Microsoft Windows Bitmap –14-byte file header (Version 2.x +) Byte 1  2File type, always 4D42h (“BM”); Byte 3  6Size of the file in bytes; Byte 7  8Reserved 1, always 0; Byte 9  10Reserved 2, always 0; Byte 11  14Starting position of image data in bytes. –Bitmap header Byte 1  4Size of this header in bits; Byte 5  8Image width in pixels;(2 bytes for version 2.x) Byte 9  12Image height in pixels; (2 bytes for version 2.x) Byte 13  14Number of color planes; Byte 15  16Number of bits per pixel; (end of version 2.x) Byte 17  20Compression methods used; Byte 21  24Size of bitmap in Bytes; Byte 25  28Horizontal resolution in pixels per meter; Byte 29  32Vertical resolution in pixels per meter; Byte 33  36Number of colors in the image; Byte 37  40Minimum number of important colors. (end of version 3.x) Up to 108 bytes for Version 4.x

Microsoft Windows Bitmap –Color Palette One-, 4-, and 8-bit BMP files always contain a color palette 24-bit BMP files never contain color palettes –A 124×124-pixel uncompressed 8-bit gray-scale BMP file File header:14 bytes Bitmap header:40 bytes Color palette:1024 bytes Bitmap data:15376 bytes Total size:16454bytes 24 Digital image files Homework: write a program to read gray values at the center and 4 corners of image “image01.bmp”