Intensity Transformation and Spatial Filtering

Similar documents
Lecture 4 Image Enhancement in Spatial Domain

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

IMAGE ENHANCEMENT in SPATIAL DOMAIN by Intensity Transformations

Selected Topics in Computer. Image Enhancement Part I Intensity Transformation

Digital Image Processing. Lecture # 3 Image Enhancement

UNIT - 5 IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Intensity Transformations and Spatial Filtering

Basic relations between pixels (Chapter 2)

Sampling and Reconstruction

CHAPTER 3 IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

Image Enhancement in Spatial Domain. By Dr. Rajeev Srivastava

Introduction to Digital Image Processing

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

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

Digital Image Processing. Image Enhancement (Point Processing)

Digital Image Analysis and Processing

Digital Image Processing

Chapter 3: Intensity Transformations and Spatial Filtering

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

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

Lecture 3 - Intensity transformation

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

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

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

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

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

Digital Image Processing

Introduction to Digital Image Processing

Image Enhancement: To improve the quality of images

Basic Algorithms for Digital Image Analysis: a course

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

Original grey level r Fig.1

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

EE663 Image Processing Histogram Equalization I

Digital Image Processing, 3rd ed. Gonzalez & Woods

Chapter - 2 : IMAGE ENHANCEMENT

Motivation. Intensity Levels

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

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

Image Enhancement in Spatial Domain (Chapter 3)

1.Some Basic Gray Level Transformations

Islamic University of Gaza Faculty of Engineering Computer Engineering Department

INTENSITY TRANSFORMATION AND SPATIAL FILTERING

Chapter 3 Image Enhancement in the Spatial Domain

Lecture 4: Spatial Domain Transformations

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

Filtering and Enhancing Images

An introduction to image enhancement in the spatial domain.

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

Point operation Spatial operation Transform operation Pseudocoloring

Digital Image Processing

Image Processing Lecture 10

Motivation. Gray Levels

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

Digital Image Processing

Fundamentals of Digital Image Processing

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

C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S. Image Operations I

BCC Rays Ripply Filter

Lecture 12 Color model and color image processing

Digital Image Fundamentals

(Refer Slide Time: 0:38)

Image Acquisition + Histograms

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

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

Lecture 6: Edge Detection

Image Processing. Chapter(3) Part 3:Intensity Transformation and spatial filters. Prepared by: Hanan Hardan. Hanan Hardan 1

Digital Image Processing

Analysis and extensions of the Frankle-McCann

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

RKUniversity, India. Key Words Digital image processing, Image enhancement, FPGA, Hardware design languages, Verilog.

What is an Image? Image Acquisition. Image Processing - Lesson 2. An image is a projection of a 3D scene into a 2D projection plane.

Digital Image Processing Fundamentals

Image Restoration and Reconstruction

Part 3: Image Processing

EE795: Computer Vision and Intelligent Systems

Image Processing. BITS Pilani. Dr Jagadish Nayak. Dubai Campus

Introduction to Computer Vision. Human Eye Sampling

1.What is meant by image enhancement by point processing? Discuss any two methods in it.

Interpolation is a basic tool used extensively in tasks such as zooming, shrinking, rotating, and geometric corrections.

Image Restoration and Reconstruction

IMAGE COMPRESSION- I. Week VIII Feb /25/2003 Image Compression-I 1

Brightness and geometric transformations

ECG782: Multidimensional Digital Signal Processing

Fusion of Digital Signature & Fingerprint Watermarking using Bit plane slicing

PSD2B Digital Image Processing. Unit I -V

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

Chapter4 Image Enhancement

Digital Image Processing ERRATA. Wilhelm Burger Mark J. Burge. An algorithmic introduction using Java. Second Edition. Springer

Texture Analysis. Selim Aksoy Department of Computer Engineering Bilkent University

Computer Vision & Digital Image Processing. Image segmentation: thresholding

Image Acquisition Image Digitization Spatial domain Intensity domain Image Characteristics

EXAM SOLUTIONS. Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006,

Lecture #13. Point (pixel) transformations. Neighborhood processing. Color segmentation

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

Computer Assisted Image Analysis TF 3p and MN1 5p Lecture 1, (GW 1, )

Computer Vision I - Basics of Image Processing Part 1

Comparative Study of Linear and Non-linear Contrast Enhancement Techniques

Transcription:

