imgFFTConvolve {biOps} | R Documentation |
This function returns the imagedata that results from the convolution, using fft transformation that let you convolve with bigger masks.
imgFFTConvolve(imgdata, mask)
imgdata |
The image |
mask |
The convolution mask |
return an imagedata
## Not run: x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) data <- c(-1,-1,-1,-1,9,-1,-1,-1,-1) m <- matrix(data, 3, 3, byrow = TRUE) i <- imgFFTConvolve(x, m) ## End(Not run)