Image Display & Enhancement Lecture 2 Prepared by R. Lathrop 10/99 updated 1/03 Readings: ERDAS Field Guide 5th ed Chap 4; Ch 5:137-153; App A Math Topics:

Slides:



Advertisements
Similar presentations
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Advertisements

Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
ECE 472/572 - Digital Image Processing Lecture 10 - Color Image Processing 10/25/11.
Chapter 3 Image Enhancement in the Spatial Domain.
AMwww.Remote-Sensing.info Ch 5. Initial Display Alternatives and Scientific Visualization
Digital Imaging and Image Analysis
Lecture 2 Describing Data II ©. Summarizing and Describing Data Frequency distribution and the shape of the distribution Frequency distribution and the.
HISTOGRAM TRANSFORMATION IN IMAGE PROCESSING AND ITS APPLICATIONS Attila Kuba University of Szeged.
HISTOGRAM TRANSFORMATION IN IMAGE PROCESSING SHINTA P TEKNIK INFORMATIKA STMIK MDP 2011.
Bit Depth and Spatial Resolution SIMG-201 Survey of Imaging Science © 2002 CIS/RIT.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
Images and colour Colour - colours - colour spaces - colour models Raster data - image representations - single and multi-band (multi-channel) images -
Introduction to Digital Data and Imagery
1 DICOM Imaging Pipeline Model Cor loef Philips Medical Systems.
Colour Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Maa Kaukokartoituksen yleiskurssi General Remote Sensing Image enhancement I Autumn 2007 Markus Törmä
Spectral contrast enhancement
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-2 CAD Systems Industrial Engineering Department King Saud University.
Digital Images The digital representation of visual information.
Spatial-based Enhancements Lecture 3 prepared by R. Lathrop 10/99 updated 10/03 ERDAS Field Guide 6th Ed. Ch 5: ;
Image processing Second lecture. Image Image Representation We have seen that the human visual system (HVS) receives an input image as a collection of.
Image Display & Enhancement Lecture 2 Prepared by R. Lathrop 10/99 updated 1/03 Readings: ERDAS Field Guide 5th ed Chap 4; Ch 5: ; App A Math Topics:
Digital Images Chapter 8, Exploring the Digital Domain.
Objective Understand concepts used to create digital graphics. Course Weight : 15% Part Three : Concepts of Digital Graphics.
Digital Terminology. Bitmap A representation consisting of rows and columns of dots of a graphic image stored in computer memory. To display a bitmap.
Colours and Computer Jimmy Lam The Hong Kong Polytechnic University.
GEOG2021 Environmental Remote Sensing
Price Ch. 2 Mapping GIS Data ‣ GIS Concepts GIS Concepts Ways to map data Displaying rasters Classifying numeric data.
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
Guilford County SciVis V Applying Pixel Values to Digital Images.
Remote Sensing and Image Processing: 2 Dr. Hassan J. Eghbali.
Seeram Chapter #3: Digital Imaging
CS6825: Point Processing Contents – not complete What is point processing? What is point processing? Altering/TRANSFORMING the image at a pixel only.
Image Processing Image Histogram Lecture
Camera Film-Filter Systems Lecture 4 Prepared by R. Lathrop 9/99 Updated 9/06.
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel:
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
What is an image? What is an image and which image bands are “best” for visual interpretation?
7 elements of remote sensing process 1.Energy Source (A) 2.Radiation & Atmosphere (B) 3.Interaction with Targets (C) 4.Recording of Energy by Sensor (D)
Lecture 3 The Digital Image – Part I - Single Channel Data 12 September
Remote Sensing and Image Processing: 4 Dr. Hassan J. Eghbali.
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Image Display & Enhancement
Environmental Remote Sensing GEOG 2021 Lecture 2 Image display and enhancement.
ERDAS 1: INTRODUCTION TO ERDAS IMAGINE
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
CS 101 – Sept. 14 Review Huffman code Image representation –B/W and color schemes –File size issues.
Applying Pixel Values to Digital Images
Remote Sensing Image Enhancement. Image Enhancement ► Increases distinction between features in a scene ► Single image manipulation ► Multi-image manipulation.
Data Models, Pixels, and Satellite Bands. Understand the differences between raster and vector data. What are digital numbers (DNs) and what do they.
Sci Vis I Exam Review Most Missed Review Questions.
Digital Image Processing
Digital Image Processing Lecture 4: Image Enhancement: Point Processing January 13, 2004 Prof. Charlene Tsai.
Chapter 3 Color Objectives Identify the color systems and resolution Clarify category of colors.
NOTE, THIS PPT LARGELY SWIPED FROM
Data Analysis. Statistics - a powerful tool for analyzing data 1. Descriptive Statistics - provide an overview of the attributes of a data set. These.
Introduction to Digital Image Analysis Kurt Thorn NIC.
Image Enhancement Band Ratio Linear Contrast Enhancement
Initial Display Alternatives and Scientific Visualization
Images Data Representation.
Data Representation Images.
Binary Notation and Intro to Computer Graphics
Color on Remotely Sensed Imagery
Digital Data Format and Storage
7 elements of remote sensing process
Ch2: Data Representation
Digital Image Processing
Presentation transcript:

