Image Processing and Image Analysis VU

Size: px
Start display at page:

Download "Image Processing and Image Analysis VU"

Transcription

1 Image Processing and Image Analysis VU Yll Haxhimusa vda.univie.ac.at/teaching/ipa/17w/

2 Outline What are grouping problems in vision? Inspiration from human perception Gestalt properties Bottom up segmentation Algorithms: Merging and splitting Mode finding and mean shift: k means, mean shift Graph based: normalized cuts Features: color, texture, IPA 2

3 Grouping in vision The whole is equal to the sum of its parts The whole is greater the sum of its parts Goals: Euclid Max Wertheimer Gather features that belong together Obtain an intermediate representation that compactly describes key image or video parts IPA 3

4 A simple segmentation problem 4 IPA 4

5 It can get a lot harder Brady, M. J., & Kersten, D. (2003). Bootstrapped learning of novel objects. J Vis, 3(6), IPA 5

6 Examples of grouping in vision [Figure by J. Shi] Determine image regions [ peakdepvidindex_img2.jpg] Group video frames into shots Fg / Bg [Figure by Wang & Suter] Figure-ground [Figure by Grauman & Darrell] Object-level grouping IPA 6

7 Grouping in vision Goals: Gather features that belong together Obtain an intermediate representation that compactly describes key image (video) parts Top down vs. bottom up segmentation Top down: pixels belong together because they are from the same object Bottom up: pixels belong together because they look similar Hard to measure success What is interesting depends on the app. IPA 7

8 IPA 8

9 Muller Lyer illusion IPA 9

10 What things should be grouped? What cues indicate groups? IPA 10

11 Perceptual organization the processes by which the bits and pieces of visual information that are available in the retinal image are structured into the larger units of perceived objects and their interrelations Stephen E. Palmer, Vision Science, 1999 IPA 11

12 Gestalt Gestalt: whole or group Whole is greater than sum of its parts Relationships among parts can yield new properties/features Psychologists identified series of factors that predispose set of elements to be grouped (by human visual system) Gestalt principles There are hundreds of different grouping laws IPA 12

13 IPA 13

14 Familiar configuration IPA 14

15 Similarity IPA

16 Symmetry IPA 16

17 Common fate Image credit: Arthus-Bertrand (via F. Durand) IPA 17

18 Proximity IPA 18

19 Illusory/subjective contours Interesting tendency to explain by occlusion In Vision, D. Marr, 1982 IPA 19

20 IPA 20

21 Continuity, explanation by occlusion IPA 21

22 Grouping is a global process IPA 22

23 Grouping is a global process Occlusion is an important cue in grouping. IPA 23

24 but not too global IPA 24

25 Magritte, 1957 IPA 25

26 Figure ground IPA 26

27 Groupings by Invisible Completions IPA 27

28 IPA 28 In Vision, D. Marr, 1982; from J. L. Marroquin, Human visual perception of structure, 1976.

29 Familiarity IPA 29

30 Familiarity IPA 30

31 Influences of grouping Grouping influences other perceptual mechanisms such as lightness perception IPAhttp://web.mit.edu/persci/people/adelson/publications/gazzan.dir/koffka.html 31

32 Gestalt Gestalt: whole or group Whole is greater than sum of its parts Relationships among parts can yield new properties/features Psychologists identified series of factors that predispose set of elements to be grouped (by human visual system) Inspiring observations/explanations; challenge remains how to best map to algorithms. IPA 32

33 Image segmentation Has the goal of dividing an image into parts (regions) that have a strong correlation with objects or areas of the real world contained in the image (Sonka et al., 1999) For narrow domain applications, automatic image segmentation can produce very good results: IPA 33 Automatic segmentation of silver grains on a photographic plate (Beucher)

34 The goals of segmentation Separate image into coherent objects image human segmentation IPA 34 Source: Lana Lazebnik

35 The goals of segmentation Separate image into coherent objects Group together similar looking pixels for efficiency of further processing superpixels X. Ren and J. Malik. Learning a classification IPA model for segmentation. ICCV Source: Lana Lazebnik

36 Partitions X 1 X 2 X 3 The usual aim of segmentation is to produce a partition of the image. X X 6 4 X 5 A partition is defined as a division of a set into nonempty disjoint sets which completely cover the set. Mathematically, a collection of sets X 1,, X n defines a partition of a set X if an only if: 1.for all X i (X), X i (no subset is empty); 2.for all X i, X j (X), i j X i X j = (subsets are disjoint); 3. i {X i X i (X) } = X (the subsets cover X). IPA 36 Each subset X i is referred to as a region of X. X Euclid

37 Examples of partitions IPA 37

38 For wider domain applications, such as general image understanding, automatic segmentation is not capable of separating out all image objects. This is because: Segmentation uses only criteria based on homogeneity or heterogeneity of image properties (colour, texture, ) No knowledge of objects is present. IPA 38

39 There is no correct segmentation, as can be seen by these segmentations, produced by a number of humans. From the Berkeley segmentation benchmark IPA 39

40 When asked to segment an image, humans automatically make use of contextual information. In this case, it is: Shadows are not objects, even if they have a strong boundary. Information about the shape of a horse there is no visible boundary between the foot and the shadow. IPA 40 From the Berkeley segmentation benchmark

41 Depending on how the homogeneity criteria are set up, the results of segmentation can be: As required Over segmented Under segmented IPA 41

42 Image segmentation: toy example pixel count black pixels gray pixels white pixels input image intensity These intensities define the three groups. We could label every pixel in the image according to which of these primary intensities it is. i.e., segment the image based on the intensity feature. What if the image isn t quite so simple? Kristen Grauman IPA 42

43 input image pixel count intensity pixel count Kristen Grauman input image intensity IPA 43

44 pixel count input image intensity Now how to determine the three main intensities that define our groups? Kristen Grauman IPA 44

45 Segmentation by Thresholding The simplest segmentation method. Suitable if: objects do not touch each other; their greylevels are clearly distinct from the background greylevels. Many methods exist for choosing the threshold automatically based on histogram analysis. Smooth and then search for minima. Approximation of the histogram by normal distributions. etc. IPA 45

