ergas_spat: ERGAS Spatial Quality index

Description Usage Arguments Value Examples

Description

ERGAS Spatial Quality index

Usage

1
2
3
4
5
6
7
8
ergas_spat(
  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 layer 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

The value of the quality index

Examples

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

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