clip: Clip image border

Usage Arguments

View source: R/mines.R

Usage

1
clip(im, amount = 0)

Arguments

im

- the image to clip

amount

- the number of pixels to clip, as numeric, or, if character, the percentage of dimension of the image (e.g. clip(im, "5

The clipped image Clip image around the border given the amount 'amount' can be a single value or a vector of size 4. If only one value is given, all sides are clipped with the same amount. If it is a vector with 4 values, the sides are clipped by amount, respectively, in the order left, right, top, bottom.


Blaza/ssoftveR documentation built on May 6, 2019, 11:19 a.m.