public class Gaussian2D extends FConvolution
FGaussianConvolve
filter will do the same thing, but much much faster!SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>
kernel
Constructor and Description |
---|
Gaussian2D(int size,
float sigma)
Construct with given kernel size and variance.
|
Gaussian2D(int width,
int height,
float sigma)
Construct with given kernel size and variance.
|
Modifier and Type | Method and Description |
---|---|
static FImage |
createKernelImage(int size,
float sigma)
Create a kernel image with given kernel size and standard deviation.
|
static FImage |
createKernelImage(int width,
int height,
float sigma)
Create a kernel image with given kernel size and standard deviation.
|
processImage, responseAt, setBruteForce
public Gaussian2D(int width, int height, float sigma)
width
- kernel widthheight
- kernel heightsigma
- variancepublic Gaussian2D(int size, float sigma)
size
- kernel width/heightsigma
- standard deviationpublic static FImage createKernelImage(int size, float sigma)
size
- image height/width.sigma
- standard deviation.public static FImage createKernelImage(int width, int height, float sigma)
width
- image width.height
- image height.sigma
- standard deviation.