Digital Image Processing

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

Image Processing Lecture 4
CS & CS Multimedia Processing Lecture 2. Intensity Transformation and Spatial Filtering Spring 2009.
Spatial Filtering.
Local Enhancement Histogram processing methods are global processing, in the sense that pixels are modified by a transformation function based on the gray-level.
Chapter 3 Image Enhancement in the Spatial Domain.
Lecture 6 Sharpening Filters
Chapter - 2 IMAGE ENHANCEMENT
Intensity Transformations (Chapter 3)
EE 4780 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
ECE 472/572 - Digital Image Processing
Image Enhancement in the Spatial Domain II Jen-Chang Liu, 2006.
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
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
Face Recognition and Biometric Systems 2005/2006 Filters.
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.
6/9/2015Digital Image Processing1. 2 Example Histogram.
Machine Vision and Dig. Image Analysis 1 Prof. Heikki Kälviäinen CT50A6100 Lectures 6&7: Image Enhancement Professor Heikki Kälviäinen Machine Vision and.
Image Enhancement.
2-D, 2nd Order Derivatives for Image Enhancement
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
Lecture 2. Intensity Transformation and Spatial Filtering
Chapter 3 Image Enhancement in the Spatial Domain.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
Chapter 3: Image Enhancement in the Spatial Domain
Chap2 Image enhancement (Spatial domain)
 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
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Chapter 3 Image Enhancement in the Spatial Domain.
Digital Image Processing
Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
DIGITAL IMAGE PROCESSING
Intensity Transformations or Translation in Spatial Domain.
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods  Process an image so that the result will be more suitable.
Spatial Filtering.
Image Enhancement ارتقاء تصویر Enhancement Spatial Domain Frequency Domain.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Digital Image Processing EEE415 Lecture 3
İmage enhancement Prepare image for further processing steps for specific applications.
Lecture Reading  3.1 Background  3.2 Some Basic Gray Level Transformations Some Basic Gray Level Transformations  Image Negatives  Log.
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 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.
Digital Image Processing Lecture - 6 Autumn 2009.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Fundamentals of Spatial Filtering:
IMAGE ENHANCEMENT TECHNIQUES
Digital Image Processing
ECE 692 – Advanced Topics in Computer Vision
CIS 350 – 3 Image ENHANCEMENT SPATIAL DOMAIN
Image Enhancement in the Spatial Domain
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Digital Image Processing
Chapter 3 Image Enhancement in the Spatial Domain
Image Enhancement in the Spatial Domain
Presentation transcript:

Digital Image Processing Chapter 3: Image Enhancement in the Spatial Domain

Background Spatial domain process where is the input image, is the processed image, and T is an operator on f, defined over some neighborhood of

Neighborhood about a point

Gray-level transformation function where r is the gray level of and s is the gray level of at any point

Contrast enhancement For example, a thresholding function

Masks (filters, kernels, templates, windows) A small 2-D array in which the values of the mask coefficients determine the nature of the process

Some Basic Gray Level Transformations

Image negatives Enhance white or gray details

Log transformations Compress the dynamic range of images with large variations in pixel values

From the range 0- to the range 0 to 6.2

Power-law transformations or maps a narrow range of dark input values into a wider range of output values, while maps a narrow range of bright input values into a wider range of output values : gamma, gamma correction

Monitor,

Piecewise-linear transformation functions The form of piecewise functions can be arbitrarily complex

Contrast stretching

Gray-level slicing

Bit-plane slicing

Histogram Processing Histogram where is the kth gray level and is the number of pixels in the image having gray level Normalized histogram

Histogram equalization

Probability density functions (PDF)

Histogram matching (specification) is the desired PDF

Histogram matching Obtain the histogram of the given image, T(r) Precompute a mapped level for each level Obtain the transformation function G from the given Precompute for each value of Map to its corresponding level ; then map level into the final level

Local enhancement Histogram using a local neighborhood, for example 7*7 neighborhood

Use of histogram statistics for image enhancement denotes a discrete random variable denotes the normalized histogram component corresponding to the ith value of Mean

The nth moment The second moment

Global enhancement: The global mean and variance are measured over an entire image Local enhancement: The local mean and variance are used as the basis for making changes

is the gray level at coordinates (s,t) in the neighborhood is the neighborhood normalized histogram component mean: local variance

are specified parameters is the global mean is the global standard deviation Mapping

Enhancement Using Arithmetic/Logic Operations AND OR NOT Subtraction Addition Multiplication Division

Image subtraction Enhancement of differences between images

Mask mode radiography

Image Averaging Averaging K different noisy images ,

Basics of Spatial Filtering

Image size: Mask size: and

Smoothing Spatial Filters Noise reduction Smoothing of false contours Reduction of irrelevant detail

Order-statistic filters median filter: Replace the value of a pixel by the median of the gray levels in the neighborhood of that pixel Noise-reduction

Sharpening Spatial Filters Foundation The first-order derivative The second-order derivative

Use of second derivatives for enhancement-The Laplacian Development of the method

Simplifications

Unsharp masking and high-boost filtering Substract a blurred version of an image from the image itself : The image, : The blurred image

High-boost filtering

Use the Laplacian as the sharpening filtering

Use of first derivatives for enhancement—The gradient

The magnitude is rotation invariant (isotropic)

Computing using cross differences, Roberts cross-gradient operators and

Sobel operators A weight value of 2 is to achieve some smoothing by giving more importance to the center point

Combining Spatial Enhancement Methods An example Laplacian to highlight fine detail Gradient to enhance prominent edges Smoothed version of the gradient image used to mask the Laplacian image Increase the dynamic range of the gray levels by using a gray-level transformation

Example 1 Histogram Equalization (a) Write a computer program for computing the histogram of an image. (b) Implement the histogram equalization technique discussed in Section 3.3.1. (c) Download Fig. 3.8(a) and perform histogram equalization on it. Fig3.08(a).bmp histo.c

Example 2 Arithmetic Operations Write a computer program capable of performing the four arithmetic operations between two images. This project is generic, in the sense that it will be used in other projects to follow. (See comments on pages 112 and 116 regarding scaling). In addition to multiplying two images, your multiplication function must be able to handle multiplication of an image by a constant. Fig3.08(a).bmp new2.bmp arithmetic.c