Intensity Transformations or Translation in Spatial Domain.

Slides:



Advertisements
Similar presentations
Types of Image Enhancements in spatial domain
Advertisements

Digital Image Processing Lecture 3: Image Display & Enhancement
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
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
ECE 472/572 - Digital Image Processing
Image Enhancement in the Spatial Domain
Intensity Transformations
Digital Image Processing
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
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.
Digital Image Processing
Chap. 3: Image Enhancement in the Spatial Domain Spring 2006, Jen-Chang Liu CSIE, NCNU.
Image Enhancement.
Digital Image Processing
Lecture 2. Intensity Transformation and Spatial Filtering
Chapter 3 Image Enhancement in the Spatial Domain.
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.
Chap2 Image enhancement (Spatial domain)
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
CS6825: Point Processing Contents – not complete What is point processing? What is point processing? Altering/TRANSFORMING the image at a pixel only.
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.
Digital Image Processing Lecture 3: Image Display & Enhancement March 2, 2005 Prof. Charlene Tsai.
Digital Image Processing Lecture9: Intensity (Gray-level) Transformation Functions using MATLAB.
Digital Image Processing Image Enhancement in the Spatial Domain.
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
Digital Image Processing CSC331 Image Enhancement 1.
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.
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 in the Spatial Domain.
IMAGE ENHANCEMENT TECHNIQUES
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
Digital Image Processing
Image Enhancement.
Intensity Transformations and Spatial Filtering
CIS 601 – 03 Image ENHANCEMENT SPATIAL DOMAIN Longin Jan Latecki
Image Enhancement in the Spatial Domain
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Image Processing Ch3: Intensity Transformation and spatial filters
Grey Level Enhancement
CIS 4350 Image ENHANCEMENT SPATIAL DOMAIN
IT523 Digital Image Processing
IT523 Digital Image Processing
The spatial domain processes discussed in this chapter are denoted by the expression
Presentation transcript:

Intensity Transformations or Translation in Spatial Domain

 The term spatial domain refers to the image plane itself.  Two principal categories of spatial processing: ◦ Intensity transformations: operates on single pixels of an image, for the purpose of contrast manipulation and image thresholding. ◦ Spatial filtering: deals with performing operations, such as, image sharpening, by working in the neighborhood of every pixel in image>

 All the image processing techniques discussed in this section are implemented in the spatial domain.  The spatial domain can be denoted by the expression: g(x,y) = T[f(x,y)]  Where f(x,y) is the input image, g(x,y) is the output image, and T is an operator on f defined over a neighborhood of point (x,y)

The smallest possible neighborhood is of size 1x1. in this case, g depends only on the value of f at a single point (x,y) and T becomes an intensity (also called gray-level or mapping) transformation function of the form: S = T(r)

 In this chapter intensity transformation is used for image enhancement and in chapter 10 it is used in image segmentation.  Most examples in this chapter are applications to image enhancement.  Enhancement: is the process of manipulating an image so that the result is more suitable than the original for a specific application. For example a method that is useful for enhancing X-ray images may not be useful for satellite images taken in the infrared band of the EM spectrum.

 Image Negatives  Log Transformations  Power-Law (Gamma) Transformations  Piecewise-Linear Transformation Functions ◦ Contrast Stretching ◦ Intensity-level slicing ◦ Bit-Plane slicing  Histogram Processing  Histogram Specification  Histogram Matching

 The negative of an image with intensity levels in the range [0,L-1] is obtained by using the negative transformation shown below, which is given by the expression: s = L-1-r  Revising the intensity levels of an image in this manner produces the equivalent of a photographic negative.

 The general form of the log transformation is: s= clog(1+r); Where c is a constant, and it is assumed that r >=0. the shape of the log curve in figure 3.3 shows that this transformation maps a narrow range of low intensity values in the input into a wider range of output levels. The opposite is true of higher values of input levels.

 Power-law transformations have the basic form: s = cr ϒ where c and ϒ are positive constants  As in the case of the log transformation, power-law curves with fractional values of ϒ map a narrow range of dark input values into a wider range of output values with the opposite being true for higher values of input levels.

Unlike the log function, however, we notice here a family of possible transformation curves obtained simply by varying ϒ.

 By convention, the exponent in the power- law equation is referred to as gamma.  The process used to correct these power- law response phenomena is called gamma correction.

 Piecewise-Linear Transformation Functions 1.Contrast Stretching 2.Intensity-level slicing 3.Bit-Plane slicing Contrast Stretching function: is one of the simplest piecewise linear functions. Law-contrast images can result from poor illumination, lack of the dynamic range in the imaging sensor, or even the wrong setting of the lens aperture during image acquisition. Contrast Stretching: is a process that expands the range of intensity levels in an image.

 Figure 3.10(a) shows a typical transformation used for contrast stretching.  The locations of (r1,s1) and (r2,s2) control the shape of the transformation function.  If r1=s1 and r2=s2, the transformation is a linear function that produces no changes in intensity levels.  If r1=r2, s1=0, s2=L-1, the transformation becomes a thresholding function that creates a binary image as in Fig.3.2(b).  Intermediate values of (r1,s1) and (r2,s2) produce various degrees of spread in the intensity levels of the out put image, thus affecting its contrast.

 Highlighting a specific range if intensities in an image often is of interest.  Applications that use it: enhancing features such as masses of water in satellite imagery and flaws (errors) in X-ray images.  Has two approaches: ◦ First approach: display two values (black and white). Lets say all values in the range of interest is white and all other values is black as show in Fig.3.11(a). ◦ Second approach: based on transformation in Fig.3.11(b), brightens or (darkens) the desired range of intensities, but leaves all other intensity levels in the image unchanged.

 Figure 3.12(a) shows an aortic angiogram near the kidney area. The objective of this example is to use the intensity-level slicing to highlight the major blood vessels that appear brighter.

 Pixels are digital numbers composed of bits. For example, the intensity of each pixel in a 256-level gray-scale image is composed of 8-bits (i.e. one byte).  Instead of highlighting intensity-level ranges, we could highlight the contribution made to total image appearance by specific bits. As Fig.3.13 illustrates, an 8-bit image may be considered as being composed of eight 1-bit planes, with plane1 containing the lowest order bit of all pixels in the image and plane 8 all the highest-order bits.

 Figure 3.14(a) shows an 8-bit gray scale image.  Figs.3.14(b) through (i) are its eight 1-bit planes, with Fig.3.14(b) corresponding to the lowest-order bit.  Observe that the four higher-order bit planes, especially the last tow, contain significant amount of the visually significant data.  The lower-order planes contribute to more suitable intensity details in the image.