public class MedianFilter extends Object implements SinglebandImageProcessor<Float,FImage>
SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>
Constructor and Description |
---|
MedianFilter(Set<Pixel> support)
Construct with the given support region for selecting pixels to take the
median from.
|
public MedianFilter(Set<Pixel> support)
n
relative x, y
offsets from the pixel currently being processed, and can be created
using the methods or constants in the FilterSupport
class.support
- the support coordinatespublic void processImage(FImage image)
ImageProcessor
Image.internalAssign(Image)
.processImage
in interface ImageProcessor<FImage>
image
- The image to process in place.