Description Usage Arguments Value See Also Examples
This function returns the imagedata that results from the convolution, using fft transformation that let you convolve with bigger masks.
1 | imgFFTConvolve(imgdata, mask)
|
imgdata |
The image |
mask |
The convolution mask |
return an imagedata
1 2 3 4 5 6 7 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.