Course Website: Digital Image Processing Image Segmentation: Thresholding.

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

Sonar and Localization LMICSE Workshop June , 2005 Alma College.
Course Website: Digital Image Processing Image Enhancement (Histogram Processing)
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی دانلود جزوات کارشناسی ارشد نرم افزار علوم تحقیقات البرز دانشگاه آزاد کرج Karaj.unicloob.ir.
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Lecture 6 Image Segmentation
EE 7730 Image Segmentation.
Chapter 10 Image Segmentation.
Digital Image Processing: Revision
MRI Image Segmentation for Brain Injury Quantification Lindsay Kulkin 1 and Bir Bhanu 2 1 Department of Biomedical Engineering, Syracuse University, Syracuse,
Computer Graphics 14: Surface Detection Methods
Segmentation Divide the image into segments. Each segment:
Image Segmentation. Introduction The purpose of image segmentation is to partition an image into meaningful regions with respect to a particular application.
Digital Image Processing
Course Website: Digital Image Processing Morphological Image Processing.
Chapter 10 Image Segmentation.
Course Website: Computer Graphics 5: Line Drawing Algorithms.
Digital Image Processing
The Segmentation Problem
Computer Vision Lecture 3: Digital Images
Thresholding Thresholding is usually the first step in any segmentation approach We have talked about simple single value thresholding already Single value.
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Yekke Zare M.Yekke Zare ( J.Shanbehzadeh M.Yekke Zare )
Dominant Eigenvalues & The Power Method
Time Series Data Analysis - II
Chapter 10: Image Segmentation
CS 376b Introduction to Computer Vision 04 / 02 / 2008 Instructor: Michael Eckmann.
Image Restoration and Reconstruction (Noise Removal)
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
University of Ioannina - Department of Computer Science Intensity Transformations (Point Processing) Christophoros Nikou Digital Image.
Digital Image Processing CSC331
University of Kurdistan Digital Image Processing (DIP) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
CS6825: Point Processing Contents – not complete What is point processing? What is point processing? Altering/TRANSFORMING the image at a pixel only.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
Digital Image Processing Lecture 18: Segmentation: Thresholding & Region-Based Prof. Charlene Tsai.
Chapter 10 Image Segmentation.
Chapter 10, Part II Edge Linking and Boundary Detection The methods discussed in the previous section yield pixels lying only on edges. This section.
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی
Intensity Transformations (Histogram Processing)
Course Website: Digital Image Processing Image Enhancement (Spatial Filtering 1)
Image Segmentation by Histogram Thresholding Venugopal Rajagopal CIS 581 Instructor: Longin Jan Latecki.
Image Segmentation Dr. Abdul Basit Siddiqui. Contents Today we will continue to look at the problem of segmentation, this time though in terms of thresholding.
主講者 : 陳建齊. Outline & Content 1. Introduction 2. Thresholding 3. Edge-based segmentation 4. Region-based segmentation 5. conclusion 2.
Digital Image Processing
Machine Vision ENT 273 Regions and Segmentation in Images Hema C.R. Lecture 4.
November 5, 2013Computer Vision Lecture 15: Region Detection 1 Basic Steps for Filtering in the Frequency Domain.
Digital Image Processing
October 3, 2013Computer Vision Lecture 10: Contour Fitting 1 Edge Relaxation Typically, this technique works on crack edges: pixelpixelpixel pixelpixelpixelebg.
Digital Image Processing (DIP)
Machine Vision ENT 273 Lecture 4 Hema C.R.
IMAGE SEGMENTATION USING THRESHOLDING
Computer Vision Lecture 13: Image Segmentation III
Image Segmentation – Edge Detection
Digital Image Processing
Digital Image Processing
Digital Image Processing
Computer Vision Lecture 12: Image Segmentation II
Digital Image Processing
Computer Vision Lecture 3: Digital Images
Digital Image Processing
Digital Image Processing
Digital Image Processing
Digital Image Processing
Lecture 16 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
Digital Image Processing
Chapter 10 – Image Segmentation
Interesting article in the March, 2006 issue of Wired magazine
Image Segmentation.
Digital Image Processing
Rules of Divisibility A number is said to be “divisible” by a number if you can divide it by that number and get no remainder.
Presentation transcript:

Course Website: Digital Image Processing Image Segmentation: Thresholding

2 of 17 Contents Today we will continue to look at the problem of segmentation, this time though in terms of thresholding In particular we will look at: –What is thresholding? –Simple thresholding –Adaptive thresholding

3 of 17 Thresholding Thresholding is usually the first step in any segmentation approach We have talked about simple single value thresholding already Single value thresholding can be given mathematically as follows:

4 of 17 Thresholding Example Imagine a poker playing robot that needs to visually interpret the cards in its hand Original ImageThresholded Image

5 of 17 But Be Careful If you get the threshold wrong the results can be disastrous Threshold Too LowThreshold Too High

6 of 17 Basic Global Thresholding Based on the histogram of an image Partition the image histogram using a single global threshold The success of this technique very strongly depends on how well the histogram can be partitioned

7 of 17 Basic Global Thresholding Algorithm The basic global threshold, T, is calculated as follows: 1.Select an initial estimate for T (typically the average grey level in the image) 2.Segment the image using T to produce two groups of pixels: G 1 consisting of pixels with grey levels >T and G 2 consisting pixels with grey levels ≤ T 3.Compute the average grey levels of pixels in G 1 to give μ 1 and G 2 to give μ 2

8 of 17 Basic Global Thresholding Algorithm 4.Compute a new threshold value: 5.Repeat steps 2 – 4 until the difference in T in successive iterations is less than a predefined limit T ∞ This algorithm works very well for finding thresholds when the histogram is suitable

9 of 17 Thresholding Example 1 Images taken from Gonzalez & Woods, Digital Image Processing (2002)

10 of 17 Thresholding Example 2 Images taken from Gonzalez & Woods, Digital Image Processing (2002)

11 of 17 Problems With Single Value Thresholding Single value thresholding only works for bimodal histograms Images with other kinds of histograms need more than a single threshold Images taken from Gonzalez & Woods, Digital Image Processing (2002)

12 of 17 Problems With Single Value Thresholding (cont…) Let’s say we want to isolate the contents of the bottles Think about what the histogram for this image would look like What would happen if we used a single threshold value? Images taken from Gonzalez & Woods, Digital Image Processing (2002)

13 of 17 Single Value Thresholding and Illumination Uneven illumination can really upset a single valued thresholding scheme Images taken from Gonzalez & Woods, Digital Image Processing (2002)

14 of 17 Basic Adaptive Thresholding An approach to handling situations in which single value thresholding will not work is to divide an image into sub images and threshold these individually Since the threshold for each pixel depends on its location within an image this technique is said to adaptive

15 of 17 Basic Adaptive Thresholding Example The image below shows an example of using adaptive thresholding with the image shown previously As can be seen success is mixed But, we can further subdivide the troublesome sub images for more success

16 of 17 Basic Adaptive Thresholding Example (cont…) These images show the troublesome parts of the previous problem further subdivided After this sub division successful thresholding can be achieved

17 of 17 Summary In this lecture we have begun looking at segmentation, and in particular thresholding We saw the basic global thresholding algorithm and its shortcomings We also saw a simple way to overcome some of these limitations using adaptive thresholding