Image Segmentation by Histogram Thresholding Venugopal Rajagopal CIS 581 Instructor: Longin Jan Latecki.

Slides:



Advertisements
Similar presentations
Image Segmentation Longin Jan Latecki CIS 601. Image Segmentation Segmentation divides an image into its constituent regions or objects. Segmentation.
Advertisements

November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Lecture 5 Automatic Thresholding. 2 Edge Detection Methods  Separate Background vs. Foreground Gaussian Noise  noisy signal  Most automatic thresholding.
E.G.M. PetrakisImage Segmentation1 Segmentation is the process of partitioning an image into regions –region: group of connected pixels with similar properties.
Computer Vision Lecture 16: Texture
Intensity Transformations (Chapter 3)
Automatic Histogram Threshold Using Fuzzy Measures 呂惠琪.
LING 111 Teaching Demo By Tenghui Zhu Introduction to Edge Detection Image Segmentation.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Segmentation and Region Detection Defining regions in an image.
Content Based Image Retrieval
EE 7730 Image Segmentation.
Chapter 10 Image Segmentation.
Course Website: Digital Image Processing Image Segmentation: Thresholding.
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.
Binary Image Analysis. YOU HAVE TO READ THE BOOK! reminder.
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 )
Context-dependent Detection of Unusual Events in Videos by Geometric Analysis of Video Trajectories Longin Jan Latecki
VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature.
Image Segmentation CIS 601 Fall 2004 Longin Jan Latecki.
Image Segmentation by Clustering using Moments by, Dhiraj Sakumalla.
Image segmentation by clustering in the color space CIS581 Final Project Student: Qifang Xu Advisor: Dr. Longin Jan Latecki.
Chapter 10: Image Segmentation
BACKGROUND LEARNING AND LETTER DETECTION USING TEXTURE WITH PRINCIPAL COMPONENT ANALYSIS (PCA) CIS 601 PROJECT SUMIT BASU FALL 2004.
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
CS 6825: Binary Image Processing – binary blob metrics
University of Kurdistan Digital Image Processing (DIP) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Lecture 6-1CS251: Intro to AI/Lisp II I can see clearly now May 4th, 1999.
Segmentation.
Chap. 9: Image Segmentation Jen-Chang Liu, Motivation Segmentation subdivides an image into its constituent regions or objects Example: 生物細胞在影像序列中的追蹤.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Segmentation.
Introduction to Image Processing Grass Sky Tree ? ? Image 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.
Presented By: ROLL No IMTIAZ HUSSAIN048 M.EHSAN ULLAH012 MUHAMMAD IDREES027 HAFIZ ABU BAKKAR096(06)
Pixel Connectivity Pixel connectivity is a central concept of both edge- and region- based approaches to segmentation The notation of pixel connectivity.
CS654: Digital Image Analysis
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
1 Euler Number Computation By Kishore Kulkarni (Under the Guidance of Dr. Longin Jan Latecki)
Image Segmentation in Color Space By Anisa Chaudhary.
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.
Evaluation of Image Segmentation algorithms By Dr. Rajeev Srivastava.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Thresholding Foundation:. Thresholding In A: light objects in dark background To extract the objects: –Select a T that separates the objects from the.
Digital Image Processing (DIP)
Machine Vision ENT 273 Lecture 4 Hema C.R.
IMAGE SEGMENTATION USING THRESHOLDING
Image Segmentation – Edge Detection
Digital Image Processing
Machine Vision Acquisition of image data, followed by the processing and interpretation of these data by computer for some useful application like inspection,
Computer Vision Lecture 16: Texture II
Fall 2012 Longin Jan Latecki
Digital Image Processing
Chapter 10 – Image Segmentation
Image Segmentation.
Image Segmentation Using Region Growing and Shrinking
Presentation transcript:

Image Segmentation by Histogram Thresholding Venugopal Rajagopal CIS 581 Instructor: Longin Jan Latecki

Image Segmentation Segmentation divides an image into its constituent regions or objects. Segmentation of non trivial images is one of the difficult task in image processing. Still under research. Segmentation accuracy determines the eventual success or failure of computerized analysis procedure. Example Application: Automated inspection of electronic assemblies. (mother boards)

Segmentation Algorithms Segmentation algorithms are based on one of two basic properties of intensity values discontinuity and similarity. First category is to partition an image based on abrupt changes in intensity, such as edges in an image. Second category are based on partitioning an image into regions that are similar according to a predefined criteria. Histogram Thresholding approach falls under this category.

