Image Processing Image Histogram Lecture 8 14-2-2012 1.

Slides:



Advertisements
Similar presentations
Types of Image Enhancements in spatial domain
Advertisements

Point Processing Histograms. Histogram Equalization Histogram equalization is a powerful point processing enhancement technique that seeks to optimize.
Embedded Image Processing on FPGA Brian Kinsella Supervised by Dr Fearghal Morgan.
Digital Image Processing
Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
Image Processing Ch3: Intensity Transformation and spatial filters
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Image Processing Lecture 4
Chapter - 2 IMAGE ENHANCEMENT
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Image Histograms Cumulative histogram
Digital Image Processing Lecture11: Histogram Processing.
Intensity Transformations (Chapter 3)
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.
6. Gray level enhancement Some of the simplest, yet most useful, image processing operations involve the adjustment of brightness, contrast or colour in.
Image (and Video) Coding and Processing Lecture 5: Point Operations Wade Trappe.
Intensity Transformations
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
Chapter 4: Image Enhancement
BYST Eh-1 DIP - WS2002: Enhancement in the Spatial Domain Digital Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department Image Enhancement.
Digital Image Processing
By the end of this lesson you will be able to explain/calculate the following: 1. Histogram 2. Frequency Polygons.
Histogram Manipulation
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.
EEE 498/591- Real-Time DSP1 What is image processing? x(t 1,t 2 ) : ANALOG SIGNAL x : real value (t 1,t 2 ) : pair of real continuous space (time) variables.
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
Image Analysis Preprocessing Image Quantization Binary Image Analysis
Image Enhancement.
Spectral contrast enhancement
Lecture 4 Digital Image Enhancement
The Digital Image.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
09 March 1999 Digital Image Processing II 1. Single-Band Image Processing Histogram Image contrast enhancement (Linear stretch, histogram equalization)
Chapter 3: Central Tendency. Central Tendency In general terms, central tendency is a statistical measure that determines a single value that accurately.
University of Ioannina - Department of Computer Science Intensity Transformations (Point Processing) Christophoros Nikou Digital Image.
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
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.
1. General Image Operations Three type of image operations 1.Point operations 2.Geometric operations 3.Spatial operations.
DIGITAL IMAGE PROCESSING
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
Dot Plots and Histograms Lesson After completing this lesson, you will be able to say: I can create a dot plot and histogram to display a set of.
CIS 601 Image ENHANCEMENT in the SPATIAL DOMAIN Dr. Rolf Lakaemper.
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Intensity Transformations or Translation in Spatial Domain.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - IMAGES. Processing digital Images digital images are often processed using “digital filters” digital images are.
Probabilistic and Statistical Techniques 1 Lecture 3 Eng. Ismail Zakaria El Daour 2010.
Lecture 3 The Digital Image – Part I - Single Channel Data 12 September
CS654: Digital Image Analysis Lecture 18: Image Enhancement in Spatial Domain (Histogram)
Section 2-1 Review and Preview. 1. Center: A representative or average value that indicates where the middle of the data set is located. 2. Variation:
Digital Image Processing EEE415 Lecture 3
Remote Sensing Image Enhancement. Image Enhancement ► Increases distinction between features in a scene ► Single image manipulation ► Multi-image manipulation.
Digital Image Processing CSC331 Image Enhancement 1.
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.
©Soham Sengupta,
Lecture Reading  3.1 Background  3.2 Some Basic Gray Level Transformations Some Basic Gray Level Transformations  Image Negatives  Log.
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.
Lecture Six Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, Copyright 2002.
Description of Data (Summary and Variability measures)
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.
Lecture Five Figures from Gonzalez and Woods, Digital Image Processing, Second edition, Prentice-Hall,2002.
Image Enhancement in the
Digital Image Processing
Grey Level Enhancement
Histogram The histogram of an image is a plot of the gray _levels values versus the number of pixels at that value. A histogram appears as a graph with.
Presentation transcript:

Image Processing Image Histogram Lecture

2

Poor image enhance image

Poor imageenhance image

Enhancement techniques Spatial domain Frequency domain applications Block diagram of image enhancement Poor image I(r, c) Enhance image E(r, c)

6

7

8

9 For each colored image three histogram are computed, one for each component (RGB, HSL).The histogram gives us a convenient - easy -to -read representation of the concentration of pixels versus brightness of an image, using this graph we able to see immediately: 1 Whether an image is basically dark or light and high or low contrast. 2 Give us our first clues about what contrast enhancement would be appropriately applied to make the image more subjectively pleasing to an observer, or easier to interpret by succeeding image analysis operations.

So the shape of histogram provide us with information about nature of the image or sub image if we considering an object within the image. For example: 1 Very narrow histogram implies a low-contrast image. 2 Histogram skewed to word the high end implies a bright image. 3 Histogram with two major peaks, called bimodal, implies an object that is in contrast with the background.

Gray levels Number of pixels

The gray level histogram of an image is the distribution of the gray level in an image. The histogram can be modified by mapping functions, which will stretch, shrink (compress), or slide the histogram. Figure below illustrates a graphical representation of histogram stretch, shrink and slide.s

I(r, c)max is the largest gray-level value in the image I(r, c) I(r, c)min is the smallest gray level value in the image I(r, c) Max and min correspond to the maximum and minimum gray-level values possible(for 8-bit image these are 255 and 0)

Where the offset value is the amount to slide the histogram,a positive offset Value will increase the overall brightness where as negative offset will create a darker image

Slide(I(r, c)) = 7+10 = 17 =12+10 = 22 = 8+10 = 18 = = 130 =9+10 = 19 =6+10 = 16 = = 20 = = 25 = 1+10 =

Shrink(max)= 15, shrink(min)= 5 I shrink = [15-5/20-1] * [7-1] +5 =8.15 = [15-5/20-1] * [ 12-1]+5=10.78 = [15-5/20-1] * [8-1]+5 =8.68 = [15-5/20-1] * [20-1]+5 =15 = [15-5/20-1] * [9-1]+5 =9.21 = [15-5/20-1] * [6-1]+5 =7.63 = [15-5/20-1] * [10-1]+5 =9.73 = [15-5/20-1] * [15-1]+5 =12.36 = [15-5/20-1] * [1-1]+5 =

Histogram equalization is a technique where the histogram of the resultant image is as flat as possible (with histogram stretching the overall shape of the histogram remains the same) The results in a histogram with a mountain grouped closely together to "spreading or flatting histogram makes the dark pixels appear darker and the light pixels appear lighter (the key word is "appear" the dark pixels in a photograph can not by any darker. If, however, the pixels that are only slightly lighter become much lighter, then the dark pixels will appear darker).

Step 1: Great a running sum of histogram values. This means that the first values is 10, the second is 10+8=18, next is =27, and soon. Here we get 10,18,29,43,44,49,51. Step 2: Normalize by dividing by total number of pixels. The total number of pixels is =51. Step 3: Multiply these values by the maximum gray – level values in this case 7, and then round the result to the closet integer. After this is done we obtain 1,2,4,4,6,6,7,7. Step 4: Map the original values to the results from step3 by a one –to- one correspondence.

Histogram of the color image: There is one histogram per color band R, G, & B. Luminosity histogram is from 1 band = (R+G+B)/3

Histogram Equalization for the color image: