Basis beeldverwerking (8D040) dr. Andrea Fuster Prof.dr. Bart ter Haar Romeny Prof.dr.ir. Marcel Breeuwer dr. Anna Vilanova Histogram equalization.

Slides:



Advertisements
Similar presentations
Histogram Processing The histogram of a digital image with gray levels in the range [0, L-1] is a discrete function h(rk) = nk where rk is the kth gray.
Advertisements

Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
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.
Basis beeldverwerking (8D040) dr. Andrea Fuster Prof.dr. Bart ter Haar Romeny dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer The Fourier Transform II.
Image Histograms Cumulative histogram
Histogram Specification
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.
ECE 472/572 - Digital Image Processing
Image Enhancement in the Spatial Domain II Jen-Chang Liu, 2006.
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.
Intensity Transformations
SCCS 4761 Point Processing Basic Image Processing Operations Arithmetic Operations Histograms.
HISTOGRAM TRANSFORMATION IN IMAGE PROCESSING SHINTA P TEKNIK INFORMATIKA STMIK MDP 2011.
Image Enhancement by Modifying Gray Scale of Individual Pixels
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی دانلود جزوات کارشناسی ارشد نرم افزار علوم تحقیقات البرز دانشگاه آزاد کرج Karaj.unicloob.ir.
Digital Image Processing & Pattern Analysis (CSCE 563) Intensity Transformations Prof. Amr Goneid Department of Computer Science & Engineering The American.
Lecture 4 Digital Image Enhancement
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Digital Image Processing
CS 376b Introduction to Computer Vision 02 / 25 / 2008 Instructor: Michael Eckmann.
Image Enhancement.
Lecture 2. Intensity Transformation and Spatial Filtering
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr. Marcel Breeuwer Noise and 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.
CSC589 Introduction to Computer Vision Lecture 3 Gaussian Filter, Histogram Equalization Bei Xiao.
 Image Enhancement in Spatial Domain.  Spatial domain process on images can be described as g(x, y) = T[f(x, y)] ◦ where f(x,y) is the input image,
Histograms- HPP. What is homogeneous? Homogeneous point process treats all pixels the same. p'=f(p); // homogeneous point processing does not care about.
Manipulating contrast/point operations. Examples of point operations: Threshold (demo) Threshold (demo) Invert (demo) Invert (demo) Out[x,y] = max – In[x,y]
8D040 Basis beeldverwerking Feature Extraction Anna Vilanova i Bartrolí Biomedical Image Analysis Group bmia.bmt.tue.nl.
Basis beeldverwerking (8D040) dr. Andrea Fuster Prof.dr. Bart ter Haar Romeny dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer Convolution.
CS 376b Introduction to Computer Vision 02 / 22 / 2008 Instructor: Michael Eckmann.
Digital Image Processing Contrast Enhancement: Part I
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.
CIS 601 Image ENHANCEMENT in the SPATIAL DOMAIN Dr. Rolf Lakaemper.
CS654: Digital Image Analysis Lecture 18: Image Enhancement in Spatial Domain (Histogram)
Intensity Transformations (Histogram Processing)
CIS 601 – 04 Image ENHANCEMENT in the SPATIAL DOMAIN Longin Jan Latecki Based on Slides by Dr. Rolf Lakaemper.
CH2. Point Processes Arithmetic Operation Histogram Equalization
Image Enhancement in Spatial Domain Presented by : - Mr. Trushar Shah. ME/MC Department, U.V.Patel College of Engineering, Kherva.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing January 13, 2004 Prof. Charlene Tsai.
EE 7730 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
Unit 4 Review. Starter Write the characteristics of the binomial setting. What is the difference between the binomial setting and the geometric setting?
Thanks to David Jacobs for the use of some slides
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof
Histogram Equalization
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.
Digital Image Processing
Histogram Probability distribution of the different grays in an image.
Digital Image Processing Week III
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.
CIS 4350 Image ENHANCEMENT SPATIAL DOMAIN
Intensity Transformations and Spatial Filtering
Intensity Transform Contrast Stretching Y ← u0+γ*(Y-u)/s
Presentation transcript:

Basis beeldverwerking (8D040) dr. Andrea Fuster Prof.dr. Bart ter Haar Romeny Prof.dr.ir. Marcel Breeuwer dr. Anna Vilanova Histogram equalization

Contact dr. Andrea Fuster – Mathematical image analysis at W&I and Biomedical image analysis at BMT HG 8.84 / GEM-Z 3.108

Today Definition of histogram Examples Histogram features Histogram equalization: Continuous case Discrete case Examples

Histogram definition Histogram is a discrete function h(r k ) = N(r k ), where r k is the k-th intensity value, and N(r k ) is the number of pixels with intensity r k Histogram normalization by dividing N(r k ) by the number of pixels in the image (MN) Normalization turns histogram into a probability distribution function

rkrk Histogram MN: total number of pixels (image of dimensions MxN)

What do the histograms of these images look like?

Bimodal histogram

Tri- (or more) modal histogram

Natural image histogram

Example histograms

More examples histograms

Mean Variance Histogram Features Mean: image mean intensity, measure of brightness Variance: measure of contrast

Questions? Any questions so far?

Histogram processing

Histogram equalization Idea: spread the intensity values to cover the whole gray scale Result: improved/increased contrast!☺

Histogram equalization – cont. case Assume r is the intensity in an image with L levels: Histogram equalisation is a mapping of the form with r the input gray value and s the resulting or mapped value

Histogram equalization – cont. case Assumptions / conditions: ① is monotonically increasing function in ② Make sure output range equal to input range

Histogram equalization – cont. case Monotonically increasing function T(r)

Histogram equalization – cont. case Consider a candidate function for T(r) – conditions ① and ② satisfied? Cumulative distribution function (CDF) Probability density function (PDF) p is always non- negative This means the cumulative probability function is monotonically increasing, ① ok!

Histogram equalization – cont. case Does the CDF fit the second assumption? To have the same intensity range as the input image, scale with (L-1) So ② ok!

Histogram equalization – cont. case What happens when we apply the transformation function T(r) to the intensity values? – how does the histogram change?

Histogram equalization – cont. case What is the resulting probability distribution? From probability theory

Histogram equalization – cont. case Uniform: What does this mean?

Histogram equalization – disc. case Spreads the intensity values to cover the whole gray scale (improved/increased contrast) Fully automatic method, very easy to implement:

Histogram equalization – disc. case Notice something??

Demo of equalization in Mathematica Original image Original histogram Transformation function T(r) “Equalised” image “Equalised” histogram

End of part 1 And now we deserve a break!