public class FConvolution extends Object implements SinglebandImageProcessor<Float,FImage>
FImages as a @link{SinglebandImageProcessor}, with the kernel
itself formed from and @link{FImage}.SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>| Constructor and Description |
|---|
FConvolution(FImage kernel)
Construct the convolution operator with the given kernel
|
FConvolution(float[][] kernel)
Construct the convolution operator with the given kernel
|
| Modifier and Type | Method and Description |
|---|---|
void |
processImage(FImage image)
Process an image.
|
float |
responseAt(int x,
int y,
FImage image)
Return the kernel response at the x,y in the given image.
|
void |
setBruteForce(boolean brute)
Set brute-force convolution; disables kernel separation and other
optimisations.
|
public FConvolution(FImage kernel)
kernel - the kernelpublic FConvolution(float[][] kernel)
kernel - the kernelpublic void setBruteForce(boolean brute)
brute - public void processImage(FImage image)
ImageProcessorImage.internalAssign(Image).processImage in interface ImageProcessor<FImage>image - The image to process in place.public float responseAt(int x, int y, FImage image)
x - y - image -