imgFFTShift {biOps}R Documentation

Shift a matrix and leave top-left value in the center

Description

This function returns the shifted matrix, useful in fft transformation.

Usage

imgFFTShift(imgmatrix)

Arguments

imgmatrix A matrix (could be an image or a fft matrix)

Value

return a matrix

See Also

imgFFT imgFFTInv imgFFTiShift

Examples

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

[Package biOps version 0.2.1 Index]