The mean shift procedure is a general nonparametric technique for analyzing complex multimodal feature spaces and delineating arbitrarily shaped clusters. It works by recursively finding the nearest stationary point of the underlying density function, which corresponds to the mode of the density. The mean shift procedure relates to kernel density estimation and robust M-estimators of location. It provides a versatile tool for feature space analysis that can solve many low-level computer vision tasks with few parameters.