Image Enhancement in Spatial Domain. By Dr. Rajeev Srivastava

Similar documents
Lecture 4 Image Enhancement in Spatial Domain

Intensity Transformation and Spatial Filtering

In this lecture. Background. Background. Background. PAM3012 Digital Image Processing for Radiographers

Lecture 4. Digital Image Enhancement. 1. Principle of image enhancement 2. Spatial domain transformation. Histogram processing

Digital Image Processing. Lecture # 3 Image Enhancement

Chapter 3: Intensity Transformations and Spatial Filtering

Digital Image Processing. Image Enhancement (Point Processing)

Digital Image Processing

Digital Image Processing, 2nd ed. Digital Image Processing, 2nd ed. The principal objective of enhancement

EEM 463 Introduction to Image Processing. Week 3: Intensity Transformations

Lecture No Image Enhancement in SpaPal Domain (course: Computer Vision)

Selected Topics in Computer. Image Enhancement Part I Intensity Transformation

IMAGE ENHANCEMENT in SPATIAL DOMAIN by Intensity Transformations

Basic relations between pixels (Chapter 2)

Intensity Transformations and Spatial Filtering

CHAPTER 3 IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

IMAGING. Images are stored by capturing the binary data using some electronic devices (SENSORS)

Digital Image Processing

Digital Image Analysis and Processing

Introduction to Digital Image Processing

Intensity Transformations. Digital Image Processing. What Is Image Enhancement? Contents. Image Enhancement Examples. Intensity Transformations

IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

EELE 5310: Digital Image Processing. Lecture 2 Ch. 3. Eng. Ruba A. Salamah. iugaza.edu

EELE 5310: Digital Image Processing. Ch. 3. Eng. Ruba A. Salamah. iugaza.edu

Sampling and Reconstruction

Digital Image Processing

Babu Madhav Institute of Information Technology Years Integrated M.Sc.(IT)(Semester - 7)

Basic Algorithms for Digital Image Analysis: a course

Chapter - 2 : IMAGE ENHANCEMENT

Image Enhancement in Spatial Domain (Chapter 3)

Vivekananda. Collegee of Engineering & Technology. Question and Answers on 10CS762 /10IS762 UNIT- 5 : IMAGE ENHANCEMENT.

UNIT - 5 IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Image Enhancement: To improve the quality of images

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

1.Some Basic Gray Level Transformations

Filtering and Enhancing Images

Digital Image Processing. Image Enhancement in the Spatial Domain (Chapter 4)

EE663 Image Processing Histogram Equalization I

Point Operations. Prof. George Wolberg Dept. of Computer Science City College of New York

Image Enhancement. Digital Image Processing, Pratt Chapter 10 (pages ) Part 1: pixel-based operations

Outlines. Medical Image Processing Using Transforms. 4. Transform in image space

Lecture 4: Spatial Domain Transformations

Lecture 3 - Intensity transformation

INTENSITY TRANSFORMATION AND SPATIAL FILTERING

Introduction to Digital Image Processing

Original grey level r Fig.1

Motivation. Gray Levels

Islamic University of Gaza Faculty of Engineering Computer Engineering Department

Digital Image Processing, 3rd ed. Gonzalez & Woods

EECS 556 Image Processing W 09. Image enhancement. Smoothing and noise removal Sharpening filters

Digital Image Fundamentals

Fundamentals of Digital Image Processing

Histograms. h(r k ) = n k. p(r k )= n k /NM. Histogram: number of times intensity level rk appears in the image

Digital Image Processing

Classification of image operations. Image enhancement (GW-Ch. 3) Point operations. Neighbourhood operation

Motivation. Intensity Levels

Image Processing Lecture 10

Statistical Image Compression using Fast Fourier Coefficients

PSD2B Digital Image Processing. Unit I -V

Chapter4 Image Enhancement

An introduction to image enhancement in the spatial domain.

Chapter 3 Image Enhancement in the Spatial Domain

Digital Image Processing

CSE237A: Final Project Mid-Report Image Enhancement for portable platforms Rohit Sunkam Ramanujam Soha Dalal

Image Processing. Traitement d images. Yuliya Tarabalka Tel.

Point operation Spatial operation Transform operation Pseudocoloring

Image Processing. Cosimo Distante. Lecture 6: Monochrome and Color processing

3. (a) Prove any four properties of 2D Fourier Transform. (b) Determine the kernel coefficients of 2D Hadamard transforms for N=8.

Review for Exam I, EE552 2/2009

Biometrics Technology: Image Processing & Pattern Recognition (by Dr. Dickson Tong)

IT Digital Image ProcessingVII Semester - Question Bank

Edge and local feature detection - 2. Importance of edge detection in computer vision

Image Enhancement 3-1

Point and Spatial Processing

ECG782: Multidimensional Digital Signal Processing

Chapter 11 Image Processing

C2: Medical Image Processing Linwei Wang

Digital Image Processing

Comparative Study of Linear and Non-linear Contrast Enhancement Techniques

EE795: Computer Vision and Intelligent Systems

Digital Image Processing. Prof. P. K. Biswas. Department of Electronic & Electrical Communication Engineering

Digital image processing

BSc (Hons) Computer Science. with Network Security. Examinations for / Semester 2

Unit - I Computer vision Fundamentals

Image Processing. Application area chosen because it has very good parallelism and interesting output.

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

CHAPTER 5 PALMPRINT RECOGNITION WITH ENHANCEMENT

Computer Vision I - Basics of Image Processing Part 1

2D Image Processing INFORMATIK. Kaiserlautern University. DFKI Deutsches Forschungszentrum für Künstliche Intelligenz

Image Transformation Techniques Dr. Rajeev Srivastava Dept. of Computer Engineering, ITBHU, Varanasi

Lecture 6: Edge Detection

3.4& Fundamentals& mechanics of spatial filtering(page 166) Spatial filter(mask) Filter coefficients Filter response

JNTUWORLD. 4. Prove that the average value of laplacian of the equation 2 h = ((r2 σ 2 )/σ 4 ))exp( r 2 /2σ 2 ) is zero. [16]

COMPARISONS OF DCT-BASED AND DWT-BASED WATERMARKING TECHNIQUES

CoE4TN4 Image Processing. Chapter 5 Image Restoration and Reconstruction

Final Review. Image Processing CSE 166 Lecture 18

Quality Analysis and Image Enhancement Using Transformation Techniques


Computer Vision and Graphics (ee2031) Digital Image Processing I

Digital Image Processing. Lecture 6

Transcription:

Image Enhancement in Spatial Domain By Dr. Rajeev Srivastava

CONTENTS Image Enhancement in Spatial Domain Spatial Domain Methods 1. Point Processing Functions A. Gray Level Transformation functions for i. Contrast Enhancement ii. Thresholding B. Some basic gray level transformations i. Negative transformation ii. Logarithmic transformation iii. Power Law Transformations

CONTENTS 2. Piecewise Linear Transformation Functions A. Contrast Stretching Special Cases: Clipping and Thresholding B. Intensity or gray level slicing C. Bit Extraction or Bit Plane Slicing 3. Histogram Processing A. Definition of histogram Example: Contrast Stretching B. Histogram Equalization C. Histogram Matching or Specification D. Histogram Modification

CONTENTS 4. Spatial operators for image enhancement A. Spatial Averaging (Spatial Low Pass Filtering) Methods Examples B. Directional Smoothing C. Median Filtering D. Unsharp Masking and Crispening 5. Spatial Low Pass, High Pass and Band Pass Filtering 6. Inverse Contrast Ratio Mapping and Statistical Scaling

Image Enhancement in Spatial Domain Objective: To Process an image so that the result is more suitable than the original image for a specific application. To bring out details which are obscured or to highlight certain features of an image. Example: Contrast Enhancement

