public class MaxFilter extends Object implements SinglebandImageProcessor<Float,FImage>
SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>| Constructor and Description |
|---|
MaxFilter(Set<Pixel> support)
Construct with the given support region for selecting pixels to take the
median from.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
filter(FImage img,
int times)
Apply the filter some number of times to an image with the default 3x3
block support
|
void |
processImage(FImage image) |
public MaxFilter(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)
processImage in interface ImageProcessor<FImage>