Description Usage Arguments Value Examples
ERGAS Spatial Quality index
| 1 2 3 4 5 6 7 8 | ergas_spat(
  original,
  modified,
  pan,
  method,
  rp = mean(res(pan)),
  rms = mean(res(original))
)
 | 
| 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 | 
The value of the quality index
| 1 2 | pca <- pca_fusion(mis=mis, pan=pan, method="bilinear", bits=16)
ergas_spat(original=mis, modified=pca, pan=pan, method="bilinear")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.