public class AverageBoxFilter extends Object implements SinglebandImageProcessor<Float,FImage>
SummedAreaTable
rather
than through an actual convolution.SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>
Constructor and Description |
---|
AverageBoxFilter(int dim)
Construct the averaging operator with a square kernel of the given
dimension.
|
AverageBoxFilter(int width,
int height)
Construct the averaging operator with a kernel of the given dimensions.
|
public AverageBoxFilter(int width, int height)
width
- width of the kernelheight
- height of the kernelpublic AverageBoxFilter(int dim)
dim
- The width and height of the boxpublic void processImage(FImage image)
ImageProcessor
Image.internalAssign(Image)
.processImage
in interface ImageProcessor<FImage>
image
- The image to process in place.