Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.

Slides:



Advertisements
Similar presentations
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Advertisements

Image Analysis Phases Image pre-processing –Noise suppression, linear and non-linear filters, deconvolution, etc. Image segmentation –Detection of objects.
Segmentation (2): edge detection
Image Segmentation Region growing & Contour following Hyeun-gu Choi Advisor: Dr. Harvey Rhody Center for Imaging Science.
Segmentation and Region Detection Defining regions in an image.
Biomedical Image Analysis Rangaraj M. Rangayyan Ch. 5 Detection of Regions of Interest: Sections , Presentation March 3rd 2005 Jukka Parviainen.
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.
1Ellen L. Walker Segmentation Separating “content” from background Separating image into parts corresponding to “real” objects Complete segmentation Each.
Segmentation Divide the image into segments. Each segment:
Chapter 10 Image Segmentation.
Stockman MSU/CSE Fall 2009 Finding region boundaries.
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.
Tal Mor  Create an automatic system that given an image of a room and a color, will color the room walls  Maintaining the original texture.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
Introduction to Image Processing Grass Sky Tree ? ? Review.
CS 376b Introduction to Computer Vision 04 / 02 / 2008 Instructor: Michael Eckmann.
Segmentation Lucia Ballerini Digital Image Processing Lecture 8 Course book reading: GW 10.
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
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
CS 376b Introduction to Computer Vision 02 / 22 / 2008 Instructor: Michael Eckmann.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Segmentation.
Edges. Edge detection schemes can be grouped in three classes: –Gradient operators: Robert, Sobel, Prewitt, and Laplacian (3x3 and 5x5 masks) –Surface.
Joonas Vanninen Antonio Palomino Alarcos.  One of the objectives of biomedical image analysis  The characteristics of the regions are examined later.
Digital Image Processing Lecture 18: Segmentation: Thresholding & Region-Based Prof. Charlene Tsai.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP8 Segmentation Miguel Tavares Coimbra.
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.
EECS 274 Computer Vision Segmentation by Clustering II.
Segmentation: Region Based Methods Region-based methods –iterative methods based on region merging and/or splitting based on the degree of similarity of.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
Mathematical Morphology Mathematical morphology (matematická morfologie) –A special image analysis discipline based on morphological transformations of.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Autonomous Robots Vision © Manfred Huber 2014.
Mathematical Morphology
Digital Image Processing
Medical Image Analysis Image Segmentation Figures come from the textbook: Medical Image Analysis, by Atam P. Dhawan, IEEE Press, 2003.
Image Segmentation Image segmentation (segmentace obrazu)
Edges and Lines Readings: Chapter 10:
November 5, 2013Computer Vision Lecture 15: Region Detection 1 Basic Steps for Filtering in the Frequency Domain.
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Thresholding Foundation:. Thresholding In A: light objects in dark background To extract the objects: –Select a T that separates the objects from the.
Detecting Image Features: Corner. Corners Given an image, denote the image gradient. C is symmetric with two positive eigenvalues. The eigenvalues give.
Color Image Segmentation Mentor : Dr. Rajeev Srivastava Students: Achit Kumar Ojha Aseem Kumar Akshay Tyagi.
1 Edge Operators a kind of filtering that leads to useful features.
Object Recognition. Segmentation –Roughly speaking, segmentation is to partition the images into meaningful parts that are relatively homogenous in certain.
Image Representation and Description – Representation Schemes
Chapter 10 Image Segmentation
Fitting: Voting and the Hough Transform
Miguel Tavares Coimbra
Detection of discontinuity using
DIGITAL SIGNAL PROCESSING
Image Segmentation – Edge Detection
Fitting Curve Models to Edges
ECE 692 – Advanced Topics in Computer Vision
Fall 2012 Longin Jan Latecki
a kind of filtering that leads to useful features
a kind of filtering that leads to useful features
Emel Doğrusöz Esra Ataer Muhammet Baştan Tolga Can
Morphological Operators
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Presentation transcript:

Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties (attributes). Haralick and Shapiro –”The regions should be uniform and homogenous with respect to some characteristic such as intensity value or texture. Region interiors should be simple and without many small holes. Adjacent regions should have significantly different values with respect to the characteristic on which they are uniform. Boundaries of each segment should be simple, not ragged, and must be spatially accurate.”

Approaches to Image Segmentation Thresholding –Global thresholding –Local (adaptive) thresholding Edge detection –Curve fitting –Heuristic edge linking –Hough transform Region-based methods –Region growing –Region splitting –Split and merge Texture segmentation –Amplitude approach –Edge-based approach Clustering methods –Cluster analysis Template matching –Correlation with pattern Advanced methods –Mathematical morphology tools –Watershed algorithm –LCS algorithm

