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

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
imgFFTShift(imgmatrix)

Arguments

imgmatrix

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

Value

return a matrix

See Also

imgFFT imgFFTInv imgFFTiShift

Examples

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

matiasb/biOps documentation built on May 21, 2019, 12:55 p.m.