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


gbasulto/solefinder documentation built on May 20, 2019, 2:45 p.m.