Skip to contents

Normalizes each spectrum to zero mean and unit variance. Useful for reducing multiplicative scatter effects and baseline variation.

Usage

hs_snv(cube)

Arguments

cube

An hsi_cube object.

Value

An hsi_cube object with SNV-corrected spectra.

Examples

cube <- hs_example_cube()
snv_cube <- hs_snv(cube)