Re: median filter that preserves peaks
Posted by
John Dunsmuir on
Sep 06, 2013; 6:29pm
URL: http://imagej.273.s1.nabble.com/median-filter-that-preserves-peaks-tp5004693p5004705.html
Neil,
A median filter will remove sharp peaks. An easy modification is to test the home pixel against the neighborhood median using some criterion such as "must be greater than 2x the neighborhood median" before replacing the pixel value. You can tune the test so that the filter only replaces pixels that fit your needs. I don't know if there is a plugin that does this.
Regards,
John D.
Neil Fazel 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.
Thanks,
Neil
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html