transform: Transform an image

Description Usage Arguments Value Examples

View source: R/transform.R

Description

Transform an image

Usage

1
transform(im, s)

Arguments

im

cimg object

s

numeric 1 by 3 vector containing the registration parameters

Value

shifted cimg object

Examples

1
2
shift(cameraman, c(1,1))
shift(cameraman, cbind(c(1,1),c(-0.5,0.5)))

redR documentation built on May 2, 2019, 3:47 p.m.

Related to transform in redR...