Intensity Transformations

Slides:



Advertisements
Similar presentations
Types of Image Enhancements in spatial domain
Advertisements

Digital Image Processing
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
Image Histograms Cumulative histogram
Digital Image Processing Lecture11: Histogram Processing.
Intensity Transformations (Chapter 3)
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
Digital Image Processing
SCCS 4761 Point Processing Basic Image Processing Operations Arithmetic Operations Histograms.
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
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
Chapter 3: Image Enhancement in the Spatial Domain
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.
Image Processing : Computational Photography Alexei Efros, CMU, Fall 2006 Some figures from Steve Seitz, and Gonzalez et al.
Digital Image Processing
Digital Image Processing
Lecture 2. Intensity Transformation and Spatial Filtering
Chapter 3 Image Enhancement in the Spatial Domain.
Lecture 4 Digital Image Enhancement
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
 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,
Digital Image Processing
University of Ioannina - Department of Computer Science Intensity Transformations (Point Processing) Christophoros Nikou Digital Image.
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Lecture Three Chapters Two and three Photo slides from Digital Image Processing, Gonzalez and Woods, Copyright 2002.
Chapter 3 Image Enhancement in the Spatial Domain.
Digital Image Processing Contrast Enhancement: Part I
DIGITAL IMAGE PROCESSING
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
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.
Intensity Transformations (Histogram Processing)
Digital Image Processing Image Enhancement in the Spatial Domain.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods  Process an image so that the result will be more suitable.
CIS 601 – 04 Image ENHANCEMENT in the SPATIAL DOMAIN Longin Jan Latecki Based on Slides by Dr. Rolf Lakaemper.
Digital Image Processing EEE415 Lecture 3
Prepared by: Hanan Hardan
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
Image Enhancement in Spatial Domain Presented by : - Mr. Trushar Shah. ME/MC Department, U.V.Patel College of Engineering, Kherva.
Lecture Reading  3.1 Background  3.2 Some Basic Gray Level Transformations Some Basic Gray Level Transformations  Image Negatives  Log.
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.
IMAGE ENHANCEMENT TECHNIQUES
Histogram Equalization
Digital Image Processing
Intensity Transformations and Spatial Filtering
Image Enhancement in the Spatial Domain
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
CIS 4350 Image ENHANCEMENT SPATIAL DOMAIN
Intensity Transformations and Spatial Filtering
IT523 Digital Image Processing
IT523 Digital Image Processing
The spatial domain processes discussed in this chapter are denoted by the expression
Image Enhancement in the Spatial Domain
Presentation transcript:

Intensity Transformations Sections 3.1-3.3 Digital Image Processing Gonzales and Woods Irina Rabaev

Representing digital image value f(x,y) at each x, y is called intensity level or gray level

Intensity Transformations and Filters g(x,y)=T[f(x,y)] f(x,y) – input image, g(x,y) – output image T is an operator on f defined over a neighborhood of point (x,y)

Intensity Transformation 1 x 1 is the smallest possible neighborhood. In this case g depends only on value of f at a single point (x,y) and we call T an intensity (gray-level mapping) transformation and write s = T(r) where r and s denotes respectively the intensity of g and f at any point (x, y).

Some Intensity Transformation Functions

Image Negatives Denote [0, L-1] intensity levels of the image. Image negative is obtained by s= L-1-r

Log Transformations s = clog(1+r), c – const, r ≥ 0 Maps a narrow range of low intensity values in the input into a wider range of output levels. The opposite is true for higher values of input levels.

Power–Law (Gamma) transformation s = crγ, c,γ –positive constants curve the grayscale components either to brighten the intensity (when γ < 1) or darken the intensity (when γ > 1).

Power –Law (Gamma) transformation

Power –Law (Gamma) transformation

Contrast stretching Contrast stretching is a process that expands the range of intensity levels in a image so that it spans the full intensity range of the recording medium or display device. Contrast-stretching transformations increase the contrast between the darks and the lights

Thresholding function

Intensity-level slicing Highlighting a specific range of gray levels in an image

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 level and nk is the number of pixels in the image having gray level rk. It is common practice to normalize a histogram by dividing each of its values by the total number of pixels in the image, denoted by the product MN. Thus, a normalized histogram is given by h(rk)=nk/MN The sum of all components of a normalized histogram is equal to 1.

Histogram Equalization Histogram equalization can be used to improve the visual appearance of an image. Histogram equalization automatically determines a transformation function that produce and output image that has a near uniform histogram

Histogram Equalization Let rk, k[0..L-1] be intensity levels and let p(rk) be its normalized histogram function. The intensity transformation function for histogram equalization is

Histogram Equalization - Example Let f be an image with size 64x64 pixels and L=8 and let f has the intensity distribution as shown in the table p r(rk )=nk/MN nk rk 0.19 790 0.25 1023 2 0.21 850 1 0.16 656 3 0.08 329 4 0.06 245 5 0.03 122 6 0.02 81 7 round the values to the nearest integer

Local histogram Processing Define a neighborhood and move its center from pixel to pixel. At each location, the histogram of the points in the neighborhood is computed and histogram equalization transformation is obtained.

Using Histogram Statistics for Image Enhancement Denote: ri – intencity value in the range [0, L-1], p(i) - histogram component corresponding to value ri . The intensity variance:

Using Histogram Statistics for Image Enhancement Let (x, y) be the coordinates of a pixel in an image, and let Sxy denote a neighborhood (subimage) of specified size, centered at (x, y). The mean value of the pixels in this neighborhood is given by where is the histogram of the pixels in region Sxy. The variance of the pixels in the neighborhood is given by

Using Histogram Statistics for Image Enhancement Tungsten filament

Using Histogram Statistics for Image Enhancement

Using Histogram Statistics for Image Enhancement