Histograms Histogram are constructed by splitting the range of the data into equal-sized bins (called classes). Then for each bin, the number of points from the data set that fall into each bin are counted. Vertical axis: Frequency (i.e., counts for each bin) Horizontal axis: Response variable In image histograms the pixels form the horizontal axis In Matlab histograms for images can be constructed using the imhist command.

Thresholding - Foundation Suppose that the gray-level histogram corresponds to an image, f(x,y), composed of dark objects in a light background, in such a way that object and background pixels have gray levels grouped into two dominant modes. One obvious way to extract the objects from the background is to select a threshold ‘T’ that separates these modes. Then any point (x,y) for which f(x,y) > T is called an object point, otherwise, the point is called a background point.

Example

Foundation (contd.) If two dominant modes characterize the image histogram, it is called a bimodal histogram. Only one threshold is enough for partitioning the image. If for example an image is composed of two types of light objects on a dark background, three or more dominant modes characterize the image histogram.

Foundation (contd.) In such a case the histogram has to be partitioned by multiple thresholds. Multilevel thresholding classifies a point (x,y) as belonging to one object class if T1 < (x,y) <= T2, if T1 < (x,y) <= T2, to the other object class to the other object class if f(x,y) > T2 if f(x,y) > T2 and to the background and to the background if f(x,y) <= T1. if f(x,y) <= T1.

Thresholding Basic Global Thresholding: 1)Select an initial estimate for T 1)Select an initial estimate for T 2)Segment the image using T. This will produce two groups of pixels. G1 consisting of all pixels with gray level values >T and G2 consisting of pixels with values T and G2 consisting of pixels with values <=T. 3)Compute the average gray level values mean1 and mean2 for the pixels in regions G1 and G2. 3)Compute the average gray level values mean1 and mean2 for the pixels in regions G1 and G2. 4)Compute a new threshold value 4)Compute a new threshold value T=(1/2)(mean1 +mean2) T=(1/2)(mean1 +mean2) 5)Repeat steps 2 through 4 until difference in T in successive iterations is smaller than a predefined parameter T0. 5)Repeat steps 2 through 4 until difference in T in successive iterations is smaller than a predefined parameter T0. Basic Adaptive Thresholding: Images having uneven illumination makes it difficult to segment using histogram, this approach is to divide the original image into sub images and use the above said thresholding process to each of the sub images.

Thresholding (contd.) In this project we have used a different method based on “ Discrete Curve Evolution ” to find thresholds in the histogram.

Thresholding – Colour Images In colour images each pixel is characterized by three RGB values. Here we construct a 3D histogram, and the basic procedure is analogous to the method used for one variable. Histograms plotted for each of the colour values and threshold points are found.

Displaying objects in the Segmented Image The objects can be distinguished by assigning a arbitrary pixel value or average pixel value to the regions separated by thresholds.

Experiments Type of images used: 1) Two Gray scale image having bimodal histogram structure. 1) Two Gray scale image having bimodal histogram structure. 2) Gray scale image having multi-modal histogram structure. 2) Gray scale image having multi-modal histogram structure. 3) Colour image having bimodal histogram structure. 3) Colour image having bimodal histogram structure. 4) Colour image having multi-modal histogram structure. 4) Colour image having multi-modal histogram structure.

Gray Scale Image - bimodal Image of a Finger Print with light background

Bimodal - Histogram Image Histogram of finger print

Segmented Image Image after Segmentation

Gray Scale Image (2) - bimodal Image of rice with black background

Histogram Image histogram of rice

Segmented Image Image after segmentation

Gray Scale Image - Multimodal Original Image of lena

Multimodal Histogram Histogram of lena

Segmented Image Image after segmentation – we get a outline of her face, hat, shadow etc

Colour Image - bimodal Colour Image having a bimodal histogram

Histogram Histograms for the three colour spaces

Segmented Image Segmented image – giving us the outline of her face, hand etc

Colour Image - Multimodal Colour Image having multi-modal histogram

Histogram Image Histogram for the three colour spaces

Segmented Image

Experiments (contd.) Original Image, objective is to extract a line

Histogram Histogram giving us the six thresholds points, by plotting rows

Segmented Image

Segmented Image (contd.)

Conclusion After segmenting the image, the objects can be extracted using edge detection techniques. Image segmentation techniques are extensively used in Similarity Searches. (IDB) Thank You Thank You