tile_sam: Spectral Angle Mapper

Description Usage Arguments Value See Also Examples

View source: R/tile_sam.R

Description

Performs the Spectral Angle Mapper to match the SpectralReference with yout readings (as Tile).

Usage

1
tile_sam(SpectralPack, derivative = NULL)

Arguments

SpectralPack

an object of class SpectralPack.

derivative

whether to apply the first (1) or second (2) derivative to preprocess the data before the algorithm is applied. Default NULL (It tells the program to not derivate).

Value

An object of class SAM.

See Also

For its application to mosaic images see mosaic_sam.

Examples

1
2
3
4
x <- tile_read(base::system.file("extdata/tile.bsp", package = "uFTIR"))
x <- tile_base_corr(x)
x <- wavealign(x, primpke)
x <- tile_sam(x)

uFTIR documentation built on Oct. 25, 2021, 9:08 a.m.