Mean-shift

Mean-shift

Mean shift is a non-parametric feature-space analysis technique, a so-called mode seeking algorithm.[1] Application domains include clustering in computer vision and image processing.[2]

Contents

History

The mean shift procedure was originally presented in 1975 by Fukunaga and Hostetler.[3]

Overview

Mean shift is a procedure for locating the maxima of a density function given discrete data sampled from that function.[1] It is useful for detecting the modes of this density.[1] This is an iterative method, and we start with an initial estimate x. Let a kernel function K(xix) be given. This function determines the weight of nearby points for re-estimation of the mean. Typically we use the Gaussian kernel on the distance to the current estimate,  K(x_i - x) = e^{c||x_i - x||^2} . The weighted mean of the density in the window determined by K is

 m(x) = \frac{ \sum_{x_i \in N(x)} K(x_i - x) x_i } {\sum_{x_i \in N(x)} K(x_i - x)}

where N(x) is the neighborhood of x, a set of points for which  K(x) \neq 0 .

The mean-shift algorithm now sets  x \leftarrow m(x) , and repeats the estimation until m(x) converges.

Mean shift for visual tracking

The mean shift algorithm can be used for visual tracking. The simplest such algorithm would create a confidence map in the new image based on the color histogram of the object in the previous image, and use mean shift to find the peak of a confidence map near the object's old position. A few algorithms, such as Ensemble Tracking,[4] expand on this idea.

See also

  • Medoidshift
  • Mean-shift clustering
  • CAMSHIFT

References

  1. ^ a b c Cheng, Yizong (August 1995). "Mean Shift, Mode Seeking, and Clustering". IEEE Transactions on Pattern Analysis and Machine Intelligence (IEEE) 17 (8): 790–799. doi:10.1109/34.400568. 
  2. ^ Comaniciu, Dorin; Peter Meer (May 2002). "Mean Shift: A Robust Approach Toward Feature Space Analysis". IEEE Transactions on Pattern Analysis and Machine Intelligence (IEEE) 24 (5): 603–619. doi:10.1109/34.1000236. 
  3. ^ Fukunaga, Keinosuke; Larry D. Hostetler (January 1975). "The Estimation of the Gradient of a Density Function, with Applications in Pattern Recognition". IEEE Transactions on Information Theory (IEEE) 21 (1): 32–40. doi:10.1109/TIT.1975.1055330. http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1055330. Retrieved 2008-02-29. 
  4. ^ Avidan, Sai (2005). "Ensemble Tracking". 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05) (San Diego, California: IEEE) 2. ISBN 0-7695-2372-2. 

Code implementations

  • Scikit-learn library Numpy/Python implementation uses ball tree for efficient neighboring points lookup
  • EDISON library. C++ implementation of mean-shift-based image segmentation
  • OpenCV contains mean-shift implementation via cvMeanShift Method
  • Aiphial. Java-based mean-shift implementation for numeric data clustering and image segmentation
  • Apache Mahout. An map-reduce based implementation of MeanShift clustering written on Apache Hadoop.



Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Shift (Narnia) — Infobox Narnia character caption=An artist s depiction of Shift the Ape, with Puzzle on the right, as Aslan. name=Shift race=Talking Ape nation=Narnia gender=Male birthplace=Caldron Pool, Narnia major1=The Last BattleShift is a fictional… …   Wikipedia

  • shift — I. v. a. Change, alter, move. II. v. n. 1. Move, change place, change about, remove. 2. Alter, change. 3. Change, vary, veer, chop, alter. 4. Contrive, manage, plan, scheme, shuffle, devise ways and means. III. n …   New dictionary of synonyms

  • High German consonant shift — High German subdivides into Upper German (green) and Central German (blue), and is distinguished from Low German (yellow) and Dutch. The main isoglosses, the Benrath and Speyer lines, are marked in black. In historical linguistics, the High… …   Wikipedia

  • Need for Speed: Shift — Обложка игры Разработчик Slightly Mad Studios Издатели …   Википедия

  • Phase-shift keying — Passband modulation v · d · e Analog modulation AM · …   Wikipedia

  • Chad Vader - Day Shift Manager — Infobox Television show name = Chad Vader caption = Chad at work, Episode 1 show name 2 = Chad Vader Day Shift Manager genre = Comedy creator = Aaron Yonda Matt Sloan director = Aaron Yonda Matt Sloan creative director = developer = presenter =… …   Wikipedia

  • Need for Speed: Shift — Need for Speed Shift Éditeur Electronic Arts Développeur Slightly Mad Studios Date de sortie 15 septembre 2009 17 septembre 2009 …   Wikipédia en Français

  • Need for speed shift — Need for Speed: Shift Need for Speed Shift Éditeur Electronic Arts Développeur Slightly Mad Studios Date de sortie 15  …   Wikipédia en Français

  • Amplitude-shift keying — (ASK) is a form of modulation that represents digital data as variations in the amplitude of a carrier wave.The amplitude of an analog carrier signal varies in accordance with the bit stream (modulating signal), keeping frequency and phase… …   Wikipedia

  • quantifier shift fallacy — A fallacy of reversing the order of two quantifiers . The common form is that of moving from a statement of the form ‘every x has a related y ’ to one of the form ‘there is some y related to every x ’. An easily detected instance would be… …   Philosophy dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”