An adaptive Gaussian filter for noise reduction and edge detection | Synapse