load image as HSV or RGB-array
Usage
load_image(
image.path,
subset_only = FALSE,
return_hsv = TRUE,
crop_left = 0,
crop_right = 0,
crop_top = 0,
crop_bottom = 0
)
Arguments
- image.path
path to image-file
- subset_only
do you want to load only a subset range of values
- return_hsv
TRUE by default. Controls whether or not function returns pixel-data in
HSV
-colorspace or inRGB
- crop_left
number of pixels to crop from the left edge of the image
- crop_right
see
crop_left
- crop_top
see
crop_left
- crop_bottom
see
crop_left
Note
load_image()
allows loading subsets of images using imager::load.image()
.