46 Example: Greylevel histogram based segmentation Noise free Low noise High noise From Spann IPA 46

47 Greylevel histogram based segmentation How do we characterise low noise and high noise? We can consider the histograms of our images For the noise free image, its simply two spikes at i=100, i=150 For the low noise image, there are two clear peaks centred on i=100, i=150 For the high noise image, there is a single peak two greylevel populations corresponding to object and background have merged IPA 47

48 Greylevel histogram based segmentation h(i) Noise free Low noise High noise i IPA 48

49 Greylevel histogram based segmentation We can define the input image signal to noise ratio in terms of the mean greylevel value of the object pixels and background pixels and the noise standard deviation S / N b o IPA 49

50 Greylevel histogram based segmentation For our test images : S/N (noise free) = S/N (low noise) = 5 S/N (high noise) = 2 IPA 50

51 Greylevel thresholding We can easily understand segmentation based on thresholding by looking at the histogram of the low noise object/background image There is a clear valley between to two peaks IPA 51

52 Greylevel thresholding h(i) Background Object i T IPA 52

53 Greylevel thresholding We can define the greylevel thresholding algorithm as follows: If the greylevel of pixel p <=T then pixel p is an object pixel else Pixel p is a background pixel IPA 53

54 Greylevel thresholding This simple threshold test begs the obvious question how do we determine the threshold? Many approaches possible Interactive threshold Adaptive threshold Minimisation method IPA 54

55 Greylevel thresholding We will consider in detail a minimisation method for determining the threshold Minimisation of the within group variance Robot Vision, Haralick & Shapiro, volume 1, page 20 IPA 55

56 Greylevel thresholding Idealized object/background image histogram h(i) T i IPA 56

57 Greylevel thresholding Any threshold separates the histogram into 2 groups with each group having its own statistics (mean, variance) The homogeneity of each group is measured by the within group variance The optimum threshold is that threshold which minimizes the within group variance thus maximizing the homogeneity of each group Otsu s Thresholding method (1979) IPA 57

58 Greylevel thresholding Let group o (object) be those pixels with greylevel <=T Let group b (background) be those pixels with greylevel >T The prior probability of group o is p o (T) The prior probability of group b is p b (T) IPA 58

59 Greylevel thresholding The following expressions can easily be derived for prior probabilities of object and background p ( T) P( i) o i p ( T) P( i) b where h(i) is the histogram of an N pixel image T i T 1 P(i ) h( i )/ N IPA 59

60 Greylevel thresholding The mean and variance of each group are as follows : o T ( T) ip(i)/ p ( T) i b i T 1 ( T) ip( i)/ p ( T) T 2 2 o o i 0 ( T) i ( T) P(i)/ p ( T) b b i T 1 ( T) i ( T) P( i)/ p ( T) o b o b IPA 60

61 Greylevel thresholding The within group variance is defined as : 2 ( T) 2 ( T) p ( T) 2 ( T) p ( T) W o o b b We determine the optimum T by minimizing this expression with respect to T Only requires 256 comparisons for and 8 bit greylevel image IPA 61

62 Greylevel thresholding h(i) T opt Histogram Within group variance i IPA 62

63 Greylevel thresholding We can examine the performance of this algorithm on our low and high noise image For the low noise case, it gives an optimum threshold of T=124 Almost exactly halfway between the object and background peaks We can apply this optimum threshold to both the low and high noise images IPA 63

64 Greylevel thresholding Low noise image Thresholded at T=124 IPA 64

65 Greylevel thresholding Low noise image Thresholded at T=124 IPA 65

66 Greylevel thresholding High level of pixel miss classification noticeable This is typical performance for thresholding The extent of pixel miss classification is determined by the overlap between object and background histograms. IPA 66

67 Greylevel thresholding p(x) 0.02 Background 0.01 Object 0.00 x o b T IPA 67

68 Greylevel thresholding p(x) 0.02 Background 0.01 Object 0.00 x o b T IPA 68

69 Greylevel thresholding Easy to see that, in both cases, for any value of the threshold, object pixels will be miss classified as background and vice versa For greater histogram overlap, the pixel miss classification is obviously greater We could even quantify the probability of error in terms of the mean and standard deviations of the object and background histograms IPA 69

70 Greylevel clustering Consider an idealized object/background histogram Background Object IPA 70 c 1 c 2

71 Edge based segmentation We look for borders separating regions in the image. Rely on edges found by edge detecting operators these edges mark discontinuities in greylevel, colour, texture, etc. These edges cannot be directly used as a segmentation Post processing steps combine edges into edge chains which correspond better with borders in the image. Common problems: caused by noise or unsuitable information in an image. Edge presence in locations where there is no border. no edge presence where a real border exists. IPA 71

72 Edge image thresholding Small edge values in gradient images correspond to non significant greylevel changes. Thresholding of an edge image can remove these small values. from Sonka et al. Original image Edge image (weak edges enhanced) IPA Edge image thresholded at 30 Edge image thresholded 72 at 10

73 Comments on edge based segmentation Some edge refinement methods are available, such as edge relaxation: The edge information within a neighbourhood is taken into account to increase or decrease the probability that edges are borders. use of border local information: if one has an assumption as to where a border should be, then edges close to this assumed border in the correct direction are part of it. edge linking etc. Regions can be constructed from detected borders that are complete (i.e. form closed boundaries). However, detected borders are almost always incomplete IPA 73

74 Region based segmentation These methods construct regions directly. The results of edge based and region based methods are usually not the same. Homogeneity is an important property of regions it can be based on greylevel, colour, texture, shape, etc. IPA 74

75 Definitions Based on sets. Each image R is a set of regions R i. R 7 R 6 Every pixel belongs to one region. One pixel can only belong to a single region. R 2 R 1 R 3 R 5 R 4 R S i 1 R i R i R j IPA 75

76 R 7 R 6 R 1 R 5 R 2 R 3 R 4 IPA 76

