MeanShiftFilter finds the mean of the pixels in blocks centered on each pixel, taking into account only those pixels whose value is within a Euclidean distance d from the center pixel.
At the edges of an image, MeanShiftFilter uses smaller neighborhoods.
MeanShiftFilter uses neighborhoods with vertical range and horizontal range .
MeanShiftFilter works with binary, grayscale, RGB, and arbitrary multichannel images.
With a setting MaxIterations->n, at most n iterations will be performed.