Digital Image Processing

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

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
Course Website: Digital Image Processing Image Segmentation: Thresholding.
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.
Course Website: Digital Image Processing Morphological Image Processing.
Chapter 10 Image Segmentation.
Digital Image Processing
The Segmentation Problem
Binary Image Analysis. YOU HAVE TO READ THE BOOK! reminder.
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 )
Chapter 10: Image Segmentation
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.
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی
CS654: Digital Image Analysis
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.
CMPT 120 Topic: Python’s building blocks -> More Statements
IMAGE SEGMENTATION USING THRESHOLDING
Computer Vision Lecture 13: Image Segmentation III
DIGITAL SIGNAL PROCESSING
Image Segmentation – Edge Detection
Image Warping (Geometric Transforms)
Digital Image Processing
Digital Image Processing
Computer Vision Lecture 12: Image Segmentation II
Computer Vision Lecture 5: Binary Image Processing
Digital Image Processing
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:

Digital Image Processing Image Segmentation: Thresholding

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

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:

Thresholding Example Imagine a poker playing robot that needs to visually interpret the cards in its hand Original Image Thresholded Image

But Be Careful If you get the threshold wrong the results can be disastrous Threshold Too Low Threshold Too High

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

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

Basic Global Thresholding Algorithm Compute a new threshold value: 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

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

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

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)

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)

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

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 _

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

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

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