crop.Frames: Cut borders of a 'Frames' object

Description Usage Arguments Details Value Author(s) Examples

View source: R/preprocessing.R

Description

Performs cropping on the Frames object, selecting how many pixels should be cut on each side

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
crop.Frames(
  frames,
  cutLeft = 5,
  cutRight = 5,
  cutUp = 5,
  cutDown = 5,
  cutAll = 0,
  testing = FALSE,
  ...
)

Arguments

frames

An input Frames object

cutLeft

Amount of pixels to be cut at the side

cutRight

Amount of pixels to be cut at the side

cutUp

Amount of pixels to be cut at the side

cutDown

Amount of pixels to be cut at the side

cutAll

Amount of pixels to be cut at all sides. Overrides the single side values

testing

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

...

Arguments to be passed to display (e.g. setting the method argument)

Details

Cropping can be performed with careful choice of all cutting sides, or cropping a single value from all sides

Value

A Frames object, with cropped frames in the image slot

Author(s)

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

Examples

1
2
data("MesenteriumSubset")
crop.Frames(MesenteriumSubset)

flowcatchR documentation built on Nov. 8, 2020, 5:04 p.m.