Various reasons why you might want to apply spatial filters: low pass filters to get rid of cosmic rays/bad pixels, high pass filters to look for features. Many techniques possible. Generally, in other fields, people often filter in Fourier domain, but doesn't seem to be so useful in astronomy.
Low pass filtering: smoothing, median filtering.
High pass filtering: unsharp masking.
Edge detection.
Object recognition.
To remove known PSF. Problem: noise.
If you know expected profile of model, you're better off convolving and fitting, e.g. psf fitting. Sometimes, however, you don't. If you're going to fit a model to a deconvolved image, strongly consider fitting a convolved model to the data instead.
Fourier deconvolution: since observed function is convolution of true
signal with response function, we have:
However, in reality there is noise, so we can't directly get .
Lucy deconvolution: guess image, convolve with PSF, take ratio of image to model, convolve ratio with PSF transpose, use this to update model. Iterate.
Maximum entropy.
Beware that some deconvolution schemes do not preserve flux.