public class FourierCorrelation extends Object implements SinglebandImageProcessor<Float,FImage>
FImage
correlation performed using an FFT.SinglebandImageProcessor.Processable<T,S extends Image<T,S>,I extends Image<?,I>>
Constructor and Description |
---|
FourierCorrelation(FImage template)
Construct the correlation operator with the given template
|
Modifier and Type | Method and Description |
---|---|
static FImage |
correlate(FImage image,
FImage template,
boolean inplace)
Correlate an image with a kernel using an FFT.
|
void |
processImage(FImage image)
Process an image.
|
public FourierCorrelation(FImage template)
template
- the templatepublic void processImage(FImage image)
ImageProcessor
Image.internalAssign(Image)
.processImage
in interface ImageProcessor<FImage>
image
- The image to process in place.public static FImage correlate(FImage image, FImage template, boolean inplace)
image
- The imagetemplate
- The template to correlate with the imageinplace
- if true, then output overwrites the input, otherwise a new image is created.