public class SumBoxFilter 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 |
|---|
SumBoxFilter(int dim)
Construct the averaging operator with a square kernel of the given
dimension.
|
SumBoxFilter(int width,
int height)
Construct the averaging operator with a kernel of the given dimensions.
|
public SumBoxFilter(int width, int height)
width - width of the kernelheight - height of the kernelpublic SumBoxFilter(int dim)
dim - The width and height of the boxpublic void processImage(FImage image)
ImageProcessorImage.internalAssign(Image).processImage in interface ImageProcessor<FImage>image - The image to process in place.