color image segmentation
play

Color Image Segmentation based on Automatic Morphological - PowerPoint PPT Presentation

Color Image Segmentation based on Automatic Morphological Clustering T. Graud, P.-Y. Strub, J. Darbon thierry.geraud @ lrde.epita.fr EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 1 Outline


  1. Color Image Segmentation based on Automatic Morphological Clustering T. Géraud, P.-Y. Strub, J. Darbon thierry.geraud @ lrde.epita.fr EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 1

  2. Outline • Introduction – about statistical classification – about watershed algorithm – problem statement • Morphological classification – state of the art – description of proposed approach – commented results • Conclusion EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 2

  3. A classical statistical and non-contextual classification scheme • Transform observations into feature vectors – for a pixel, a feature can be a color component, a local variance… – difficulty: find a relevant feature space • In feature space – assign / learn a parametric model for each class – then run a classifier Remark: the probability density function of a class in the feature space can be estimated from few samples; e.g., convolve the samples with a Gaussian kernel EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 3

  4. About watershed algorithm • Key features � it applies on n -D images � the algorithm divides the input image into regions ( basins ) � one local minimum leads to one surrounding basin � a 1-pixel thick component ( watershed ) separates every basins � basin boundaries are located on image crest values • Connected version of the algorithm � the watershed itself is suppressed � other properties are maintained � as output image we get a partition • A reliable segmentation tool � “ Scale-Space Segmentation of Color Images Using Watersheds and Fuzzy Region Merging ,” by Makrogiannis et al. , ICIP 2001 EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 4

  5. A classical morphological segmentation method morphological gradient (high values correspond to object contours) morphological closing (the number of local minima is reduced) morphological watershed algorithm (the watershed is located on object contours) EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 5

  6. Problem statement • Color images – feature space is (at least) 3-dimensional – in such a space, clusters have low-density – cluster cardinalities are very heterogeneous g r e e n – many artifacts appear r log( P / RG for all B ( H )) due to: e • storage compression d • color gradations • specular surface of objects • Statistical models are they relevant? EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 6

  7. Morphological classification of color images (state of the art) • Basic idea: RGB image � compute histogram = 3D image � morphological cluster identification � Postaire et al ., “Cluster Analysis by Binary Morphology”, PAMI 15(2). � Zang et al ., “Convexity Dependent Morphological transformations for Mode Detection in Cluster Analysis,” Pattern Recognition 27(1). � Park et al ., “Color Image Segmentation Based on 3D Clustering: Morphological Approach,” Pattern Recognition 31(8). • Drawbacks: � clusters should be prominent and well-contrasted � only cluster cores are segmented; so, how to handle color outliers ? EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 7

  8. Morphological classification presented here � • From a color image: � express data in feature space for instance, a 3-D RGB histogram � consider data as a n-D image � regularize data � run a morphological partitioning • Originality: use of the watershed algorithm as a classifier EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 8

  9. Method details Step Description Rationale ………………………………………………………………... 1 data computation in feature get a grey-level image H where space, log transform, and inversion clusters have dark values 2 Gaussian filtering regularize (while suppressing many local minima) 3 closing plus cutting low values suppress extra local minima 4 connected watershed algorithm get a partition W of feature space 5 apply a segmentation process... EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 9

  10. Method properties • Applying an increasing function f to feature space values (densities): H bis ( c ) = f ( H ( c )) => W bis ( c ) = W ( c ) • Applying a rigid transform T to features: H bis ( c’ ) = H ( T ( c )) => W bis ( c’ ) = W ( T ( c )) • Applying a scaling factor α to a given feature: H bis ( c 1 , c’ 2 ) = H ( c 1 , α c 2 ) => W bis ( c 1 , c’ 2 ) = W ( c 1 , α c 2 ) EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 10

  11. Some segmentation approaches (step 5) • Using directly feature space partitioning: � segmentation = non contextual labeling � but a feature can be contextual (e.g., a local variance) • Considering that we can learn from feature space classes… for example, perform a Bayesian labeling : � estimate Mahalanobis distances from basins � run a Markovian relaxation in image domain EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 11

  12. Segmentation results (on peppers image) Projections on the RG plane of 3D data: = input of the watershed algorithm log( P /RG ( H ) ) result of step 3 EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 12 ouzo

  13. local minima basin boundary result of step 3 EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 13

  14. log( P /RG ( H ) ) classes EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 14

  15. Non-contextual labeling EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 15

  16. Markovian labeling EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 16

  17. Other results original log( P /RG ( H ) ) classes Markovian labeling EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 17

  18. lena jbeanc tiffany log( P /RG ( H ) ) clusters EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 18

  19. What about results from extreme data? (oops… so many clusters! It should be a...) log( P /RG ( H ) ) EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 19

  20. ...Kandinsky EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 20

  21. log( P /RG ( H ) ) classes EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 21

  22. part of original image non- contextual labeling EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 22

  23. Conclusion • Original use of the connected watershed algorithm: � leads to an automatic classification method � is applied to color image segmentation � provides rather good and robust results http://www.lrde.epita.fr/download • But : � needs to be refined by merging (to improve the segmentation) and/or splitting classes (to serve as an halftoning method) � cannot separate two clusters when they closely mix � is memory consuming (3D feature space) EPITA Research and Development Laboratory, France / ICIP, Thessaloniki, October 2001 23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend