Learn R Programming

redR (version 1.0.1)

shift: shifting operator

Description

shifting operator

Usage

shift(im, s)

Arguments

im

cimg object

s

numeric p by 2 matrix containing the registration parameters

Value

shifted cimg object

Examples

Run this code
# NOT RUN {
shift(cameraman, c(1,1))
shift(cameraman, cbind(c(1,1),c(-0.5,0.5)))
# }

Run the code above in your browser using DataLab