CircularShift {rwavelet} | R Documentation |
Circular Shifting of a matrix/image
Description
Pixels that get shifted off one side of the image are put back on the other side.
Usage
CircularShift(matrix, colshift = 0, rowshift = 0)
Arguments
matrix |
2-d signal (matrix). |
colshift |
column shift index (integer). |
rowshift |
row shift index (integer). |
Value
result
2-d shifted signal.
See Also
Examples
A <- matrix(1:4, ncol=2, byrow=TRUE)
CircularShift(A, 0, -1)
[Package rwavelet version 0.4.1 Index]