Thresholding Foundation:. Thresholding In A: light objects in dark background To extract the objects: –Select a T that separates the objects from the.

Slides:



Advertisements
Similar presentations
Clustering & image segmentation Goal::Identify groups of pixels that go together Segmentation.
Advertisements

Automatic Histogram Threshold Using Fuzzy Measures 呂惠琪.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Lecture 07 Segmentation Lecture 07 Segmentation Mata kuliah: T Computer Vision Tahun: 2010.
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Instructor: Mircea Nicolescu Lecture 17
Segmentation and Region Detection Defining regions in an image.
Content Based Image Retrieval
EE 7730 Image Segmentation.
Thresholding Otsu’s Thresholding Method Threshold Detection Methods Optimal Thresholding Multi-Spectral Thresholding 6.2. Edge-based.
Chapter 10 Image Segmentation.
Machinen Vision and Dig. Image Analysis 1 Prof. Heikki Kälviäinen CT50A6100 Lectures 8&9: Image Segmentation Professor Heikki Kälviäinen Machine Vision.
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.
Chapter 10 Image Segmentation.
Segmentation (Section 10.3 & 10.4) CS474/674 – Prof. Bebis.
Machinen Vision and Dig. Image Analysis 1 Prof. Heikki Kälviäinen CT50A6100 Lectures 8&9: Image Segmentation Professor Heikki Kälviäinen Machine Vision.
Image Segmentation Using Region Growing and Shrinking
CS292 Computational Vision and Language Segmentation and Region Detection.
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 )
Image Segmentation CIS 601 Fall 2004 Longin Jan Latecki.
Entropy and some applications in image processing Neucimar J. Leite Institute of Computing
Chapter 10: Image Segmentation
What is Image Segmentation?
1Ellen L. Walker Segmentation Separating “content” from background Separating image into parts corresponding to “real” objects Complete segmentation Each.
Edge Linking & Boundary Detection
Lecture 16 Image Segmentation 1.The basic concepts of segmentation 2.Point, line, edge detection 3.Thresh holding 4.Region-based segmentation 5.Segmentation.
Digital Image Processing In The Name Of God Digital Image Processing Lecture8: Image Segmentation M. Ghelich Oghli By: M. Ghelich Oghli
Digital Image Processing CSC331
Segmentation.
Digital Image Processing Lecture 18: Segmentation: Thresholding & Region-Based Prof. Charlene Tsai.
Chapter 10 Image Segmentation.
Image Segmentation Chapter 10.
Chapter 10, Part II Edge Linking and Boundary Detection The methods discussed in the previous section yield pixels lying only on edges. This section.
G52IVG, School of Computer Science, University of Nottingham 1 Edge Detection and Image Segmentation.
Image Processing Segmentation 1.Process of partitioning a digital image into multiple segments (sets of pixels). 2. Clustering pixels into salient image.
Chapter 10 Image Segmentation 國立雲林科技大學 電子工程系 張傳育 (Chuan-Yu Chang ) 博士 Office: ES 709 TEL: ext. 4337
Pixel Connectivity Pixel connectivity is a central concept of both edge- and region- based approaches to segmentation The notation of pixel connectivity.
Image Segmentation and Edge Detection Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
CS654: Digital Image Analysis
Image Segmentation by Histogram Thresholding Venugopal Rajagopal CIS 581 Instructor: Longin Jan Latecki.
Digital Image Processing
Machine Vision ENT 273 Regions and Segmentation in Images Hema C.R. Lecture 4.
Evaluation of Image Segmentation algorithms By Dr. Rajeev Srivastava.
Image Segmentation Image segmentation (segmentace obrazu)
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
Region Detection Defining regions of an image Introduction All pixels belong to a region Object Part of object Background Find region Constituent pixels.
Image Segmentation Nitin Rane. Image Segmentation Introduction Thresholding Region Splitting Region Labeling Statistical Region Description Application.
BYST Seg-1 DIP - WS2002: Segmentation Digital Image Processing Image Segmentation Bundit Thipakorn, Ph.D. Computer Engineering Department.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Unit-VII Image Segmentation.
Color Image Segmentation Mentor : Dr. Rajeev Srivastava Students: Achit Kumar Ojha Aseem Kumar Akshay Tyagi.
May 2003 SUT Color image segmentation – an innovative approach Amin Fazel May 2003 Sharif University of Technology Course Presentation base on a paper.
Chapter 10: Image Segmentation The whole is equal to the sum of its parts. Euclid The whole is greater than the sum of its parts. Max Wertheimer.
Lecture z Chapter 10: Image Segmentation. Segmentation approaches 1) Gradient based: How different are pixels? 2) Thresholding: Converts grey-level images.
Course : T Computer Vision
Machine Vision ENT 273 Lecture 4 Hema C.R.
IMAGE SEGMENTATION USING THRESHOLDING
Image Segmentation.
Image Segmentation – Edge Detection
Computer Vision Lecture 12: Image Segmentation II
Chap 10 Image Segmentation
ECE 692 – Advanced Topics in Computer Vision
Fall 2012 Longin Jan Latecki
Using edges to improve Global Thresholding
Image Segmentation Image analysis: First step:
Chapter 10 – Image Segmentation
Digital Image Processing
Image Segmentation.
Image Segmentation Using Region Growing and Shrinking
Presentation transcript:

