Introduction - If you have any usage issues, please Google them yourself
Using Matlab based on the mean shift (meanshift) gray-scale image smoothing algorithm. There are iterative processes, the effect of relatively good. Complete source code, has been tested.