rotate.Frames: Rotates all images in a 'Frames' object

Description Usage Arguments Value Author(s) Examples

Description

Rotation is performed exploiting the rotate function of the EBImage package. Could be automated if support for coordinate/pixel interaction is included

Usage

1
2
3
rotate.Frames(frames, angle, testing = FALSE,
  output.origin = c(dim(frames)[1]/3, dim(frames)[2]/3),
  output.dim = c(dim(frames)[1] * 1.5, dim(frames)[2] * 1.5))

Arguments

frames

A Frames object

angle

The rotation angle (clockwise) specified in degrees

testing

Logical, whether to just test the rotation or to actually perform it. Default set to FALSE

output.origin

A vector of 2 numbers indicating the dimension of the output image, as in the rotate function

output.dim

A vector of 2 numbers indicating the output coordinates of the origin in pixels, as in the rotate function

Value

A Frames object containing the rotated frames

Author(s)

Federico Marini, marinif@uni-mainz.de, 2014

Examples

1
2
data("MesenteriumSubset")
rotate.Frames(MesenteriumSubset,angle = 40)

federicomarini/flowcatchR-release documentation built on May 16, 2019, 12:14 p.m.