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.

Slides:



Advertisements
Similar presentations
Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
Advertisements

Spatial Filtering (Chapter 3)
Topic 6 - Image Filtering - I DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
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
EE 4780 Bilateral Filter. Bahadir K. Gunturk2 Bilateral Filter Intensity (range) proximity Spatial (domain) proximity N is a fixed value used to define.
Digital Image Processing
Digital Image Processing
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
Chapter 3: Image Enhancement in the Spatial Domain
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.
Median Filter If the objective is to achieve noise reduction rather than blurring, an alternative approach is to use median filters. That is, the gray.
2007Theo Schouten1 Enhancements Techniques for editing an image such that it is more suitable for a specific application than the original image. Spatial.
Introduction to Computer and Human Vision Shimon Ullman, Ronen Basri, Michal Irani Assistants: Tal Hassner Eli Shechtman.
Digital Image Processing
MSU CSE 803 Stockman Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute.
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
Image Enhancement.
2-D, 2nd Order Derivatives for Image Enhancement
Lecture 2. Intensity Transformation and Spatial Filtering
MSU CSE 803 Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute some result.
Chapter 3 Image Enhancement in the Spatial Domain.
Filters in the Frequency Domain.  Image Smoothing Using Frequency Domain Filters: ◦ Ideal Lowpass Filters ◦ Butterworth Lowpass Filters ◦ Gaussian Lowpass.
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.
 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,
Presentation Image Filters
Computer Vision – Enhancement(Part II) Hanyang University Jong-Il Park.
Medical Image Analysis Image Enhancement Figures come from the textbook: Medical Image Analysis, by Atam P. Dhawan, IEEE Press, 2003.
Chapter 3 Image Enhancement in the Spatial Domain.
Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods  Process an image so that the result will be more suitable.
Chapter 5: Neighborhood Processing
8-1 Chapter 8: Image Restoration Image enhancement: Overlook degradation processes, deal with images intuitively Image restoration: Known degradation processes;
Spatial Filtering.
Image Enhancement ارتقاء تصویر Enhancement Spatial Domain Frequency Domain.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Sharpening Filters To highlight fine detail or to enhance blurred detail. –smoothing ~ integration –sharpening ~ differentiation Categories of sharpening.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
Image Enhancement (Frequency Domain)
Digital Image Processing Part 3 Spatial Domain Processing.
Image enhancement using MATLAB Digital Image Processing 2014 Fall NTU 1.
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 Week V Thurdsak LEAUHATONG.
Lecture 10 Chapter 5: Image Restoration. Image restoration Image restoration is the process of recovering the original scene from the observed scene which.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
Medical Image Analysis
Image Subtraction Mask mode radiography h(x,y) is the mask.
Fundamentals of Spatial Filtering:
Digital Image Processing CSC331
IMAGE ENHANCEMENT TECHNIQUES
ECE 692 – Advanced Topics in Computer Vision
The Chinese University of Hong Kong
Digital Image Processing
Image Analysis Image Restoration.
Image Enhancement in the Spatial Domain
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
Histogram Probability distribution of the different grays in an image.
Linear Operations Using Masks
Image Enhancement – Simple Intensity Processing
Intensity Transform Contrast Stretching Y ← u0+γ*(Y-u)/s
Image Enhancement in the Spatial Domain
Presentation transcript:

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 suitable than the original image for a specific application. There are two main approaches:  Image enhancement in spatial domain: Direct manipulation of pixels in an image Point processing: Change pixel intensities Spatial filtering  Image enhancement in frequency domain: Modifying the Fourier transform of an image

Bahadir K. Gunturk3 Image Enhancement by Point Processing Intensity Transformation

Bahadir K. Gunturk4 Image Enhancement by Point Processing Contrast Stretching

Bahadir K. Gunturk5 Image Enhancement by Point Processing Contrast Stretching

Bahadir K. Gunturk6 Image Enhancement by Point Processing Intensity Transformation Matlab exercise

Bahadir K. Gunturk7 Image Enhancement by Point Processing Intensity Transformation

