Changes between Version 18 and Version 19 of GSoC/2016/Additional_segmentation_algorithms/mean_shift


Ignore:
Timestamp:
Sep 13, 2016, 6:11:12 PM (8 years ago)
Author:
hao2309
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSoC/2016/Additional_segmentation_algorithms/mean_shift

    v18 v19  
    1616
    1717'''-a''' [[BR]] Use adaptive bandwidth for mean shift [[BR]]  Range (spectral) bandwidth is adapted for each moving window
    18  
     18
    1919'''-p''' [[BR]] Use progressive bandwidth for mean shift [[BR]] Spatial bandwidth is increased, range (spectral) bandwidth is decreased in each iteration
    2020
     
    7272'''--ui'''
    7373    run with the user interface mode
    74 '''--help'''
    75 
    76 '''--verbose'''
    77 
    78 '''--quiet'''
     74
    7975
    8076= DESCRIPTION =
    8177
    82 GRASS GIS has the i.segment which provides the possibility to segment an image into objects. This is a basic step in object-based image analysis (OBIA). Currently, the module only provides one segmentation algorithm: region-growing. The code of i.segment was structured in a way that allows addition of other algorithms. It would be more useful and comprehensive to add mean-shift to the i.segment module.
    83 
    8478Mean shift segmentation is a local homogenization technique that is very useful for damping shading or tonality differences in localized objects. For the algorithm implementation of this case, basically the algorithm replaces each pixel with the mean of the pixels in a range-r neighborhood and whose value is within a distance d. The Mean Shift usually has 3 important parameters: 1) A distance function for measuring distances between pixels. Usually the Euclidean distance, but any other well-defined distance function could be used. The Manhattan Distance is another useful choice sometimes. 2) A radius (spatial bandwidth). All pixels within this radius (measured according the above distance) will be accounted for the calculation. 3) A value difference (range bandwidth). From all pixels inside radius r, we will take only those whose values are within this difference for calculating the mean [1].
    8579
    8680= COMPARISON =
     81== Mean shift ==
     82Numerous nonparametric clustering methods can be separated into two parts:hierarchical clustering and density estimation. Hierarchical clustering composes either aggregation or division based on some proximate measure. The concept of the density estimation-based nonparametric clustering method is that the feature space can be considered as the experiential probability density function (p.d.f.) of the represented parameter. The mean shift algorithm can be classified as density estimation. It adequately analyzes feature space to cluster them and can provide reliable solutions for many vision tasks. The basics of mean shift are discussed as below [3].
     83
     84'''Pros:'''
     85* An extremely versatile tool for feature space analysis. Mean-shift algorithm is applicable not only in image segmentation, but also in motion detector, image filtering and etc.
     86* Suitable for arbitrary feature spaces.
     87'''Cons:'''
     88* The range bandwidth (hr) and spatial bandwidth (hs) are the only two factors can control the output, especially the range bandwidth results in a tremendous influence to the result.
     89* The computation time is quite long, for the iterations of anisotropic filtering, clustering and merging small objects.
    8790
    8891== Seeded Region Growing ==
     
    9598* The blocky segment problem could be reduced by splitting in higher level, but the trade off is that the computation time will arise.
    9699
    97 == Mean shift ==
    98 Numerous nonparametric clustering methods can be separated into two parts:hierarchical clustering and density estimation. Hierarchical clustering composes either aggregation or division based on some proximate measure. The concept of the density estimation-based nonparametric clustering method is that the feature space can be considered as the experiential probability density function (p.d.f.) of the represented parameter. The mean shift algorithm can be classified as density estimation. It adequately analyzes feature space to cluster them and can provide reliable solutions for many vision tasks. The basics of mean shift are discussed as below [3].
    99 
    100 '''Pros:'''
    101 * An extremely versatile tool for feature space analysis. Mean-shift algorithm is applicable not only in image segmentation, but also in motion detector, image filtering and etc.
    102 * Suitable for arbitrary feature spaces.
    103 '''Cons:'''
    104 * The range bandwidth (hr) and spatial bandwidth (hs) are the only two factors can control the output, especially the range bandwidth results in a tremendous influence to the result.
    105 * The computation time is quite long, for the iterations of anisotropic filtering, clustering and merging small objects.
    106100
    107101== Other segmentation methods ==