Intensity Transformation and Spatial Filtering Outline of the Lecture Introduction. Intensity Transformation Functions. Piecewise-Linear Transformation Functions. Introduction Definition: Image enhancement is the process that improves the quality of the image for a specific application. Image enhancement methods: 1. Spatial domain methods (image plane) Techniques are based on direct manipulation of pixels in the image. 2. Frequency domain methods Techniques are based on modifying the Fourier transform of the image. 3. Combinations methods: There are some enhancement techniques based on various combinations of methods from the two first categories. Procedures that operate directly on pixels (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 processed (output) image T-is an operator on f(x,y) defined over some neighbourhood of (x,y)

Mask/Filter: neighbourhood of a point (x, y) can be used, by using a square/ rectangular (common used) or circular sub image area centred at (x, y). The center of the sub image is moved from pixel to pixel starting at the of the corner Intensity Transformation Functions Point processing: Neighborhood: 1*1 pixel. g depends on only the value of f at (x,y). And T becomes an intensity transformation function (gray-level or mapping function) of the form: Where: r= gray level of f (x,y) S = gray level of g(x,y) Intensity transformation example: 1. Contrast stretching: (Normalization) S= T(r) T- Is a function that maps r to S If T(r) has the form as shown in figure, the effect of applying the transformation to every pixel of f to generate the corresponding pixels in g would: Produce higher contrast than the original by: Darkening the levels below k in the original image. Brightening the levels above k in the original image. Contrast stretching: simple image enhancement technique that improves the contrast in an image by 'stretching' the range of intensity values it contains to span a desired range of values; typically, it uses a linear scaling function 2. Thresholding: Produce a two-level (binary) image, a mapping of this form called thresholding function. Some Basic Intensity Transformation Functions: Three basic types of functions used frequently for image enhancement: o Linear functions: negative and identity transformations. o Logarithmic: log and inverse log transformations. o Power-law functions (n th power and n th root transformations) (As shown in figure):

1. Identity function: Output intensities to input intensities. Is included in the graph only for completeness. 2. Image negatives: The negative of an image with gray level in the range [0, L-1], where L =2n, n=1,2,... is obtained by using the negative transformation's expression: S =L-1-r That reverses the intensity levels of an input image. The negative transformation is suitable for enhancing white or gray detailed embedded in dark regions of an image, especially when the black area are dominant in size. 3. Log Transformation: The general form of the log transformation: S = c. log (1+r) C is a constant, and r 0 log curve maps a narrow range of low gray-level values in the input image into a wider range of the output levels. Used to expand the values of dark pixels in an image while compressing the higher-level values. It compresses the dynamic range of images with large variations in pixel values. Example of image with dynamic range: Fourier spectrum image. It can have intensity range from 0 to 106 or higher. We can't see the significant degree of detail as it will be lost in the display.

Fourier spectrum image 4. Inverse logarithm Transformation: Do opposite to the log transformations. Used to expand the values of high pixels in an image while compressing the darker-level values. 5. power-law (Gamma) Transformation: The general form of the power-law transformation: S = c.r, where c and 0 Different transformations curves are obtained by varying (gamma). Many image capturing, printing and display devices use gamma correction, which enhances the given image by power-law response phenomena. o For example: CRT device (cathode Ray tube) ( = 1.8 2.5)

Piecewise-linear Transformation Functions Principal advantage: the form of piecewise function can be arbitrarily complex (more options to design), some important transformations can be formulated only as piecewise functions. Principal disadvantage: their specification requires more user input. A. Contrast stretching: One of the most (simplest) piecewise functions is the contrast stretching, which is used to enhance the low contrast images. a) s1 = r1 and s2 = r2 (Identity transformation) (no change in the image). b) r1= r2, s1= 0, and s2 = L-1 (thresholding function Image converted to black and white). c) Intermediate values of (r1, s1) and (r2, s2) produces various degree of spread in the intensity level of the output image. In general, r1 r2 and s1 s2, so the function is single valued and monotonically increasing. Example: To enhance an 8-bit image with low contrast using contrast stretching, and obtained by setting: (r1, s1) = (rmin, 0) and (r2, s2) = (rmax, L-1) where rmin and rmax denote the minimum and the maximum intensity level in the image. So the transformation function stretches the levels linearly from their original range to the full range [0, L-1].

B. Gray-level slicing (Intensity-level slicing) This technique is used to highlight a specific range of gray levels in a given image, the process, often called intensity-level slicing, and can be implemented in several ways. I. Display all values in the range of interest in one value (say, white), and other intensities in another value (say, black). As shown in figure, this transformation produces a binary image. II. The second approach Brightens (or darkens) the desired range of intensities but leaves all other intensities in the image unchanged, as shown in figure. C. Bit- plane slicing: Pixels are digital number composed of bits, instead of highlighting intensity-level range, we could highlight the contribution made by each bit, this method is useful and used in image compression. Most significant bits contains the majority of the visually significant data