Thresholding Thresholding (prahování) –the pixels are split into regions based on their intensity: the pixels with the intensity higher than a predefined threshold value belong to a different region than the pixels with intensity lower than the threshold Global thresholding = thresholding –the threshold is equal for all pixels in the image (independent of their position in the image) Local (adaptive) thresholding –the threshold depends on the position of the pixel in the image Determination of the threshold –Manual: the threshold is set by user using a slider with preview –Automatic: using intensity histogram analysis

Bilevel Thresholding Bilevel thresholding (dvouúrovňové prahování) –Idea: If the image is simple (objects of similar intensity on a uniform background, e.g. typed text or cells of the same type), the histogram contains two peaks with a valley between them. The threshold is taken at the valley (at the local minimum between the two maxima). –For more precise determination of the minimum, the valley can be fitted by parabola. –If the histogram does not contain two peaks, sometimes it helps to compute the histogram only of those pixels, where the magnitude of Laplacian is large.

Multilevel Thresholding Multilevel thresholding (víceúrovňové prahování) –Idea: If the image contains several types of objects on a uniform background and each type of object has got a specific intensity range, (e.g. a mixture of cells of several types), the histogram contains several peaks with valleys between them. Several thresholds are taken, one threshold per each valley (at the local minimum between the two neighboring maxima). –For more precise determination of the minimum, the valley can be fitted by parabola.

Thresholding of Color Images Color images can be segmented in the following ways: –The thresholding is performed in each color channel (RGB) separately. –The thresholding is performed not according to the intensity but according to hue, saturation or other characteristics. –The user (or computer) selects specific ranges of colors for each object type.

Local (Adaptive) Thresholding Motivation a) Uneven background intensity b)Uniform background intensity but uneven object intensities which do not form individual peaks in the histogram (the peaks of indivi- dual object types overlap in the histogram forming one wider peak)

Local (Adaptive) Thresholding Solutions 1)The image is divided into regular subregions (e.g. squares) and the threshold is set individually for each region using the analysis of the histogram computed from this particular region. Not very good results at the edges between regions. 2)The same as 1) but thresholds for individual pixels are determined using interpolation of the threshold value among the regions. Good in case a) but not in case b). 3)First, global thresholding is performed to separate background from objects. Then, for each object, local intensity histogram is computed and threshold determined. All objects are re-segmented with individual thresholds Good in case b) but problems arise when two types of objects (of different intensities) touch each other and are treated as one region after the initial global thresholding.

Local Thresholding Example Original grayscale image High global threshold Low global threshold Individual threshold for each object

Edge Detection Segmentation based on edge detection –Determination of object boundaries from a gradient image (1st derivative of the original image) or Laplacian image (2nd derivative of the original image), which are usually obtained using Sobel or Laplacian filters, respectively. Problem –Boundaries in gradient image are not continuous! Solution 1: Curve fitting –Assumption: Objects in the image are simple, the edge map does not contain branches. Iterative end-point line fitting Other polygon fittings Polynomial fittings Bezier polynomial or spline fittings

Edge Detection Solution 2: Heuristic edge linking –Assumption: objects in the image are not too complicated. –Boundary points are linked with lines using a certain heuristic algorithm, then multiple connections and branches are deleted and finally boundary fragments are connected with ”bridges”. Solution 3: Hough transform –Assumption: objects in the image are not too complicated. –Hough transform is a transformation of a line in Cartesian coordinates to a point in polar coordinates according to the equation: where  is the normal distance of the line from the origin and  is the angle of the normal with respect to the x axis.

Hough Transform Basic facts about Hough transform –A line is transformed to a point. –A family of lines passing through a common point is transformed to a connected set of points (a curve). –Three families of lines passing through 3 colinear points are transformed to 3 curves that intersect at a single point corresponding to a line in Cartesian coordinates passing through these three points. –In discrete Hough transform of a binary image, each non-zero data point in the original image is transformed to a curve in the polar domain, which is quantized into cells (pixels). If the curve passes the given cell in polar coordinates, the cell is incremented by one count. –In discrete Hough transform of a gray-scale image, the cell is incremented by a value corresponding to the gradient magnitude (i.e. strong edges have bigger influence than weak edges).

Hough Transform Hough transform edge linking –Each cell in the Hough image whose magnitude is sufficiently large defines a straight line that passes through the original image. –If this line is overlaid with the image edge map (gradient image), it should cover the missing links of straight line edge segments. –The missing links must be filled using a certain heuristic method (like in Solution 2). Generalized Hough transform –Hough transform can be generalized for arbitrary functions (arbitrary shapes). Besides lines, the most important is the detection of circles in images. In this case, the parameters in Hough space are the circle center (x,y) and radius (r) if it is not known a priori. Recommended web pages on Hough transform