Re: median filter that preserves peaks
Posted by
Gabriel Landini on
Sep 06, 2013; 8:57am
URL: http://imagej.273.s1.nabble.com/median-filter-that-preserves-peaks-tp5004693p5004699.html
On Friday 06 Sep 2013 00:12:38 you wrote:
> Does ImageJ have a plugin that does what the median filter does, but also
> preserves peaks? The median filter, even at a radius of 2, tends to flatten
> sharp peaks.
Is there such a thing? The purpose of the medial filter is precisely to get
rid of the extreme values.
Maybe some adaptive filtering would work instead? E.g. find the gradients in
the image and then do a weighted gaussian average, using as weightings the
inverse of the gradients (so regions with few gradients get more averaged than
those with lots?
Cheers
Gabriel
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html