scale_img: Scale grayscale images to mean 0 and variance 1

Description Usage Arguments Value

Description

Scale grayscale images to mean 0 and variance 1

Usage

1
scale_img(images, center = TRUE, scale = TRUE)

Arguments

images

array of pixel intensities, 3rd dimension has to be the color channels, 4th dimension the time. For grayscale images this means that dim(images) = (*,*,1,*), for color images dim(images) = (*,*,3,*)

center

TRUE (default): Images are centered

scale

TRUE (default): Images are standardized to variance 1

Value

The scaled images as array


phenofun documentation built on Jan. 22, 2017, 9:01 p.m.

Related to scale_img in phenofun...