Learn R Programming

animl (version 1.1.0)

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)

Value

An image tensor.

Arguments

file

path to a JPEG file

standardize

standardize the image, TRUE or FALSE.