ergas_spec: ERGAS Spectral Quality index

Description Usage Arguments Value Examples

Description

ERGAS Spectral Quality index

Usage

1
2
3
4
5
6
7
8
ergas_spec(
  original,
  modified,
  pan,
  method,
  rp = mean(res(pan)),
  rms = mean(res(original))
)

Arguments

original

Raster brick object with the original multispectral bands

modified

Raster brick object with the bands obtained by the fusion process

pan

Raster object with the panchromatic band.

method

Resampling method, should be ‘"bilinear"’ for bilinear interpolation, or ‘"ngb"’

rp

Resolution of the original panchromatic band

rms

Resolution of the original multispectral bands

Value

Quality index

Examples

1
2
pca <- pca_fusion(mis=mis, pan=pan, method="bilinear", bits=16)
ergas_spec(original=mis, modified=pca, pan=pan, method="bilinear")

pacoalonso/fusionImage documentation built on April 30, 2020, 4:26 a.m.