Thresholding Foundation:

Thresholding In A: light objects in dark background To extract the objects: –Select a T that separates the objects from the background –i.e. any (x,y) for which f(x,y)>T is an object point.

Thresholding In B: a more general case of this approach (multilevel thresholding) So: (x,y) belongs: –To one object class if T 1 <f(x,y)≤T 2 –To the other if f(x,y)>T 2 –To the background if f(x,y)≤T 1

Thresholding A thresholded image: (objects) (background)

Thresholding Thresholding can be viewed as an operation that involves tests against a function T of the form: where p(x,y) denotes some local property of this point.

Thresholding When T depends only on f(x,y)  global threshold When T depends on both f(x,y) and p(x,y)  local threshold When T depends on x and y (in addition)  dynamic threshold

Role of Illumination f(x,y) = i(x,y) r(x,y) A non-uniform illumination destroys the reflectance patterns that can be exploited by thresholding (e.g. for object extraction).

Role of Illumination Solution: –Project the illumination pattern onto a constant, white reflective surface. –This yields an image g(x,y) = ki(x,y), where k is a constant depending on the surface and i(x,y) is the illumination pattern.

Role of Illumination Solution (cont.): –Then, for any image f(x,y) = i(x,y) r(x,y), divide by g(x,y). This yields:

Role of Illumination So: –if r(x,y) can be segmented by using a single threshold T, then h(x,y) can also be segmented by using a single threshold of value T/k.

Simple Global Thresholding To partition the image histogram by using a single threshold T. Then the image is scanned and labels are assigned. This technique is successful in highly controlled environments.

Image Segmentation

Chapter 10 Image Segmentation Chapter 10 Image Segmentation

Optimal Thresholding The histogram of an image containing two principal brightness regions can be considered an estimate of the brightness probability density function p(z): –the sum (or mixture) of two unimodal densities (one for light, one for dark regions).

Optimal Thresholding The mixture parameters are proportional to the areas of the picture of each brightness. If the form of the densities is known or assumed, determining an optimal threshold (in terms of minimum error) for segmenting the image is possible.

Image Segmentation

Threshold Selection Based on Boundary Characteristics The chances of selecting a good threshold are increased if the histogram peaks are: –Tall –Narrow –Symmetric –Separated by deep valleys

Threshold Selection Based on Boundary Characteristics One way to improve the shape of histograms is to consider only those pixels that lie on or near the boundary between objects and the background. –Thus, histograms would be less dependent on the relative sizes of objects and the background.

Threshold Selection Based on Boundary Characteristics Problem: –The assumption that the boundary between objects and background is known.

Threshold Selection Based on Boundary Characteristics Solution: –An indication of whether a pixel is on an edge may be computed by its gradient. –The Laplacian yields information on whether a pixel lies on the dark or light side of an edge. –The average value of the Laplacian is 0 at the transition of an edge, so deep valleys are produced in the histogram.

Threshold Selection Based on Boundary Characteristics In essence:

Threshold Selection Based on Boundary Characteristics In the image s(x,y): –pixels that are not on an edge are labeled 0 –pixels on the dark side of an edge are labeled + –pixels on the light side of an edge are labeled –

Threshold Selection Based on Boundary Characteristics Light background/dark object: (…) (-,+) (0 or +) (+,-) (…) 010

Image Segmentation

Thresholds Based on Several Variables When a sensor makes available more than one variable to characterize each pixel in an image (e.g. color imaging, RGB)

Thresholds Based on Several Variables Each pixel is characterized by 3 values, and the histogram becomes 3D. So thresholding now is concerned with finding clusters of points in 3D space. –Instead of the RGB model, the HSI model might be used too.

– –R i is a connected region, i = 1, 2, …, n –R i ∩ R j = 0 for all i and j, i≠j –P(R i ) = TRUE for i = 1, 2, …, n –P(R i ⋃ R j ) = FALSE for i≠j Region-Oriented Segmentation Segmentation is a process that partitions R into n subregions R 1, R 2, …, R n such that: P(R i ): logical predicate

Region Growing by Pixel Aggregation Start with a set of “seed” points and from these grow regions by appending to each seed point those neighboring pixels that have similar properties.

Region Growing by Pixel Aggregation Problems: –Seed selection –Selection of suitable properties for including points in the various regions Descriptors Local vs. general criteria

Region Splitting and Merging Subdivide an image initially into a set of arbitrary, disjointed regions and then merge and/or split the regions in an attempt to satisfy the conditions of region-oriented segmentation. Quadtree-based algorithm

Region Splitting and Merging Procedure: –Split into 4 disjointed quadrants any region R i where P(R i ) = FALSE –Merge any adjacent regions R j and R k for which P(R j ∪ R k ) = TRUE –Stop when no further splitting or merging is possible.

Image Segmentation