240-373 Image Processing1 Statistical Operations Gray-level transformation Histogram equalization Multi-image operations.

Slides:



Advertisements
Similar presentations
Embedded Image Processing on FPGA Brian Kinsella Supervised by Dr Fearghal Morgan.
Advertisements

Digital Image Processing
Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
Chapter 3 Image Enhancement in the Spatial Domain.
Exposure and Dynamic Range Low contrast | High Contrast.
Chapter - 2 IMAGE ENHANCEMENT
Image Histograms Cumulative histogram
Digital Image Processing Lecture11: Histogram Processing.
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
Automatic Histogram Threshold Using Fuzzy Measures 呂惠琪.
Intensity Transformations
Chapter 4: Image Enhancement
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 & Pattern Analysis (CSCE 563) Intensity Transformations Prof. Amr Goneid Department of Computer Science & Engineering The American.
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Image Segmentation Region growing & Contour following Hyeun-gu Choi Advisor: Dr. Harvey Rhody Center for Imaging Science.
Exposure and Dynamic Range Low contrast | High Contrast.
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.
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
Digital Image Processing
IMAGE 1 An image is a two dimensional Function f(x,y) where x and y are spatial coordinates And f at any x,y is related to the brightness at that point.
Detecting Vehicles from Satellite Images Presented By: Dr. Fernando Rios Dr. Rocio Alba Flores Sumalatha Kuthadi Prashant Jain.
Chapter 3 Image Enhancement in the Spatial Domain.
Spectral contrast enhancement
Entropy and some applications in image processing Neucimar J. Leite Institute of Computing
Digital Images Chapter 8 Exploring the Digital Domain.
Histograms- HPP. What is homogeneous? Homogeneous point process treats all pixels the same. p'=f(p); // homogeneous point processing does not care about.
Chapter 3 Image Enhancement in the Spatial Domain.
Digital Image Processing
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - IMAGES. Processing digital Images digital images are often processed using “digital filters” digital images are.
: Chapter 4: Statistical Operations 1 Montri Karnjanadecha ac.th/~montri Image Processing.
A Simple Image Model Image: a 2-D light-intensity function f(x,y)
3. Image Sampling & Quantisation 3.1 Basic Concepts To create a digital image, we need to convert continuous sensed data into digital form. This involves.
Radiometric Normalization Spring 2009 Ben-Gurion University of the Negev.
Image Segmentation by Histogram Thresholding Venugopal Rajagopal CIS 581 Instructor: Longin Jan Latecki.
More digital reading explaining LUT RT 244 Perry Sprawls, Ph.D. Professor Emeritus Department of Radiology Emory University School of.
CH2. Point Processes Arithmetic Operation Histogram Equalization
Digital Image Processing
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
Image Segmentation Nitin Rane. Image Segmentation Introduction Thresholding Region Splitting Region Labeling Statistical Region Description Application.
Chapter 8 Computer Vision. Artificial IntelligenceChapter 92 Contents What is Image Processing? Digital Image Processing Electromagnetic Spectrum Steps.
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.
Prof. Amr Goneid, AUC1 Analysis & Design of Algorithms (CSCE 321) Prof. Amr Goneid Department of Computer Science, AUC Part 3. Time Complexity Calculations.
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
HADI Tutorial Void Inspection Contents 1.Basic Void Inspection Procedure 2.Smooth ROI 3.Background Processing (Flatten BG) 4.Thresholding (Void.
: Chapter 9: Image Segmentation
Digital Image Processing
7 elements of remote sensing process
Image Enhancement in the
Technique 6: General gray-level transformations
Histogram Equalization
Technique 6: General gray-level transformations
Lecture 6 Histogram processing.
Statistical Operations
Segmentation and Edge Detection
Image Enhancement in Spatial Domain: Point Processing
Presentation transcript:

Image Processing1 Statistical Operations Gray-level transformation Histogram equalization Multi-image operations

Image Processing2 Histogram If the number of pixels at each gray level in an image is counted (may use the following code fragment) for (row=0; row<rowmax; roww++) for (col=0; col=colmax; col++) { count[image[row,col]]++; }

Image Processing3 Histogram The array “count” can be plotted to represent a “histogram” of the image as the number of pixels at particular gray level The histogram can yield useful information about the nature of the image. An image may be too bright or too dark.

Image Processing4 Histogram Illustration Histog ram

Image Processing5 Global Attenuation in Brightness To alter the brightness of an image by adding or subtracting all pixel values with a constant for (row=0; row<rowmax; roww++) for (col=0; col=colmax; col++) { image[row,col] += constant; }

Image Processing6

7

8

9

10 Thresholding Use: –To remove the gray level trends in an image –To make gray level more discrete –To segment or split an image into distinct parts Operation: –setting all gray levels below a certain level to “zero”, and above a certain level to a maximum brightness

Image Processing11 Code for Thresholding for (row=0; row<rowmax; roww++) for (col=0; col=colmax; col++) { if (image[row,col] > threshold) image[row,col] = MAX; else image[row,col] = MIN; }

Image Processing12

Image Processing13 Thresholding Errors Rarely is it possible to identify a perfect gray level break, what we want to be background pixels become foreground or vice versa –Type 1: not all pixels caught that should be included –Type 2: some pixels caught should not be included in the group

Image Processing14 An image before and after thresholding

Image Processing15 Bunching (Quantizing) Use: –to reduce the number of different gray level in an image –to segment an image –to remove unwanted gray level degradation Operation: –Close gray levels are combined, thus removing unwanted variations in data

Image Processing16 Bunching (Quantizing) Method 1: inspecting histogram and combining close group into single gray level Method 2: identifying a set of gray levels allowed in the final image, then changing the gray level in every pixel to its nearest allowed value

Image Processing17 Bunching Example 0 **** 1 ** 2 ***** 3 ********* 4 ***** 5 ***** 6 ***** 7 ***** 8 ********* 9 *** 0 ****** ******************* *************** ************

Image Processing18 Bunching Code for (row=0; row<rowmax; row++) for (col=0; col<colmax; col++) { image[row,col] = bunchsize*((int)image[row,col]/bunchsize); } bunchsize = number of levels to be grouped into one

Image Processing19 Splittings Use: –to increase the different two groups of gray levels so that the contrast between segments compose of one group of the other is enhanced Operation: –rounding the gray levels up if they are in the range and down if they are in another

Image Processing20 Splitting Example The characters on a car number-plate are at gray level 98 The background of the characters is at gray level 99 Pushing 98 down to 80 and pushing 99 up to 120 will give the picture a better contrast around the number plate Question: How to find a good splitting level?

Image Processing21 Automatic Selection of Splitting Level Use: –to find the best gray level for splitting--usually for thresholding to black and white Operation: –Let

Image Processing22 Automatic Selection of Splitting Level –Let P=NxM = the number of pixels under consideration –Let m(g) = mean gray level for only those pixels containing gray level between zero and g, i.e. If the maximum number of gray level is G (G=0,…,G-1) then evaluate the following equation (T = splitting threshold) AB

Image Processing23 Example Histogramf(g)t(g)g.f(g)  g.f(g) m(g)ABA*B 0 **** ** ***** ********* ***** ***** ***** ***** ********* *** INF- T = max(A*B) - 1 = 4