imgFFTBandPass {biOps}R Documentation

Apply a band pass filter on a fft matrix

Description

This function returns the band passed filter on a fft matrix (this matrix should be shifted).

Usage

imgFFTBandPass(fft_matrix, r1, r2)

Arguments

fft_matrix The complex matrix of an fft transformation
r1 The inner radius of the frequency filter
r2 The outer radius of the frequency filter

Value

return an imagedata

See Also

imgFFT imgFFTInv imgFFTLowPass imgFFTHighPass imgFFTBandStop

Examples

        ## Not run: 
                x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
                t <- imgFFT(x, FALSE)
                i <- imgFFTBandPass(t, 25, 70)
        
## End(Not run)

[Package biOps version 0.2.1 Index]