crop_image: Crop Image

Description Usage Arguments Value Author(s)

Description

Crop an image on x and y. It is careful with NULL and out-of-range values. This function is useful in shiny app.

Usage

1
crop_image(img, x_range = NULL, y_range = NULL)

Arguments

img

A matrix representing an image

x_range

Limits to crop the image on x.

y_range

Limits to crop the image on x.

Value

A cropped image (in matrix form)

Author(s)

Guillermo Basulto-Elias


CSAFE-ISU/solefinder documentation built on May 23, 2019, 10:31 p.m.