loadImage: Load an image and return the full size image as an image tensor.
Description
Load an image and return the full size an image tensor. Internal function to be called by image generator function.
Usage
loadImage(file, standardize = FALSE)
Arguments
- file
path to a JPEG file
- standardize
standardize the image, TRUE or FALSE.