crop.Frames {flowcatchR} | R Documentation

## 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)

### 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

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

[Package flowcatchR version 1.16.0 Index]