imgFFTConvolve {biOps}R Documentation

Apply a convolution filter on an imagedata through fft transformation

Description

This function returns the imagedata that results from the convolution, using fft transformation that let you convolve with bigger masks.

Usage

imgFFTConvolve(imgdata, mask)

Arguments

imgdata The image
mask The convolution mask

Value

return an imagedata

See Also

imgFFT imgFFTInv

Examples

        ## 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)

[Package biOps version 0.2.1 Index]