Digital Image Processing Week III

Slides:



Advertisements
Similar presentations
Histogram Processing The histogram of a digital image with gray levels in the range [0, L-1] is a discrete function h(rk) = nk where rk is the kth gray.
Advertisements

Applications of one-class classification
3-D Computer Vision CSc83020 / Ioannis Stamos  Revisit filtering (Gaussian and Median)  Introduction to edge detection 3-D Computater Vision CSc
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.
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 II Jen-Chang Liu, 2006.
Intensity Transformations
Digital Image Processing
1Ellen L. Walker ImageJ Java image processing tool from NIH Reads / writes a large variety of images Many image processing operations.
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 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
Spring 2012Meeting 3, M 7:20PM-10PM Image Processing with Applications-CSCI567/MATH563 Lectures 6: Histograms Processing - Equalization; Matching; - Statistics:
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.
Chapter 10 Image Segmentation.
Processing Digital Images. Filtering Analysis –Recognition Transmission.
Digital Image Processing
Chapter 10 Image Segmentation.
CS 376b Introduction to Computer Vision 02 / 25 / 2008 Instructor: Michael Eckmann.
Lecture 2. Intensity Transformation and Spatial Filtering
Linear Algebra and Image Processing
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
ENDA MOLLOY, ELECTRONIC ENG. FINAL PRESENTATION, 31/03/09. Automated Image Analysis Techniques for Screening of Mammography Images.
Machine Vision for Robots
Texture. Texture is an innate property of all surfaces (clouds, trees, bricks, hair etc…). It refers to visual patterns of homogeneity and does not result.
CS 376b Introduction to Computer Vision 02 / 22 / 2008 Instructor: Michael Eckmann.
DIGITAL IMAGE PROCESSING
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Digital Image Processing Lecture 18: Segmentation: Thresholding & Region-Based Prof. Charlene Tsai.
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
Intensity Transformations (Histogram Processing)
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Digital Image Processing Lecture - 6 Autumn 2009.
Another Example: Circle Detection
Lecture Six Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, Copyright 2002.
Image enhancement algorithms & techniques Point-wise operations
Image Pre-Processing in the Spatial and Frequent Domain
IMAGE SEGMENTATION USING THRESHOLDING
Digital Image Processing
Computer Vision Lecture 12: Image Segmentation II
Image Enhancement.
Discussion #29 – Images II
Digital Image Processing
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
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
Image Enhancement Gray level transformation Linear transformation
Digital Image Processing
Histogram Probability distribution of the different grays in an image.
Digital Image Processing Week IV
Histogram Equalization
Digital Image Procesing Introduction to Image Enhancement Histogram Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL.
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.
Intensity Transformations and Spatial Filtering
Lecture 6 Histogram processing.
Image Enhancement in the Spatial Domain
Presentation transcript:

Digital Image Processing Week III Thurdsak LEAUHATONG

Histogram Matching Problem of Histogram Equalization Histogram equalization may not always produce desirable results, particularly if the given histogram is very narrow. It can produce false edges and regions. It can also increase image “graininess” and “patchiness.”

Histogram Matching Transfer to a pre-specified histogram In this case, transformation that yields an output image with a pre-specified histogram may produce the preferable result. This technique is called histogram matching.

Histogram Matching Algorithm Perform the histogram equalization of the input image. Let be the pre-specified PDF of the output image. Compute the CDF of . HM is the inverse of G(s). T( ) G-1( ) r s t

Histogram Matching Example Intensity ( s ) # pixels 20 1 5 2 25 3 10 4 Histogram of Input Image Pre-specified Histogram Intensity ( s ) # pixels 20 1 5 2 25 3 10 4 15 6 7 Total 100 Intensity ( t ) # pixels 5 1 10 2 15 3 20 4 6 7 Total 100

Histogram Matching Example (cont.) 1. Histogram Equalization of both r (nj) SPr s 20 0.2 1 5 0.25 2 25 0.5 3 10 0.6 4 15 0.75 0.8 6 0.9 7 1.0 t (nj) SPt v 5 0.05 1 10 0.15 2 15 0.3 3 20 0.5 4 0.7 0.85 6 0.95 7 1.0

Histogram Matching Example (cont.) r s 1 2 3 4 5 6 7 v t 1 2 4 3 5 6 7 Actual Output Histogram r s 1 2 3 4 5 6 7 v t 1 2 4 3 5 6 7 r t 1 2 3 4 5 6 7 t # Pixels 1 20 2 30 3 10 4 15 5 6 7

Histogram Matching Example (cont.) Desired histogram Transfer function Actual histogram

Histogram Matching Example (cont.) Original image After histogram equalization After histogram matching

Local Histogram Processing Global vs Local Histogram Processing Global Histogram Processing The intensity of a pixel depends on the PDF of intensities of an entire image. Local Histogram Processing The intensity at a position (x,y) depends on the PDF of intensities in a small window whose center locates at (x,y).

Local Histogram Processing Global and Local Statistics Global Mean and nth Moment Local Mean and nth moment Global Mean Local Mean Global nth Moment Local nth Moment

Local Histogram Processing Global and Local Statistics Global Mean and nth Moment Local Mean and nth moment Global Mean measures the intensity’s average of the entire image. Global 2nd Moment or called Variance measures how the intensity of the entire spread about the mean. It is useful to measure the global contrast of the image. Local Mean measures the average of the local intensity. Local 2nd Moment or called Variance measures how the local intensity spread about the local mean. It is useful to measure the local contrast, edge, and texture of the image.

Local Histogram Processing Local Statistics Examples Original image Mean 3x3 Mean 5x5

Local Histogram Processing Local Statistics Examples Standard deviation 3x3 Standard deviation 5x5

Local Statistics Processing Vision Feature Vision feature a piece of information which is relevant for solving the computational task related to a certain application. Intensity : Simple vision feature Dark Objects Dark Background For example Want to enhance the dark objects. How to separate the dark objects from the dark background.

Local Statistics Processing Using intensity to detect the dark objects Assumption: The dark objects are the areas whose intensity is . Result: Cannot separate the dark objects from the dark area. Intensity is not a good feature to detect the dark objects.

Local Statistics Processing Using local mean to detect the dark objects Assumption: The dark objects are the areas whose local mean is . Result: Cannot separate the dark objects from the dark area. Local mean is not a good feature to detect the dark objects.

Local Statistics Processing Using local variance to detect the dark objects Assumption: The dark objects are the areas whose local variance is . Result: The local variance does not detect the dark backgrounds, but detects both of the bright and dark objects. Local variance is not a good feature to separate the bright objects from the dark objects.

Local Statistics Processing Using the combination of the local mean and local variance. Assumption: The dark objects are the areas whose local mean and local variance are . Result: Can well detect the dark objects. window size 3x3 window size 5x5 window size 7x7

Local Statistics Processing Using the local statistics to enhance the dark objects. Original Image window size 3x3