Image Display & Enhancement Lecture 2 Prepared by R. Lathrop 10/99 updated 1/03 Readings: ERDAS Field Guide 5th ed Chap 4; Ch 5: ; App A Math Topics:

Digital Images Digital Number (DN) or Brightness Value (BV) - the tonal gray scale expressed as a number, typically 8-bit number (0-255) Dimensionality - determined by the number of data layers (bands) Measurement Vector of a pixel - is the set of data file values for one pixel in all n bands

Digital Image bit DN Multiple spatially co-registered bands, can be displayed singly in B&W or in color composite Band 1 Band 2 Band 3

Image Notation i = row (or line) in the image j = column k, l = bands of imagery Bv ijk = BV in row i, column j of band k n = total # of pixels in an array Rows = i = 4 Columns = j = 5

Calculating disk space [ ( (x * y * b) * n) ] x 1.4 = output file size where: y = rows x = columns b = number of bytes per pixel n = number of bands 1.4 adds 30% for pyramid layers and 10% for other info

Digital Image Storage Formats Band sequential (BSQ) - each band contained in a separate file Band interleaved by line (BIL) - each record in the file contains a scan line (row) of data for one band, with successive bands recorded as successive lines Band Interleaved by Pixel (BIP)

Image Display Computer Display Monitor has 3 color planes: R, G, B that can display DN’s or BV’s with values between layers of data can be viewed simultaneously: 1 layer in Red plane 1 layer in Green plane 1 layer in Blue plane

Image Display: RGB color compositing Red band DN Blue band DN Red band DN = 0 Blue band DN = 200 Green band DN Green band DN = 90 Blue-green pixel (0, 90, 200 RGB)

Landsat MSS bands 4 and 5 GREEN RED

Landsat MSS bands 6 and 7 INFRARED 2INFRARED 1 Note: water absorbs IR energy-no return=black

combining bands creates a false color composite red=vegetation light blue=urban black=water pink=agriculture Rutgers Manhattan Philadelphia Pine barrens Chesapeake Bay Delaware River MSS color composite

Primary Colors Red Green Blue

Subtractive Primary Colors Yellow (R+G) absence of blue Cyan (G+B) absence of red Magenta (R+B) absence of green

Color Additive Process: the way a computer display works R G B M Y C W Black background

YC M R G B B Color Subtractive Process: the way paint pigment works White background

Additive Color Process colorRGB white black000 grey red25500 yellow cyan magenta orange dark blue00100

Summarizing data distributions Frequency distributions - method of describing or summarizing large volumes of data by grouping them into a limited number of classes or categories Histograms - graphical representation of a frequency distribution in the form of a bar chart