Bahadir K. Gunturk8 Image Enhancement by Point Processing Intensity Transformation

Bahadir K. Gunturk9 Image Enhancement by Point Processing Gray-Level Slicing

Bahadir K. Gunturk10 Image Enhancement by Point Processing Histogram 0 255

Bahadir K. Gunturk11 Histogram Specification Intensity mapping Assume  T(r) is single-valued and monotonically increasing.  The original and transformed intensities can be characterized by their probability density functions (PDFs)

Bahadir K. Gunturk12 Histogram Specification The relationship between the PDFs is Consider the mapping Cumulative distribution function of r Histogram equalization!

Bahadir K. Gunturk13 Image Enhancement by Point Processing Histogram Equalization

Bahadir K. Gunturk14 Image Enhancement by Point Processing Histogram Equalization Example Intensity Number of pixels Intensity Number of pixels

Bahadir K. Gunturk15 Image Enhancement by Point Processing Histogram Equalization

Bahadir K. Gunturk16 Histogram Specification

Bahadir K. Gunturk17 Histogram Specification

Bahadir K. Gunturk18 Histogram Specification

Bahadir K. Gunturk19 Histogram Specification

Bahadir K. Gunturk20 Local Histogram Processing Histogram processing can be applied locally.

Bahadir K. Gunturk21 Image Subtraction The background is subtracted out, the arteries appear bright.

Bahadir K. Gunturk22 Image Averaging Original image Noise Corrupted image Assume n(x,y) a white noise with mean=0, and variance If we have a set of noisy images The noise variance in the average image is

Bahadir K. Gunturk23 Image Averaging

Bahadir K. Gunturk24 Spatial Filtering A low-pass filter A high-pass filter

Bahadir K. Gunturk25 Spatial Filtering Median Filter Sort: ( ) Example Original signal: Noisy signal: Filter by [ 1 1 1]/3: Filter by 1x3 median filter:

Bahadir K. Gunturk26 Spatial Filtering Median filters are nonlinear. Median filtering reduces noise without blurring edges and other sharp details. Median filtering is particularly effective when the noise pattern consists of strong, spike-like components. (Salt-and- pepper noise.)

Bahadir K. Gunturk27 Spatial Filtering Original 3x3 averaging filter Salt&Pepper noise added 3x3 median filter

Bahadir K. Gunturk28 Spatial Filtering

Bahadir K. Gunturk29 Wiener Filter Original image Noise Noisy image Noise variance Signal variance

Bahadir K. Gunturk30 Wiener Filter is estimated by Since variance is nonnegative, it is modified as Estimate signal variance locally: N N

Bahadir K. Gunturk31 Wiener Filter Noisy,  =10 Denoised (3x3neighborhood) Mean Squared Error is 56 wiener2 in Matlab

Bahadir K. Gunturk32 Spatial Filtering Gradient Operators  Averaging of pixels over a region tends to blur detail in an image.  As averaging is analogous to integration, differentiation can be expected to have the opposite effect and thus sharpen an image.  Gradient operators (first-order derivatives) are commonly used in image processing applications.

Bahadir K. Gunturk33 Spatial Filtering Gradient Operators These are called the Sobel operators

Bahadir K. Gunturk34 Spatial Filtering Laplacian Operators  Laplacian operators are second-order derivatives.

Bahadir K. Gunturk35 Spatial Filtering

Bahadir K. Gunturk36 Spatial Filtering High-boost or high-frequency-emphasis filter  Sharpens the image but does not remove the low-frequency components unlike high-pass filtering

Bahadir K. Gunturk37 Spatial Filtering High-boost or high-frequency-emphasis filter  High pass = Original – Low pass  High boost = (Original) + K*(High pass)

Bahadir K. Gunturk38 Spatial Filtering A high-pass filter A high-boost filter

Bahadir K. Gunturk39 Spatial Filtering High-boost or high-frequency-emphasis filter

Bahadir K. Gunturk40 Spatial Filtering