CS654: Digital Image Analysis Lecture 18: Image Enhancement in Spatial Domain (Histogram)

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

Image Processing Lecture 4
CS & CS Multimedia Processing Lecture 2. Intensity Transformation and Spatial Filtering Spring 2009.
Chapter 3 Image Enhancement in the Spatial Domain.
Chapter - 2 IMAGE ENHANCEMENT
Digital Image Processing Lecture11: Histogram Processing.
Topic 4 - Image Mapping - I DIGITAL IMAGING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Intensity Transformations (Chapter 3)
EE663 Image Processing Histogram Equalization Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Digital Image Processing
Histogram Processing The histogram of a digital image with gray levels from 0 to L-1 is a discrete function h(rk)=nk, where: rk is the kth gray level nk.
Course Website: Digital Image Processing Image Enhancement (Histogram Processing)
ECE 472/572 - Digital Image Processing
Digital Image Processing Contrast Enhancement: Part II
6. Gray level enhancement Some of the simplest, yet most useful, image processing operations involve the adjustment of brightness, contrast or colour in.
Image Enhancement in the Spatial Domain
Image (and Video) Coding and Processing Lecture 5: Point Operations Wade Trappe.
Digital Image Processing
Digital Image Processing
Chapter 4: Image Enhancement
Image Enhancement by Modifying Gray Scale of Individual Pixels
Digital Image Processing & Pattern Analysis (CSCE 563) Intensity Transformations Prof. Amr Goneid Department of Computer Science & Engineering The American.
Lecture 4 Digital Image Enhancement
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
CS 376b Introduction to Computer Vision 02 / 25 / 2008 Instructor: Michael Eckmann.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
Lecture 2. Intensity Transformation and Spatial Filtering
Lecture 4 Digital Image Enhancement
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Digital Image Processing Contrast Enhancement: Part I
Image Processing Image Histogram Lecture
Point Operations – Chapter 5. Definition Some of the things we do to an image involve performing the same operation on each and every pixel (point) –We.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
Lecture Eight Matlab for spatial filtering and intro to DFTs Figures from Gonzalez and Woods, Digital Image Processing, Copyright 2002, Gonzalez, Woods,
Intensity Transformations (Histogram Processing)
CS654: Digital Image Analysis Lecture 30: Color Model Conversion.
Digital Image Processing CSC331 Image Enhancement 1.
CH2. Point Processes Arithmetic Operation Histogram Equalization
Digital Image Processing Part 2 Contrast processing.
Image Enhancement in Spatial Domain Presented by : - Mr. Trushar Shah. ME/MC Department, U.V.Patel College of Engineering, Kherva.
Lecture 02 Point Based Image Processing Lecture 02 Point Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing January 13, 2004 Prof. Charlene Tsai.
Digital Image Processing Image Enhancement in Spatial Domain
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
CS654: Digital Image Analysis Lecture 11: Image Transforms.
Digital Image Processing Lecture - 6 Autumn 2009.
Lecture Six Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, Copyright 2002.
Image Enhancement.
Digital Image Processing
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Fundamentals of Image Processing A Seminar on By Alok K. Watve
Lecture Five Figures from Gonzalez and Woods, Digital Image Processing, Second edition, Prentice-Hall,2002.
Image Enhancement in the
Digital Image Processing
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Histogram Probability distribution of the different grays in an image.
Digital Image Processing
Digital Image Processing
Histogram Equalization
Digital Image Procesing Introduction to Image Enhancement Histogram Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL.
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.
Digital Image Processing
Intensity Transformations and Spatial Filtering
Intensity Transform Contrast Stretching Y ← u0+γ*(Y-u)/s
Image Enhancement in Spatial Domain: Point Processing
Presentation transcript:

CS654: Digital Image Analysis Lecture 18: Image Enhancement in Spatial Domain (Histogram)

Recap of Lecture 17 Image enhancement Dynamic range Point processing Contrast stretching Intensity level slicing

Outline of Lecture 18 Image histogram Histogram stretching Histogram equalization Histogram specification

Histogram It is a graphical representation of the distribution of numerical data. It is an estimate of the probability distribution of a continuous variable Divide the entire range of values into a series of intervals Count how many values fall into each interval. The bins (intervals) must be adjacent, non-overlapping and are usually equal size

Example

Shape of histogram Symmetric, unimodalSkewed, rightSkewed, left BimodalMultimodalSymmetric

Intensity Histogram Histogram of the pixel intensity values. Number of pixels in an image at each different intensity value found in that image Demonstration

Basic types of images DarkLight Low-contrast High-contrast Images: Gonzalez & Woods, 3 rd edition

Histogram stretching Contrast is the difference between maximum and minimum pixel intensity. Histogram stretching increases contrast Failing of histogram stretching Histogram equalization Demonstration

PMF and CDF PMF: Probability of each number in the data set The count or frequency of each element. Monotonically increasing function CDF: cumulative sum of all the values that are calculated by PMF

Mapping functions Monotonically increasingStrictly Monotonically increasing Images: Gonzalez & Woods, 3 rd edition

Histogram Equalization Histogram equalization is used to enhance contrast. Not necessary that contrast will always be increase Some cases were histogram equalization can be worse

Uniform PDF generation Images: Gonzalez & Woods, 3 rd edition

Algorithm

Histogram Equalization Process 1.Calculate the PMF of the given image 2.Calculation of CDF 3.Multiply the CDF value with (Grey levels (minus) 1) 4.Map the new grey level values into number of pixels

Example IF(I)PMFCDFCDF * (L-1) ~LMapping Input image Equalized image

Example: Alternate method IF(I)CDFF(Id)CDF (Id) ~LMapping Input image Equalized image

Histogram Specification/ Matching Histogram equalization produces (in theory) image with uniform distribution of pixel intensities To enhance image based on a specified histogram: Histogram Specification Histogram matching: transform a given image into a similar image that has a pre-defined histogram A desired histogram can be specified according to various needs Allows interactive image enhancement

Steps of Histogram Specification

Example

Gray- level Input Image Mapping Specified Image PDFCDFPDFCDF

Example: Final result

Image quality metrics

Issues MSE=309MSE=306MSE=313 MSE=309MSE=308MSE=309

Thank you Next lecture: Image Enhancement: Spatial Filters