Learn R Programming

flowcatchR (version 1.6.2)

crop.Frames: Cut borders of a Frames object

Description

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

Usage

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)

Value

  • A Frames object, with cropped frames in the image slot

Details

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

Examples

Run this code
data("MesenteriumSubset")
crop.Frames(MesenteriumSubset)

Run the code above in your browser using DataLab