Image Enhancement Methods SPATIAL DOMAIN -Spatial domain refers to image plane itself. -Methods in this group directly manipulates the pixels in an image. FREQUENCY DOMAIN -Frequency domain refers to image plane obtained after applying Fourier transformation or its variants such as Discrete Fourier Transform (DFT), Discrete Cosine Transform (DCT) etc. -Methods in this group relates to modify Fourier transform of an image.

Spatial Domain Methods Spatial domain methods Let us consider that a digital image is represented by a two dimensional random field f(x,y). An image processing operator in the spatial domain may be expressed as a mathematical function T[.] applied to the image f(x,y) to produce a new image g(x,y) as follows: g(x,y)=t[f(x,y)] The operator T[.] applied on f(x,y) may be defined over: i. A single pixel (x,y). In this case T [.] is a grey level transformation function or mapping function. ii. iii. Some neighbourhood of (x,y). T[.] may operate to a set of input images instead of a single image.

Example 1: Contrast Stretching One example of spatial domain image enhancement is contrast stretching. The transformation function for contrast stretching is shown in figure given below. The objective of this transformation is to produce an image of higher contrast than the original, by darkening the levels below and brightening the levels above in the original image.

Example 2: Thresholding The result of the transformation shown in the figure below is to produce a binary image.

Spatial Domain: Enhancement by Point Processing Here we deal with image processing methods that are based only on the intensity of single pixels. In this case, the new image g(x, y) in enhanced image depends only on the value of old unenhanced image f(x, y) and the image enhancement operator T[. ] becomes a grey level or intensity transformations of the form: s = T(r) Where r= grey level of f(x, y) at pixel location (x, y) s= grey level of g(x, y) at (x, y)

Point Processing Intensity or grey level transformations - Linear (Image Negatives) - Logarithmic (Log and Inverse Log Transformations) - Power Law or Gamma (n th power and n th root Transformations)

Negative Linear Transformation The negative of a digital image is obtained by the transformation function s = T r = L 1 r shown in the above figure, where L is the number of grey levels. The idea is that the intensity of the output image decreases as the intensity of the input increases. This is useful in numerous applications such as displaying medical images.

Example: Negative Transform (a) A panda Image (b) its photographic negative transformed image

Power Law or Gamma Transformations Power Law or Gamma Transform g x, y = c [f(x, y)] γ

Example: Gamma Transform a. (Upper Left ) MRI Image of an upper thoracic human spine with a fracture dislocation and spinal cord impingement. b. (Upper Right) Result after Gamma transformation with = 0.6, c=1 c. (Lower Left) Result with = 0.4, c=1 d. (Lower Right) Result with = 0.3, c=1

Logarithmic Transform Log transform is defined as: s = c log (1 + r) Value of c is constant and it is assumed that input value of pixel r is positive. Performs spreading or compression of grey levels. When the dynamic range of the image data is too large so that only the few pixels are visible, then the dynamic range can be compressed via log transformations. This transformation is used to expand the values of dark pixels in an image while compressing the higher level values. In Fourier spectrum, pixel values have a large dynamic range. Log transform can be used to scale it.

Piecewise Linear Transformation Functions Contrast Stretching αr ; 0 r < m s = β r m + Sm ; m r < n γ r n + Sn; n r < L s Sn β γ Sm α 0 m n L r

Contrast Stretching For dark region stretch: α > 1, m L 3 Mid region i.e. low contrast stretch: β > 1, n 2 3 L Bright region stretch: γ 1 As a rule, the slope of transformation is chosen greater than unity in the region of stretch.

Special Cases: Contrast Stretching CLIPPING THRESHOLDING CLIPPING: A special case of contrast stretching where α = γ = 0 is called clipping. Clipping is useful for noise reduction when the input signal is known to lie in the range [m,n].

CLIPPING s r Clipping Transformation