rwavelet (version 0.4.0)

CircularShift: 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.

Examples

Run this code
# NOT RUN {
A <- matrix(1:4, ncol=2, byrow=TRUE)
CircularShift(A,0,-1)
# }

Run the code above in your browser using DataLab