IMAGE ENHANCEMENT AND RESTORATION. Pixel operations.

Slides:



Advertisements
Similar presentations
Photoshop Lab colorspace A quick and easy 26 step process for enhancing your photos.
Advertisements

Digital Image Processing
Creation of a digital image from an analog signal. Analog-Digital Converter (ADC)
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.
Lecture 6 Sharpening Filters
Sliding Window Filters and Edge Detection Longin Jan Latecki Computer Graphics and Image Processing CIS 601 – Fall 2004.
CS 4487/9587 Algorithms for Image Analysis
Digital Image Processing
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
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.
E.G.M. PetrakisFiltering1 Linear Systems Many image processing (filtering) operations are modeled as a linear system Linear System δ(x,y) h(x,y)
Image Enhancement by Modifying Gray Scale of Individual Pixels
Digital image processing Chapter 6. Image enhancement IMAGE ENHANCEMENT Introduction Image enhancement algorithms & techniques Point-wise operations Contrast.
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Face Recognition and Biometric Systems 2005/2006 Filters.
6/9/2015Digital Image Processing1. 2 Example Histogram.
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
Digital Image Processing
Image Enhancement.
Digital Image Processing
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.
Spectral contrast enhancement
Radiometric Correction and Image Enhancement
Chap2 Image enhancement (Spatial domain)
Neighborhood Operations
Spatial-based Enhancements Lecture 3 prepared by R. Lathrop 10/99 updated 10/03 ERDAS Field Guide 6th Ed. Ch 5: ;
Spring 2012Meetings 5 and 6, 7:20PM-10PM Image Processing with Applications-CSCI567/MATH563/MATH489 Lectures 8, 9, 10,11: Spatial Filtering 8. Linear Filters,
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Chapter 3 Image Enhancement in the Spatial Domain.
Image Processing Image Histogram Lecture
David E. Pitts CSCI 5532 Overview of Image Processing by David E. Pitts Aug 22, 2010 copyright 2005, 2006, 2007, 2008, 2009, 2010.
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Intensity Transformations or Translation in Spatial Domain.
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - IMAGES. Processing digital Images digital images are often processed using “digital filters” digital images are.
Image Processing Part II. 2 Classes of Digital Filters global filters transform each pixel uniformly according to the function regardless of its location.
Spatial Filtering (Applying filters directly on Image) By Engr. Muhammad Saqib.
Image Enhancement ارتقاء تصویر Enhancement Spatial Domain Frequency Domain.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Image Manipulation CSC361/661 – Digital Media Spring 2002 Burg/Wong.
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
Remote Sensing Image Enhancement. Image Enhancement ► Increases distinction between features in a scene ► Single image manipulation ► Multi-image manipulation.
Digital Image Processing Part 2 Contrast processing.
Non-Linear Transformations Michael J. Watts
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
Sliding Window Filters Longin Jan Latecki October 9, 2002.
Lecture 10 Chapter 5: Image Restoration. Image restoration Image restoration is the process of recovering the original scene from the observed scene which.
Image Enhancement Band Ratio Linear Contrast Enhancement
Image Subtraction Mask mode radiography h(x,y) is the mask.
Image enhancement algorithms & techniques Point-wise operations
Image Processing - in short
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Chapter 8, Exploring the Digital Domain
Image Enhancement in the Spatial Domain
Spatial operations and transformations
Digital Image Processing
Histogram The histogram of an image is a plot of the gray _levels values versus the number of pixels at that value. A histogram appears as a graph with.
Image Enhancement in the Spatial Domain
Spatial operations and transformations
Presentation transcript:

IMAGE ENHANCEMENT AND RESTORATION

Pixel operations

Pixel point operations O(x,y) = M [ I(x,y) ]

Pixel operations Linear negative contrast enhancement (histogram sliding and stretching) Nonlinear photometric correction histogram equalization

Pseudocolor images

Group discussion Why to use pseudocolor mapping?

Color correction

Histogram equalization Before (1) After(2)

Histogram Equalization is a form of Image Enhancement particularly useful when images suffer from poor contrast. The histograms of such images would have relatively narrow curves around a certain range of pixel values and not at the others. For instance, the contrast of the image in Figure 1 is poor because there are no pixels in the bright areas. After Histogram Equalization, it can be observed from the histogram in Figure 2 that with a better utilization of the entire range of pixel values [0-255], the quality of the image is significantly enhanced. Histogram Equalisation:

Disadvantage of Applying Histogram Equalisation: As the name Histogram Equalization implies, this is a technique for obtaining a uniform histogram. The gray levels of the image subjected to histogram equalization always reach both extremities, 0 (black) and 255 (white). In other words, the process increases the dynamic range of the gray levels, consequently producing an increase in image contrast. This is not always suitable, as in this case, where increased visual graniness and "patchiness" are apparent in the output image.

Group discussion How to make the image histogram equalization?

Pixel point operations multiple image O(x,y)=I 1 (x,y) # I 2 (x,y) where # is arithmetic and logic operation as +, -, /, *, AND, OR, Exclusive-OR 1 Image Combining 2 Image Composition

1 Image Combining Subtraction images O(x,y) = I 1 (x,y) - I 2 (x,y)

Spectral Ratioing satellite image RGB+infrared live vegetation reflects a lot of infrared and very little red light energy Dead vegetation reflects a lot of red light energy and very little infrared energy

Image combining infrared component image (1) show live vegetation as bright object and dead vegetation as dark one red component image (2) shows just the opposite other objects mix perception, if just one spectrum is used Spectral rationing: O(x,y) = I 1 (x,y) / I 2 (x,y)

Image combining Temporal noise reduction O(x,y) = (I 1 (x,y) + I 2 (x,y)) / 2 O(x,y) = (I 1 (x,y) + I 2 (x,y) + …+ I n (x,y))/n Eliminates noise Equal to increasing the opening time of camera

Image Compositing Task: move part of the city image to the landscape image

Pixel group processing with convolution coefficient matrix 3*3, 5*5 … (mask,kernel) a b c d e f g h I O(x,y) = a*I(x-1,y-1)+b*I(x,y-1)+c*I(x+1,y-1) + d*I(x-1,y)+e*I(x,y)+f*I(x+1,y) + g*I(x-1,y+1)+h*I(x,y+1)+i*I(x+1,y+1)

More about convolution matrix:

Edge enhancement Shift & difference, Prewitt gradient, Laplace Sobel, Kirsch, Robinsson Named according to the inventors of the specific convolution, the mask varies.

Brightness slope

Prewitt Laplace directional edge enhancement NorthWest:

Line segment enhancement clean up the edges after the edge enhancement operation Example for horizontal line:

Sobel edge enhancement Horizontal and vertical mask 1 filter with horizontal mask 2 filter copy with vertical mask 3 add together

Vertical mask Horizontal maskResult Original

Median filter

Comparison between blurring and median filtering

Median filtering Softening 3*3 Salt&Pepper -noise

More on image noise

Group discussion What is the effect of enlargening the median filter window to 5*5, 7*7 etc. ? How do you think the Dust and scratches –operation is done in Photoshop?