slice_image: Slice image

Description Usage Arguments

View source: R/image_tools.R

Description

Slice image with given X and Y coordinates.

Usage

1
slice_image(image_path, output_path, coord1 = NULL, coord2 = NULL)

Arguments

image_path

Path to image file.

output_path

Path to save sliced image.

coord1

Length 2 vector with position of the top left point.

coord2

Length 2 vector with position of the bottom right point.


emphazis-org/emphazis documentation built on April 27, 2021, 1:27 a.m.