EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
Image Processing Lecture 4
CS & CS Multimedia Processing Lecture 2. Intensity Transformation and Spatial Filtering Spring 2009.
Transforming images to images
Chapter 3 Image Enhancement in the Spatial Domain.
Chapter - 2 IMAGE ENHANCEMENT
Intensity Transformations (Chapter 3)
EE663 Image Processing Histogram Equalization Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Digital Image Processing
Histogram Processing The histogram of a digital image with gray levels from 0 to L-1 is a discrete function h(rk)=nk, where: rk is the kth gray level nk.
Image Enhancement in the Spatial Domain
Intensity Transformations
Image Enhancement Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University Last.
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.
Lecture 4 Digital Image Enhancement
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
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.
Processing Digital Images. Filtering Analysis –Recognition Transmission.
Digital Image Processing
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
Image Enhancement.
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
Lecture 2. Intensity Transformation and Spatial Filtering
02/12/02 (c) 2002 University of Wisconsin, CS 559 Filters A filter is something that attenuates or enhances particular frequencies Easiest to visualize.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Lecture 4 Digital Image Enhancement
Chapter 2. Image Analysis. Image Analysis Domains Frequency Domain Spatial Domain.
Filtering (I) Dr. Chang Shu COMP 4900C Winter 2008.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - IMAGES. Processing digital Images digital images are often processed using “digital filters” digital images are.
Digital Image Processing (DIP) Lecture # 5 Dr. Abdul Basit Siddiqui Assistant Professor-FURC 1FURC-BCSE7.
Digital Image Processing (Digitaalinen kuvankäsittely) Exercise 2
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Ch5 Image Restoration CS446 Instructor: Nada ALZaben.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
(c) 2002 University of Wisconsin, CS 559
Instructor: Mircea Nicolescu Lecture 4 CS 485 / 685 Computer Vision.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Lecture Reading  3.1 Background  3.2 Some Basic Gray Level Transformations Some Basic Gray Level Transformations  Image Negatives  Log.
Lecture 02 Point Based Image Processing Lecture 02 Point Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing January 13, 2004 Prof. Charlene Tsai.
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
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Image Enhancement in the Spatial Domain.
Arithmetic and Geometric Transformations (Chapter 2) CS474/674 – Prof. Bebis.
- photometric aspects of image formation gray level images
Image enhancement algorithms & techniques Point-wise operations
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
- photometric aspects of image formation gray level images
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
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Digital Image Processing
Digital Image Processing Week III
Grey Level Enhancement
Filtering Images Work in the spatial domain
Introduction to Mathematical tools in used in DIP
Image Enhancement in the Spatial Domain
Presentation transcript:

EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals

2 Early Vision – One Image Classification of Image Operations −Spatial domain methods −Point Processing Transformations −Area/Mask Processing Transformations −Geometric Transformations −Frame Processing Transformations −Frequency domain methods

3 Early Vision – One Image

4 Point Processing Methods The most primitive, yet essential, image processing operations. Intensity transformations that convert an old pixel into a new pixel based on some predefined function. Operate on a pixel based solely on that pixel’s value. Used primarily for image enhancement. Transformation function

5 Point Processing Methods Identity transformationNegative transformation

6 Point Processing Methods Contrast stretching / Compression −Stretch gray-level ranges where we desire more information

7 Point Processing Methods Intensity-level slicing −Highlight a specific range of gray-levels only −Same as double thresholding

8 Point Processing Methods Non-linear transformations −We may use any function, provided that is gives a one-to-one or many-to-one (i.e., single-valued) mapping. Logarithmic −Useful for enhancing details in the darker regions of the image at the expense of detail in the brighter regions.

9 Point Processing Methods Exponential −The effect is the reverse of that obtained with logarithmic mapping.

10 Point Processing Methods Thresholding

11 Point Processing Methods Histogram equalization −Low contrast images are usually mostly dark, mostly light, or mostly gray. −High contrast images have large regions of dark and large regions of white. −Good contrast images exhibit a wide range of pixel values (i.e., no single gray level dominates the image).

