# Filter bright dots from the gradient of the image

I am wondering how to filter out bright dots in the picture, which are caused by background noise.

• Do you want to filter out the "worm" too? Jan 24 '13 at 22:47
• What about a median filter? Jan 25 '13 at 5:53
• Does MinFilter[img, 5] give something acceptable?
– kglr
Jan 25 '13 at 8:50
• If you had an image without any interesting dots (like a test picture), you might be able to find the differences between the two images... Jan 25 '13 at 10:11
• You mean something like MatrixPlot@ImageData@ColorConvert[image, "GrayScale"]? Jan 30 '13 at 1:14

Manipulate[