to the plugins folder and compile it with the “Compile and Run” command.Restart ImageJ to add the “Hybrid 2D Median Filter” command to the Plugins menu.
This plugin consists of 3 versions of the standard hybrid median filter: a 3×3,
5×5, and 7×7 kernel. In these implementations, the median of 1) the median of the NxN PLUS
kernel, 2) the median of the NxN X kernel, and 3) the pixel in question replaces
the original pixel value. Multiple repetitions can automatically be run by specifying a repeat
value greater than 1. The top and bottom edge pixels are reflected outward, and the side
edge pixels are wrapped around to complete the edge bound kernels. This plugin works both
with stacks and individual slices.See 3d Hybrid Median Filter for another version which works on
stacks of data using a three dimensional kernel.
Copyright (C) 2004 CHRISTOPHER PHILIP MAUER
Permission to use, copy, modify, and distribute this software for any purpose
without fee is hereby granted, provided that this entire notice is included in
all copies of any software which is or includes a copy or modification of this
software and in all copies of the supporting documentation for such software.
Any for profit use of this software is expressly forbidden without first
obtaining the explicit consent of the author.
THIS SOFTWARE IS BEING PROVIDED “AS IS”, WITHOUT ANY EXPRESS OR IMPLIED WARRANTY.
IN PARTICULAR, THE AUTHOR DOES NOT MAKE ANY REPRESENTATION OR WARRANTY
OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY
The plugin operates on a previously opened image or stack of images, and
produces a new image or stack of filtered images. The output image or stack is
generated upon completion of processing for all of the input data. Be sure to save
the output if desired.