12 Point Processing Methods Histogram equalization −The histogram of an image (i.e., a plot of the gray-level frequencies) provides important information regarding the contrast of an image. −Histogram with a small spread: low contrast image −Histogram with wide spread: high contrast image −Histogram clustered at the low end: dark image −Histogram clustered at the high end: bright image

13 Point Processing Methods Histogram equalization −is a transformation that stretches the contrast by redistributing the gray-level values uniformly. −is fully automatic compared to other contrast stretching techniques.

14 Point Processing Methods Histogram equalization −In practice, the histogram might not become totally flat !

15 Frame Processing Methods Generate a pixel value based on an operation involving two or more different images. Each output pixel is usually located at the same position in the input image. Addition −Useful for combining information in two images.

16 Frame Processing Methods Averaging −Image quality can be improved by averaging a number of images together.

17 Frame Processing Methods Subtraction O(r, c) = |I 1 (r, c) - I 2 (r, c)| −Useful for "change detection“

18 Frame Processing Methods AND / OR −The AND operator is usually used to mask out part of an image. −Parts of another image can be added with a logical OR operator. AND OR

19 Geometric Transformations Modify the arrangement of pixels based on some geometric transformation.

20 Geometric Transformations Translation r’ = r + t r c’ = c + t c Scaling r’ = s r r r’ = s c c Rotation r’ = r 0 + (r - r 0 )cos(  ) - (c - c 0 )sin(  ) c’ = c 0 + (r - r 0 )sin(  ) + (c - c 0 )sin(  ) Affine Transformation r’ = a 11 r + a 12 c + b 1 c’ = a 21 r + a 22 c + b 2

21 Geometric Transformations Some Practical Problems 1)Transformed pixel coordinates might not lie within the bounds of the image. 2)Transformed pixel coordinates can be non-integer. 3)There might be no pixels in the input image that map to certain pixel locations in the transformed image (one-to-one correspondence can be lost).

22 Geometric Transformations Problem (3): Forward vs. Inverse Mapping −To guarantee that a value is generated for every pixel in the output image, we must consider each output pixel in turn and use the inverse mapping to determine the position in the input image.

23 Geometric Transformations Problem (2): Image Interpolation −Interpolation is the process of generating integer coordinates for a transformed pixel by examining its surrounding pixels. Zero-order interpolation (or nearest-neighbor)

24 Geometric Transformations First-order interpolation Higher-order interpolation schemes are more sophisticated but also more time consuming

25 Noise Noise in Computer Vision: Can think of noise in several contexts: −Any entity (in images, data, or intermediate results) that is not interesting for the main computation −Spurious pixel fluctuations, introduced by image acquisition −Numerical inaccuracies, introduced by the computer’s limited precision, round-offs or truncations, etc −Entities that do not belong to any meaningful region (edges that do not correspond to actual object contours)

26 Image Noise Additive and random noise: I(x,y) : the true pixel values n(x,y) : the (random) noise at pixel (x,y) 

27 Image Noise Gaussian Noise: −Is used to model additive random noise

28 Image Noise Salt-and-Pepper Noise: −Is used to model impulsive noise Impulsive Noise −Alters random pixels −Makes their values very different from the true ones p, r are uniformly distributed random variables l, s min, s max are constants

29 Area/Mask Processing Methods A pixel value is computed from its old value and the values of pixels in its vicinity. More costly operations than simple point processes, but more powerful. What is a Mask? −A mask is a small matrix whose values are called weights. −Each mask has an origin, which is usually one of its positions. −The origins of symmetric masks are usually their center pixel position. −For non-symmetric masks, any pixel location may be chosen as the origin (depending on the intended use).

30 Area/Mask Processing Methods Examples: Applying masks to images (filtering) −The application of a mask to an input image produces an output image of the same size as the input.

31 Area/Mask Processing Methods Convolution 1)For each pixel in the input image, the mask is conceptually placed on top of the image with its origin lying on that pixel. 2)The values of each input image pixel under the mask are multiplied by the values of the corresponding mask weights. 3)The results are summed together to yield a single output value that is placed in the output image at the location of the pixel being processed on the input.

32 Area/Mask Processing Methods Mathematical definition of (discrete) convolution: