CircularShift: Circular Shifting of a matrix/image

View source: R/CircularShift.R

CircularShiftR 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

FWT2_TI, IWT2_TI.

Examples

A <- matrix(1:4, ncol=2, byrow=TRUE)
CircularShift(A, 0, -1)

fabnavarro/rwavelet documentation built on Nov. 5, 2023, 1:01 p.m.