Summarizing Data Distributions: Histograms 0255 Digital Number # of pixels

Measures of Central Location Mean - simple arithmetic average, the sum of all observations divided by the number of observations Median - the middle number in a data set, midway in the frequency distribution Mode - the value that occurs with the greatest frequency, the peak in a histogram

Measures of Central Location 0255 Digital Number # of pixels Mode Mean Median

Measures of Dispersion Range - the difference between the largest and smallest value Variance - the average of the squared deviations between the data values and the mean Standard Deviation - the square root of the variance, in the units of data measurement

Measures of Dispersion: Range Digital Number # of pixels Min = 60 Max = 200 Example: Range = (max - min) = = 140

Image Restoration and Enhancement

Image spectral enhancement Digital Number # of pixels Min = 0Max = 255 Image display devices typically operate over a range of 256 gray levels. Ideally the image data ranges over this full extent.

Image spectral enhancement However, sensor data in a single band rarely extend over this entire range, resulting in a loss of contrast. The objective of spectral enhancement is to determine a transformation function to improve the brightness, contrast and color balance and thereby enhance image interpretability. No data Digital Number # of pixels Min = 50 Max = 200

Image spectral enhancement: lookup tables Image file values are read into the image processor display memory. These values are then manipulated for display by specifying the contents of the 256 element color look-up- table (LUT). By changing the LUT, the user can easily change the output display without changing the original file DN values. Data File Green band DN = 100 LUT Green band DN = 190 Enhanced Green pixel Display DN = 190 Input LUT Output

Image spectral enhancement: Lookup tables Since the same transformation function is used for all the pixels in the image, it is calculated for all possible DN before processing the image. The resulting values of DN are stored in a lookup table (LUT). All possible values are computed only once - computationally efficient. Each pixel’s DN is then used to index the LUT to find the appropriate DN’ in the output image

LUT Input-Output relationship: ideal Output DN Input DN Input = 127 Output = 127 From ERDAS Imagine Field Guide 5th Ed. 1-to-1 transformation function

Transformation function Output DN Input DN The steeper the transformation line -> the greater the contrast stretch

Image spectral enhancement: NO contrast stretch

Image spectral enhancement: Min-max linear contrast stretch

Linear transformation function The steeper the transformation line -> the greater the contrast stretch Output DN Input DN Input min = 60 Output min = 0 Input max = 158 Output max = 255

Image spectral enhancement: Min-max linear contrast stretching Linear stretch: uniform expansion, with all values, including rarely occurring values, weighted equally DN’ = [(DN - MIN)/(MAX - MIN)] x 255 Example: DN = 108 DN’ = [( ) / ( )] x 255 = [48 / 98] x 255 =.49 x 255 = 125 Example from Lillesand & Kiefer, 2nd ed

Image spectral enhancement: Std. Dev. linear contrast stretching If data histogram near normal, then 95% of the data is within +- 2 std dev from the mean, 2.5% in each tail 0255

Image spectral enhancement: Histogram stretching Histogram stretch: image values are assigned to the display LUT on the basis of their frequency of occurrence greatest contrast near mode least contrast in histogram tails Example from Lillesand & Kiefer, 2nd ed

Histogram stretching Output DN Input DN Input min = 60 Output min = 0 Input max = 158 Output max = 255 Nonlinear function in tails of distribution

Image spectral enhancement: Contrast stretching Special stretch: display range can be assigned to any particular user-defined range of image values Example from Lillesand & Kiefer, 2nd ed

Special piecewise stretching Output DN Input DN Different sections of the input data stretched to different extents; I.e. different pieces of the transformation function line with different slopes

Simple Image Segmentation Simplifying the image into 2 classes based on thresholding a single image band, so that additional processing can be applied to each class independently < DN threshold = Class 1 >= DN threshold = Class 2 Example: gray level thresholding of NIR band used to segment image into land vs. water binary mask +