77 Basic Formulation Let R represent the entire image region. Segmentation partitions R into n subregions, R 1, R 2,..., R n, such that: a) b) c) d) e) n i 1 R i R i R i R is a connected region, i R j for all i and 1, j, i P( R i ) TRUE for i 1,2,..., n. P( R R ) FALSE for i j. i j j 2,..., n. a) Every pixel must be in a region b) Points in a region must be connected. c) Regions must be disjoint. d) All pixels in a region satisfy specific properties. e) Different regions have different properties. IPA 77

78 How do we form regions? Region Growing Region Merging Region Splitting Split and Merge Watershed... What a computer sees IPA 78

79 Region growing Groups pixels into larger regions. Starts with a seed region. Grows region by merging neighboring pixels. Iterative process How to start? How to iterate? When to stop? Finish Initial Regions Iterations Stop Condition IPA 79

80 IPA 80

81 Region merging Algorithm Divide image into an initial set of regions. One region per pixel. Define a similarity criteria for merging regions. Merge similar regions. Repeat previous step until no more merge operations are possible. IPA 81

82 Similarity Criteria Homogeneity of regions is used as the main segmentation criterion in region growing. gray level color, texture shape model etc. Choice of criteria affects segmentation results dramatically! IPA 82

83 Region splitting Algorithm One initial set that includes the whole image. Similarity criteria. Iteratively split regions into sub regions. Stop when no more splittings are possible. R 1 R 1 R 2 R 1 R 2 R 3 R 4 R 5 R 6 R 7 R 3 R 4 R 1 R 2 R 3 R 4 R 6 R 5 R 7 IPA 83

84 IPA 84 [Machine Vision; David Vernon]

85 Split and Merge Combination of both algorithms. Can handle a larger variety of shapes. Simply apply previous algorithms consecutively. IPA 85

86 Watershed transformation So far we have seen some: Region based methods: Regions are grown based on homogeneity criteria. Edge based methods: Discontinuities between regions are looked for. You can combine region and edge based methods watersheds: It groups pixels around the regional minima of the image. Boundaries of adjacent groupings are precisely located along the crest lines of the gradient image. Advantages: Usually produces more stable segmentation results. Always produces continuous region boundaries. Provides a simple way of including knowledge based constraints. IPA 86

87 Watershed transformation basis (1) We consider a greyscale image as a topographic representation. Reminder: IPA 87

88 Watershed transformation basis (2) If a drop of water falls on such a topographic surface, it will obey the law of gravitation and flow along the path of steepest slope until it reaches a minimum. The whole set of points of the surface whose paths of steepest slope reach a given minimum constitutes the catchment basin associated with this minimum. The watersheds are the zones dividing adjacent catchment basins. Watershed Lines Catchment Basins surface of the function Minima IPA 88

89 Watershed construction by flooding (1) Suppose that holes are made in each local minimum and that the surface is flooded from these holes. Progressively, the water level will increase. In order to prevent the merging of water coming from two different holes, a dam is progressively built at each contact point. At the end, the Water level union of all complete dams constitute the watersheds. Dams under construction IPA 89 Minima

90 Watershed construction by flooding (2) Example: from IPA 90

91 Segmentation as clustering Cluster together (pixels, tokens, etc.) that belong together Agglomerative clustering/merging/growing merge cluster that are closer to each other repeat Divisive clustering/splitting split cluster along best boundary repeat Dendrograms yield a picture of output as clustering process continues IPA 91

92 Summary Segmentation to find object boundaries or mid level regions. Bottom up segmentation via merging Next segmentation as clustering K means Mean shift Graph cut, normalized cuts IPA 92

93 Many thanks to R. Szeliski, K. Grauman, Ch. M. Bishop, A. Torralba, Gonzales etal. and other mentioned This slides are for your personal usage only and can be used only for educational purpose! The copyrights of all the authors are aknowledged.

Grouping and Segmentation

Grouping and Segmentation Grouping and Segmentation CS 554 Computer Vision Pinar Duygulu Bilkent University (Source:Kristen Grauman ) Goals: Grouping in vision Gather features that belong together Obtain an intermediate representation

More information

Outline. Segmentation & Grouping. Examples of grouping in vision. Grouping in vision. Grouping in vision 2/9/2011. CS 376 Lecture 7 Segmentation 1

Outline. Segmentation & Grouping. Examples of grouping in vision. Grouping in vision. Grouping in vision 2/9/2011. CS 376 Lecture 7 Segmentation 1 Outline What are grouping problems in vision? Segmentation & Grouping Wed, Feb 9 Prof. UT-Austin Inspiration from human perception Gestalt properties Bottom-up segmentation via clustering Algorithms: Mode

More information

CMPSCI 670: Computer Vision! Grouping

CMPSCI 670: Computer Vision! Grouping CMPSCI 670: Computer Vision! Grouping University of Massachusetts, Amherst October 14, 2014 Instructor: Subhransu Maji Slides credit: Kristen Grauman and others Final project guidelines posted Milestones

More information

Segmentation and Grouping April 19 th, 2018

Segmentation and Grouping April 19 th, 2018 Segmentation and Grouping April 19 th, 2018 Yong Jae Lee UC Davis Features and filters Transforming and describing images; textures, edges 2 Grouping and fitting [fig from Shi et al] Clustering, segmentation,

More information

Segmentation and Grouping

Segmentation and Grouping CS 1699: Intro to Computer Vision Segmentation and Grouping Prof. Adriana Kovashka University of Pittsburgh September 24, 2015 Goals: Grouping in vision Gather features that belong together Obtain an intermediate

More information

Segmentation and Grouping April 21 st, 2015

Segmentation and Grouping April 21 st, 2015 Segmentation and Grouping April 21 st, 2015 Yong Jae Lee UC Davis Announcements PS0 grades are up on SmartSite Please put name on answer sheet 2 Features and filters Transforming and describing images;

More information

Segmentation & Grouping Kristen Grauman UT Austin. Announcements

Segmentation & Grouping Kristen Grauman UT Austin. Announcements Segmentation & Grouping Kristen Grauman UT Austin Tues Feb 7 A0 on Canvas Announcements No office hours today TA office hours this week as usual Guest lecture Thursday by Suyog Jain Interactive segmentation

