Histogram Manipulation

Slides:



Advertisements
Similar presentations
Digital Image Processing
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.
Chapter - 2 IMAGE ENHANCEMENT
CHAPTER 13 Pattern Recognition and Classification CLASSIFICATION A. Dermanis.
Intensity Transformations (Chapter 3)
HISTOGRAM TRANSFORMATION IN IMAGE PROCESSING AND ITS APPLICATIONS Attila Kuba University of Szeged.
EE663 Image Processing Histogram Equalization Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
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 Enhancement in the Spatial Domain
Image (and Video) Coding and Processing Lecture 5: Point Operations Wade Trappe.
1Ellen L. Walker ImageJ Java image processing tool from NIH Reads / writes a large variety of images Many image processing operations.
HISTOGRAM TRANSFORMATION IN IMAGE PROCESSING SHINTA P TEKNIK INFORMATIKA STMIK MDP 2011.
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.
Image Enhancement by Modifying Gray Scale of Individual Pixels
Digital image processing Chapter 6. Image enhancement IMAGE ENHANCEMENT Introduction Image enhancement algorithms & techniques Point-wise operations Contrast.
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
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.
CS443: Digital Imaging and Multimedia Point Operations on Digital Images Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring.
Chapter 3 Image Enhancement in the Spatial Domain.
CHAPTER 7 Template Filters IMAGE ANALYSIS A. Dermanis.
Spectral contrast enhancement
Lecture 4 Digital Image Enhancement
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
09 March 1999 Digital Image Processing II 1. Single-Band Image Processing Histogram Image contrast enhancement (Linear stretch, histogram equalization)
Chapter 3 Image Enhancement in the Spatial Domain.
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.
1. General Image Operations Three type of image operations 1.Point operations 2.Geometric operations 3.Spatial operations.
CHAPTER 9 Band Algebra and Vegetation Indices BAND TRANSFORMATIONS A. Dermanis.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
CIS 601 Image ENHANCEMENT in the SPATIAL DOMAIN Dr. Rolf Lakaemper.
Intensity Transformations or Translation in Spatial Domain.
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
CS654: Digital Image Analysis Lecture 18: Image Enhancement in Spatial Domain (Histogram)
CIS 601 – 04 Image ENHANCEMENT in the SPATIAL DOMAIN Longin Jan Latecki Based on Slides by Dr. Rolf Lakaemper.
CHAPTER 10 Principal Components BAND TRANSFORMATIONS A. Dermanis.
Remote Sensing Image Enhancement. Image Enhancement ► Increases distinction between features in a scene ► Single image manipulation ► Multi-image manipulation.
Image Enhancement in Spatial Domain Presented by : - Mr. Trushar Shah. ME/MC Department, U.V.Patel College of Engineering, Kherva.
Chapter 8 Computer Vision. Artificial IntelligenceChapter 92 Contents What is Image Processing? Digital Image Processing Electromagnetic Spectrum Steps.
Image Enhancement Objective: better visualization of remotely sensed images visual interpretation remains to be the most powerful image interpretation.
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.
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.
REMOTE SENSING Digital Image Processing Radiometric Enhancement Geometric Enhancement Reference: Chapters 4 and 5, Remote Sensing Digital Image Analysis.
Image enhancement algorithms & techniques Point-wise operations
IMAGE ENHANCEMENT TECHNIQUES
Discussion #29 – Images II
7 elements of remote sensing process
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Two-Dimensional Signal and Image Processing Chapter 8 - pictures
Image Enhancement in the
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Histogram Probability distribution of the different grays in an image.
Digital Image Processing
Grey Level Enhancement
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 Transform Contrast Stretching Y ← u0+γ*(Y-u)/s
CHAPTER 7 IMAGE ANALYSIS Template Filters A. Dermanis.
Presentation transcript:

Histogram Manipulation CHAPTER 6 IMAGE ANALYSIS Histogram Manipulation A. Dermanis

x = 0 preserved as “no data” code The image histogram (e.g. p = 8, 8-bit) x = 1, 2, …, 255 Pixel values for a p-bit digital image: x = 1, 2, …, 2p-1 x = 0 preserved as “no data” code nx N fx = = no of pixels having the value x total number of image pixels Frequency of value x : Image histogram: A. Dermanis

 Nx = nz Nx N Fx = = no of pixels having the value x The image histogram Nx = nz z =1 x  Number of pixels having value  x : Nx N Fx = = no of pixels having the value x total number of image pixels Cumulative frequency of value x : x Fx Image cumulative histogram: 1 128 255 A. Dermanis

Histogram Equalization Image with optimal contrast: all values of gray equally present f (x) = 1 255 f (x) = constant = 2p-1 Corresponding histogram f (x) : homogeneous histogram ! p = 8 (8-bit): F (x) = x 255 2p-1 Corresponding cumulative histogram F (x) : p = 8 (8-bit): A. Dermanis

Histogram Equalization Contrast Enhancement: Transformation of histogram to homogeneous one original cumulative histogram homogeneous Continuous case: Each pixel value x is replaced with a new value x such that F(x) = F (x ) Corresponding realistic discrete case A. Dermanis

Histogram Equalization Problems appearing in discrete histogram equalization: no values are mapped into some particular values of the new equalized histogram Different values are mapped into the same value A. Dermanis

Histogram Equalization Original image and histogram Resulting image and histogram Note departure from ideal homogeneous histogram ! A. Dermanis

Modifying an image so that its histogram F(x) is transformed Histogram matching Modifying an image so that its histogram F(x) is transformed into a prescribed histogram F (x ) (usually that of another image – Result: images of similar contrast) “target” cumulative histogram Each pixel value x is replaced with a new value x such that F(x) = F (x ) original cumulative histogram Same as histogram equalization with homogeneous histogram replaced by a given histogram A. Dermanis

Histogram matching The original image and its histogram The resulting image and its histogram The target image and its histogram Note that histograms are not exactly identical A. Dermanis

A & B values, selected so that xmin  1 & xmax  L Linear streching Original image with pixel values limited to an interval xmin  x  xmax Resulting image with pixel values covering all possible values 0  x  L (xmax – x) + L (x – xmin) x = xmax – xmin x  x = Ax + B A & B values, selected so that xmin  1 & xmax  L Application of a linear transformation A. Dermanis

Linear streching Original 3 bands of a Landsat TM image The same 3 bands after linear stretching of their histograms A. Dermanis

Saturated linear streching Linear transformation with (a > xmin)  1 and (b < xmax)  L instead of xmin  1 and xmax  L Saturation: (values 1  x < a)  1 (values b < x  L)  L A. Dermanis

Saturated linear streching Use of saturated linear stretching for the enhancement of particular features: Boat identification Original Resulting Bathymetry determination Original Resulting A. Dermanis