More information

Image Segmentation. Selim Aksoy. Bilkent University

Image Segmentation. Selim Aksoy. Bilkent University Image Segmentation Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr Examples of grouping in vision [http://poseidon.csd.auth.gr/lab_research/latest/imgs/s peakdepvidindex_img2.jpg]

More information

Image Segmentation. Selim Aksoy. Bilkent University

Image Segmentation. Selim Aksoy. Bilkent University Image Segmentation Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr Examples of grouping in vision [http://poseidon.csd.auth.gr/lab_research/latest/imgs/s peakdepvidindex_img2.jpg]

More information

CS 2770: Computer Vision. Edges and Segments. Prof. Adriana Kovashka University of Pittsburgh February 21, 2017

CS 2770: Computer Vision. Edges and Segments. Prof. Adriana Kovashka University of Pittsburgh February 21, 2017 CS 2770: Computer Vision Edges and Segments Prof. Adriana Kovashka University of Pittsburgh February 21, 2017 Edges vs Segments Figure adapted from J. Hays Edges vs Segments Edges More low-level Don t

More information

CS 534: Computer Vision Segmentation and Perceptual Grouping

CS 534: Computer Vision Segmentation and Perceptual Grouping CS 534: Computer Vision Segmentation and Perceptual Grouping Ahmed Elgammal Dept of Computer Science CS 534 Segmentation - 1 Outlines Mid-level vision What is segmentation Perceptual Grouping Segmentation

More information

Lecture 7: Segmentation. Thursday, Sept 20

Lecture 7: Segmentation. Thursday, Sept 20 Lecture 7: Segmentation Thursday, Sept 20 Outline Why segmentation? Gestalt properties, fun illusions and/or revealing examples Clustering Hierarchical K-means Mean Shift Graph-theoretic Normalized cuts

More information

CS 534: Computer Vision Segmentation and Perceptual Grouping

CS 534: Computer Vision Segmentation and Perceptual Grouping CS 534: Computer Vision Segmentation and Perceptual Grouping Spring 2005 Ahmed Elgammal Dept of Computer Science CS 534 Segmentation - 1 Where are we? Image Formation Human vision Cameras Geometric Camera

More information

Applications. Foreground / background segmentation Finding skin-colored regions. Finding the moving objects. Intelligent scissors

Applications. Foreground / background segmentation Finding skin-colored regions. Finding the moving objects. Intelligent scissors Segmentation I Goal Separate image into coherent regions Berkeley segmentation database: http://www.eecs.berkeley.edu/research/projects/cs/vision/grouping/segbench/ Slide by L. Lazebnik Applications Intelligent

More information

Image Analysis Image Segmentation (Basic Methods)

Image Analysis Image Segmentation (Basic Methods) Image Analysis Image Segmentation (Basic Methods) Christophoros Nikou cnikou@cs.uoi.gr Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008. Computer Vision course

More information

Segmentation by Clustering. Segmentation by Clustering Reading: Chapter 14 (skip 14.5) General ideas

Segmentation by Clustering. Segmentation by Clustering Reading: Chapter 14 (skip 14.5) General ideas Reading: Chapter 14 (skip 14.5) Data reduction - obtain a compact representation for interesting image data in terms of a set of components Find components that belong together (form clusters) Frame differencing

More information

Segmentation by Clustering Reading: Chapter 14 (skip 14.5)

Segmentation by Clustering Reading: Chapter 14 (skip 14.5) Segmentation by Clustering Reading: Chapter 14 (skip 14.5) Data reduction - obtain a compact representation for interesting image data in terms of a set of components Find components that belong together

More information

Computer Vision 5 Segmentation by Clustering

Computer Vision 5 Segmentation by Clustering Computer Vision 5 Segmentation by Clustering MAP-I Doctoral Programme Miguel Tavares Coimbra Outline Introduction Applications Simple clustering K-means clustering Graph-theoretic clustering Acknowledgements:

More information

Image segmentation. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year

Image segmentation. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year Image segmentation Stefano Ferrari Università degli Studi di Milano stefano.ferrari@unimi.it Methods for Image Processing academic year 2017 2018 Segmentation by thresholding Thresholding is the simplest

More information

Segmentation (continued)

Segmentation (continued) Segmentation (continued) Lecture 05 Computer Vision Material Citations Dr George Stockman Professor Emeritus, Michigan State University Dr Mubarak Shah Professor, University of Central Florida The Robotics

More information

VC 10/11 T9 Region-Based Segmentation

VC 10/11 T9 Region-Based Segmentation VC 10/11 T9 Region-Based Segmentation Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos Miguel Tavares Coimbra Outline Region-based Segmentation Morphological

More information

Segmentation. Bottom Up Segmentation

Segmentation. Bottom Up Segmentation Segmentation Bottom up Segmentation Semantic Segmentation Bottom Up Segmentation 1 Segmentation as clustering Depending on what we choose as the feature space, we can group pixels in different ways. Grouping

More information

The goals of segmentation

The goals of segmentation Image segmentation The goals of segmentation Group together similar-looking pixels for efficiency of further processing Bottom-up process Unsupervised superpixels X. Ren and J. Malik. Learning a classification

More information

Content-based Image and Video Retrieval. Image Segmentation

Content-based Image and Video Retrieval. Image Segmentation Content-based Image and Video Retrieval Vorlesung, SS 2011 Image Segmentation 2.5.2011 / 9.5.2011 Image Segmentation One of the key problem in computer vision Identification of homogenous region in the

More information

Grouping and Segmentation

Grouping and Segmentation 03/17/15 Grouping and Segmentation Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem Today s class Segmentation and grouping Gestalt cues By clustering (mean-shift) By boundaries (watershed)

More information

Region-based Segmentation

Region-based Segmentation Region-based Segmentation Image Segmentation Group similar components (such as, pixels in an image, image frames in a video) to obtain a compact representation. Applications: Finding tumors, veins, etc.

More information

6.801/866. Segmentation and Line Fitting. T. Darrell

6.801/866. Segmentation and Line Fitting. T. Darrell 6.801/866 Segmentation and Line Fitting T. Darrell Segmentation and Line Fitting Gestalt grouping Background subtraction K-Means Graph cuts Hough transform Iterative fitting (Next time: Probabilistic segmentation)

More information

2D image segmentation based on spatial coherence

2D image segmentation based on spatial coherence 2D image segmentation based on spatial coherence Václav Hlaváč Czech Technical University in Prague Center for Machine Perception (bridging groups of the) Czech Institute of Informatics, Robotics and Cybernetics

More information

C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S. Image Operations II

C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S. Image Operations II T H E U N I V E R S I T Y of T E X A S H E A L T H S C I E N C E C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S Image Operations II For students of HI 5323

More information

EE 701 ROBOT VISION. Segmentation

EE 701 ROBOT VISION. Segmentation EE 701 ROBOT VISION Regions and Image Segmentation Histogram-based Segmentation Automatic Thresholding K-means Clustering Spatial Coherence Merging and Splitting Graph Theoretic Segmentation Region Growing

More information

REGARDING THE WATERSHED...

REGARDING THE WATERSHED... REGARDING THE WATERSHED... Serge BEUCHER Center of Mathematical Morphology Paris School of Mines THE WATERSHED TRANSFORMATION in SEGMENTATION The Watershed transformation has proven to be an efficient

More information

Part 3: Image Processing

Part 3: Image Processing Part 3: Image Processing Image Filtering and Segmentation Georgy Gimel farb COMPSCI 373 Computer Graphics and Image Processing 1 / 60 1 Image filtering 2 Median filtering 3 Mean filtering 4 Image segmentation

More information

Segmentation and Grouping

Segmentation and Grouping 02/23/10 Segmentation and Grouping Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem Last week Clustering EM Today s class More on EM Segmentation and grouping Gestalt cues By boundaries

More information

Idea. Found boundaries between regions (edges) Didn t return the actual region

Idea. Found boundaries between regions (edges) Didn t return the actual region Region Segmentation Idea Edge detection Found boundaries between regions (edges) Didn t return the actual region Segmentation Partition image into regions find regions based on similar pixel intensities,

More information

Today INF How did Andy Warhol get his inspiration? Edge linking (very briefly) Segmentation approaches

Today INF How did Andy Warhol get his inspiration? Edge linking (very briefly) Segmentation approaches INF 4300 14.10.09 Image segmentation How did Andy Warhol get his inspiration? Sections 10.11 Edge linking 10.2.7 (very briefly) 10.4 10.5 10.6.1 Anne S. Solberg Today Segmentation approaches 1. Region

More information

Introduction to Medical Imaging (5XSA0) Module 5

Introduction to Medical Imaging (5XSA0) Module 5 Introduction to Medical Imaging (5XSA0) Module 5 Segmentation Jungong Han, Dirk Farin, Sveta Zinger ( s.zinger@tue.nl ) 1 Outline Introduction Color Segmentation region-growing region-merging watershed

More information

Segmentation of Images

Segmentation of Images Segmentation of Images SEGMENTATION If an image has been preprocessed appropriately to remove noise and artifacts, segmentation is often the key step in interpreting the image. Image segmentation is a

More information

Image Analysis - Lecture 5

Image Analysis - Lecture 5 Texture Segmentation Clustering Review Image Analysis - Lecture 5 Texture and Segmentation Magnus Oskarsson Lecture 5 Texture Segmentation Clustering Review Contents Texture Textons Filter Banks Gabor

More information

Image Segmentation Based on Watershed and Edge Detection Techniques

Image Segmentation Based on Watershed and Edge Detection Techniques 0 The International Arab Journal of Information Technology, Vol., No., April 00 Image Segmentation Based on Watershed and Edge Detection Techniques Nassir Salman Computer Science Department, Zarqa Private

More information

Bioimage Informatics

Bioimage Informatics Bioimage Informatics Lecture 14, Spring 2012 Bioimage Data Analysis (IV) Image Segmentation (part 3) Lecture 14 March 07, 2012 1 Outline Review: intensity thresholding based image segmentation Morphological

More information

EECS490: Digital Image Processing. Lecture #22

EECS490: Digital Image Processing. Lecture #22 Lecture #22 Gold Standard project images Otsu thresholding Local thresholding Region segmentation Watershed segmentation Frequency-domain techniques Project Images 1 Project Images 2 Project Images 3 Project

More information

Processing and Others. Xiaojun Qi -- REU Site Program in CVMA

Processing and Others. Xiaojun Qi -- REU Site Program in CVMA Advanced Digital Image Processing and Others Xiaojun Qi -- REU Site Program in CVMA (0 Summer) Segmentation Outline Strategies and Data Structures Overview of Algorithms Region Splitting Region Merging

More information

Lecture: k-means & mean-shift clustering

Lecture: k-means & mean-shift clustering Lecture: k-means & mean-shift clustering Juan Carlos Niebles and Ranjay Krishna Stanford Vision and Learning Lab 1 Recap: Image Segmentation Goal: identify groups of pixels that go together 2 Recap: Gestalt

More information

Lecture: k-means & mean-shift clustering

Lecture: k-means & mean-shift clustering Lecture: k-means & mean-shift clustering Juan Carlos Niebles and Ranjay Krishna Stanford Vision and Learning Lab Lecture 11-1 Recap: Image Segmentation Goal: identify groups of pixels that go together

More information

Image Analysis Lecture Segmentation. Idar Dyrdal

Image Analysis Lecture Segmentation. Idar Dyrdal Image Analysis Lecture 9.1 - Segmentation Idar Dyrdal Segmentation Image segmentation is the process of partitioning a digital image into multiple parts The goal is to divide the image into meaningful

More information

ECG782: Multidimensional Digital Signal Processing

ECG782: Multidimensional Digital Signal Processing Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu ECG782: Multidimensional Digital Signal Processing Spring 2014 TTh 14:30-15:45 CBC C313 Lecture 10 Segmentation 14/02/27 http://www.ee.unlv.edu/~b1morris/ecg782/

More information

Basic Algorithms for Digital Image Analysis: a course

Basic Algorithms for Digital Image Analysis: a course Institute of Informatics Eötvös Loránd University Budapest, Hungary Basic Algorithms for Digital Image Analysis: a course Dmitrij Csetverikov with help of Attila Lerch, Judit Verestóy, Zoltán Megyesi,

More information

Region & edge based Segmentation

Region & edge based Segmentation INF 4300 Digital Image Analysis Region & edge based Segmentation Fritz Albregtsen 06.11.2018 F11 06.11.18 IN5520 1 Today We go through sections 10.1, 10.4, 10.5, 10.6.1 We cover the following segmentation

More information

Operators-Based on Second Derivative double derivative Laplacian operator Laplacian Operator Laplacian Of Gaussian (LOG) Operator LOG

Operators-Based on Second Derivative double derivative Laplacian operator Laplacian Operator Laplacian Of Gaussian (LOG) Operator LOG Operators-Based on Second Derivative The principle of edge detection based on double derivative is to detect only those points as edge points which possess local maxima in the gradient values. Laplacian

More information

Image Segmentation. Srikumar Ramalingam School of Computing University of Utah. Slides borrowed from Ross Whitaker

Image Segmentation. Srikumar Ramalingam School of Computing University of Utah. Slides borrowed from Ross Whitaker Image Segmentation Srikumar Ramalingam School of Computing University of Utah Slides borrowed from Ross Whitaker Segmentation Semantic Segmentation Indoor layout estimation What is Segmentation? Partitioning

More information

CS 664 Segmentation. Daniel Huttenlocher

CS 664 Segmentation. Daniel Huttenlocher CS 664 Segmentation Daniel Huttenlocher Grouping Perceptual Organization Structural relationships between tokens Parallelism, symmetry, alignment Similarity of token properties Often strong psychophysical

More information

Topic 4 Image Segmentation

Topic 4 Image Segmentation Topic 4 Image Segmentation What is Segmentation? Why? Segmentation important contributing factor to the success of an automated image analysis process What is Image Analysis: Processing images to derive

More information

identified and grouped together.

identified and grouped together. Segmentation ti of Images SEGMENTATION If an image has been preprocessed appropriately to remove noise and artifacts, segmentation is often the key step in interpreting the image. Image segmentation is

More information

Image Segmentation continued Graph Based Methods. Some slides: courtesy of O. Capms, Penn State, J.Ponce and D. Fortsyth, Computer Vision Book

Image Segmentation continued Graph Based Methods. Some slides: courtesy of O. Capms, Penn State, J.Ponce and D. Fortsyth, Computer Vision Book Image Segmentation continued Graph Based Methods Some slides: courtesy of O. Capms, Penn State, J.Ponce and D. Fortsyth, Computer Vision Book Previously Binary segmentation Segmentation by thresholding

More information

Color Image Segmentation

Color Image Segmentation Color Image Segmentation Yining Deng, B. S. Manjunath and Hyundoo Shin* Department of Electrical and Computer Engineering University of California, Santa Barbara, CA 93106-9560 *Samsung Electronics Inc.

More information

Targil 12 : Image Segmentation. Image segmentation. Why do we need it? Image segmentation

Targil 12 : Image Segmentation. Image segmentation. Why do we need it? Image segmentation Targil : Image Segmentation Image segmentation Many slides from Steve Seitz Segment region of the image which: elongs to a single object. Looks uniform (gray levels, color ) Have the same attributes (texture

More information

CS443: Digital Imaging and Multimedia Perceptual Grouping Detecting Lines and Simple Curves

CS443: Digital Imaging and Multimedia Perceptual Grouping Detecting Lines and Simple Curves CS443: Digital Imaging and Multimedia Perceptual Grouping Detecting Lines and Simple Curves Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Outlines Perceptual Grouping and Segmentation

More information

Segmentation

Segmentation Lecture 6: Segmentation 24--4 Robin Strand Centre for Image Analysis Dept. of IT Uppsala University Today What is image segmentation? A smörgåsbord of methods for image segmentation: Thresholding Edge-based

More information

ECEN 447 Digital Image Processing

ECEN 447 Digital Image Processing ECEN 447 Digital Image Processing Lecture 8: Segmentation and Description Ulisses Braga-Neto ECE Department Texas A&M University Image Segmentation and Description Image segmentation and description are

More information

Lecture: Segmentation I FMAN30: Medical Image Analysis. Anders Heyden

Lecture: Segmentation I FMAN30: Medical Image Analysis. Anders Heyden Lecture: Segmentation I FMAN30: Medical Image Analysis Anders Heyden 2017-11-13 Content What is segmentation? Motivation Segmentation methods Contour-based Voxel/pixel-based Discussion What is segmentation?

More information

CS 4495 Computer Vision. Segmentation. Aaron Bobick (slides by Tucker Hermans) School of Interactive Computing. Segmentation

CS 4495 Computer Vision. Segmentation. Aaron Bobick (slides by Tucker Hermans) School of Interactive Computing. Segmentation CS 4495 Computer Vision Aaron Bobick (slides by Tucker Hermans) School of Interactive Computing Administrivia PS 4: Out but I was a bit late so due date pushed back to Oct 29. OpenCV now has real SIFT

More information

From Pixels to Blobs

From Pixels to Blobs From Pixels to Blobs 15-463: Rendering and Image Processing Alexei Efros Today Blobs Need for blobs Extracting blobs Image Segmentation Working with binary images Mathematical Morphology Blob properties

More information

Lecture 10: Semantic Segmentation and Clustering

Lecture 10: Semantic Segmentation and Clustering Lecture 10: Semantic Segmentation and Clustering Vineet Kosaraju, Davy Ragland, Adrien Truong, Effie Nehoran, Maneekwan Toyungyernsub Department of Computer Science Stanford University Stanford, CA 94305

More information

Segmentation by Clustering

Segmentation by Clustering KECE471 Computer Vision Segmentation by Clustering Chang-Su Kim Chapter 14, Computer Vision by Forsyth and Ponce Note: Dr. Forsyth s notes are partly used. Jae-Kyun Ahn in Korea University made the first

More information

REGION & EDGE BASED SEGMENTATION

REGION & EDGE BASED SEGMENTATION INF 4300 Digital Image Analysis REGION & EDGE BASED SEGMENTATION Today We go through sections 10.1, 10.2.7 (briefly), 10.4, 10.5, 10.6.1 We cover the following segmentation approaches: 1. Edge-based segmentation

More information

Segmentation & Clustering

Segmentation & Clustering EECS 442 Computer vision Segmentation & Clustering Segmentation in human vision K-mean clustering Mean-shift Graph-cut Reading: Chapters 14 [FP] Some slides of this lectures are courtesy of prof F. Li,

More information

Image Segmentation. Shengnan Wang

Image Segmentation. Shengnan Wang Image Segmentation Shengnan Wang shengnan@cs.wisc.edu Contents I. Introduction to Segmentation II. Mean Shift Theory 1. What is Mean Shift? 2. Density Estimation Methods 3. Deriving the Mean Shift 4. Mean

More information

REGION BASED SEGEMENTATION

REGION BASED SEGEMENTATION REGION BASED SEGEMENTATION The objective of Segmentation is to partition an image into regions. The region-based segmentation techniques find the regions directly. Extract those regions in the image whose

More information

Normalized cuts and image segmentation

Normalized cuts and image segmentation Normalized cuts and image segmentation Department of EE University of Washington Yeping Su Xiaodan Song Normalized Cuts and Image Segmentation, IEEE Trans. PAMI, August 2000 5/20/2003 1 Outline 1. Image

More information

Image Segmentation. Schedule. Jesus J Caban 11/2/10. Monday: Today: Image Segmentation Topic : Matting ( P. Bindu ) Assignment #3 distributed

Image Segmentation. Schedule. Jesus J Caban 11/2/10. Monday: Today: Image Segmentation Topic : Matting ( P. Bindu ) Assignment #3 distributed Image Segmentation Jesus J Caban Today: Schedule Image Segmentation Topic : Matting ( P. Bindu ) Assignment #3 distributed Monday: Revised proposal due Topic: Image Warping ( K. Martinez ) Topic: Image

More information

PPKE-ITK. Lecture

PPKE-ITK. Lecture PPKE-ITK Lecture 6-7. 2017.10.24. 1 What is on the image? This is maybe the most important question we want to answer about an image. For a human observer it is a trivial task, for a machine it is still

More information

Digital Image Processing. Prof. P.K. Biswas. Department of Electronics & Electrical Communication Engineering

Digital Image Processing. Prof. P.K. Biswas. Department of Electronics & Electrical Communication Engineering Digital Image Processing Prof. P.K. Biswas Department of Electronics & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Image Segmentation - III Lecture - 31 Hello, welcome

More information

human vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC

human vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC COS 429: COMPUTER VISON Segmentation human vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC Reading: Chapters 14, 15 Some of the slides are credited to:

More information

Segmentation

Segmentation Lecture 6: Segmentation 215-13-11 Filip Malmberg Centre for Image Analysis Uppsala University 2 Today What is image segmentation? A smörgåsbord of methods for image segmentation: Thresholding Edge-based

More information

6. Object Identification L AK S H M O U. E D U

6. Object Identification L AK S H M O U. E D U 6. Object Identification L AK S H M AN @ O U. E D U Objects Information extracted from spatial grids often need to be associated with objects not just an individual pixel Group of pixels that form a real-world

More information

Computer Vision Lecture 6

Computer Vision Lecture 6 Computer Vision Lecture 6 Segmentation 12.11.2015 Bastian Leibe RWTH Aachen http://www.vision.rwth-aachen.de leibe@vision.rwth-aachen.de Course Outline Image Processing Basics Structure Extraction Segmentation

More information

CITS 4402 Computer Vision

CITS 4402 Computer Vision CITS 4402 Computer Vision A/Prof Ajmal Mian Adj/A/Prof Mehdi Ravanbakhsh, CEO at Mapizy (www.mapizy.com) and InFarm (www.infarm.io) Lecture 02 Binary Image Analysis Objectives Revision of image formation

More information

Digital Image Processing Lecture 7. Segmentation and labeling of objects. Methods for segmentation. Labeling, 2 different algorithms

Digital Image Processing Lecture 7. Segmentation and labeling of objects. Methods for segmentation. Labeling, 2 different algorithms Digital Image Processing Lecture 7 p. Segmentation and labeling of objects p. Segmentation and labeling Region growing Region splitting and merging Labeling Watersheds MSER (extra, optional) More morphological

More information

Digital Image Analysis and Processing

Digital Image Analysis and Processing Digital Image Analysis and Processing CPE 0907544 Image Segmentation Part II Chapter 10 Sections : 10.3 10.4 Dr. Iyad Jafar Outline Introduction Thresholdingh Fundamentals Basic Global Thresholding Optimal

More information

CHAPTER 4. ANALYSIS of GRAPH THEORETICAL IMAGE SEGMENTATION METHODS

CHAPTER 4. ANALYSIS of GRAPH THEORETICAL IMAGE SEGMENTATION METHODS CHAPTER 4 ANALYSIS of GRAPH THEORETICAL IMAGE SEGMENTATION METHODS 4.1 Introduction In Graph based methods image is represented by undirected weighted graph where the nodes are pixels or pixel regions.

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Segmentation Material in this presentation is largely based on/derived from presentations by: Sventlana Lazebnik, and Noah Snavely Brent M. Dingle, Ph.D. 2015 Game Design and Development

More information

Unsupervised Learning and Clustering

Unsupervised Learning and Clustering Unsupervised Learning and Clustering Selim Aksoy Department of Computer Engineering Bilkent University saksoy@cs.bilkent.edu.tr CS 551, Spring 2009 CS 551, Spring 2009 c 2009, Selim Aksoy (Bilkent University)

More information

Lecture 13: k-means and mean-shift clustering

Lecture 13: k-means and mean-shift clustering Lecture 13: k-means and mean-shift clustering Juan Carlos Niebles Stanford AI Lab Professor Stanford Vision Lab Lecture 13-1 Recap: Image Segmentation Goal: identify groups of pixels that go together Lecture

More information

CAP 5415 Computer Vision Fall 2012

CAP 5415 Computer Vision Fall 2012 CAP 5415 Computer Vision Fall 01 Dr. Mubarak Shah Univ. of Central Florida Office 47-F HEC Lecture-5 SIFT: David Lowe, UBC SIFT - Key Point Extraction Stands for scale invariant feature transform Patented

More information

Snakes, level sets and graphcuts. (Deformable models)

Snakes, level sets and graphcuts. (Deformable models) INSTITUTE OF INFORMATION AND COMMUNICATION TECHNOLOGIES BULGARIAN ACADEMY OF SCIENCE Snakes, level sets and graphcuts (Deformable models) Centro de Visión por Computador, Departament de Matemàtica Aplicada

More information

Announcements. Image Segmentation. From images to objects. Extracting objects. Status reports next Thursday ~5min presentations in class

Announcements. Image Segmentation. From images to objects. Extracting objects. Status reports next Thursday ~5min presentations in class Image Segmentation Announcements Status reports next Thursday ~5min presentations in class Project voting From Sandlot Science Today s Readings Forsyth & Ponce, Chapter 1 (plus lots of optional references

More information

Lecture 16 Segmentation and Scene understanding

Lecture 16 Segmentation and Scene understanding Lecture 16 Segmentation and Scene understanding Introduction! Mean-shift! Graph-based segmentation! Top-down segmentation! Silvio Savarese Lecture 15 -! 3-Mar-14 Segmentation Silvio Savarese Lecture 15

More information

Considerations Regarding the Minimum Spanning Tree Pyramid Segmentation Method

Considerations Regarding the Minimum Spanning Tree Pyramid Segmentation Method Considerations Regarding the Minimum Spanning Tree Pyramid Segmentation Method (Why does it always find the lady?) Adrian Ion, Walter G. Kropatsch, and Yll Haxhimusa Vienna University of Technology, Pattern

More information

Histogram and watershed based segmentation of color images

Histogram and watershed based segmentation of color images Histogram and watershed based segmentation of color images O. Lezoray H. Cardot LUSAC EA 2607 IUT Saint-Lô, 120 rue de l'exode, 50000 Saint-Lô, FRANCE Abstract A novel method for color image segmentation

More information

Lecture 6: Edge Detection

Lecture 6: Edge Detection #1 Lecture 6: Edge Detection Saad J Bedros sbedros@umn.edu Review From Last Lecture Options for Image Representation Introduced the concept of different representation or transformation Fourier Transform

More information

CHAPTER 6 PERCEPTUAL ORGANIZATION BASED ON TEMPORAL DYNAMICS

CHAPTER 6 PERCEPTUAL ORGANIZATION BASED ON TEMPORAL DYNAMICS CHAPTER 6 PERCEPTUAL ORGANIZATION BASED ON TEMPORAL DYNAMICS This chapter presents a computational model for perceptual organization. A figure-ground segregation network is proposed based on a novel boundary

More information

IMAGE SEGMENTATION. Václav Hlaváč

IMAGE SEGMENTATION. Václav Hlaváč IMAGE SEGMENTATION Václav Hlaváč Czech Technical University in Prague Faculty of Electrical Engineering, Department of Cybernetics Center for Machine Perception http://cmp.felk.cvut.cz/ hlavac, hlavac@fel.cvut.cz

More information

Announcements. Segmentation & Grouping. Review questions. Outline. Grouping in vision. Examples of grouping in vision 9/21/2015

Announcements. Segmentation & Grouping. Review questions. Outline. Grouping in vision. Examples of grouping in vision 9/21/2015 Announcements Segmentation & Grouping Tues Sept 22 A2 goes out Thursday, due in 2 weeks Late submissions on Canvas Final exam dates now posted by registrar. Ours is Dec 9, 2-5 pm. Check in on pace Review

More information

CSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu. Lectures 21 & 22 Segmentation and clustering

CSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu. Lectures 21 & 22 Segmentation and clustering CSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu Lectures 21 & 22 Segmentation and clustering 1 Schedule Last class We started on segmentation Today Segmentation continued Readings

More information

EDGE BASED REGION GROWING

EDGE BASED REGION GROWING EDGE BASED REGION GROWING Rupinder Singh, Jarnail Singh Preetkamal Sharma, Sudhir Sharma Abstract Image segmentation is a decomposition of scene into its components. It is a key step in image analysis.

More information

Edges and Binary Images

Edges and Binary Images CS 699: Intro to Computer Vision Edges and Binary Images Prof. Adriana Kovashka University of Pittsburgh September 5, 205 Plan for today Edge detection Binary image analysis Homework Due on 9/22, :59pm

More information

Grid-Based Genetic Algorithm Approach to Colour Image Segmentation

Grid-Based Genetic Algorithm Approach to Colour Image Segmentation Grid-Based Genetic Algorithm Approach to Colour Image Segmentation Marco Gallotta Keri Woods Supervised by Audrey Mbogho Image Segmentation Identifying and extracting distinct, homogeneous regions from

More information

Topic 6 Representation and Description

Topic 6 Representation and Description Topic 6 Representation and Description Background Segmentation divides the image into regions Each region should be represented and described in a form suitable for further processing/decision-making Representation

More information

Clustering CS 550: Machine Learning

Clustering CS 550: Machine Learning Clustering CS 550: Machine Learning This slide set mainly uses the slides given in the following links: http://www-users.cs.umn.edu/~kumar/dmbook/ch8.pdf http://www-users.cs.umn.edu/~kumar/dmbook/dmslides/chap8_basic_cluster_analysis.pdf

More information

A Proposal for the Implementation of a Parallel Watershed Algorithm

A Proposal for the Implementation of a Parallel Watershed Algorithm A Proposal for the Implementation of a Parallel Watershed Algorithm A. Meijster and J.B.T.M. Roerdink University of Groningen, Institute for Mathematics and Computing Science P.O. Box 800, 9700 AV Groningen,

More information