pansharpen: Panchromatic sharpening

panSharpenR Documentation

Panchromatic sharpening

Description

Panchromatic band sharpening of lower resolution satellite images.

Usage

## S4 method for signature 'SpatRaster,SpatRaster'
panSharpen(x, p, method="Brovey", weights=NULL, filename="", overwrite=FALSE, ...)

Arguments

x

SpatRaster with layers (bands) to be sharpened

p

SpatRaster with a single panchromatic layer at a higher spatial resolution than x

method

character. Either "Brovey" or "HSI"

weights

optional vector of weights for the "Brovey" method. The weights should have a length equal to nlyr(x) and they should normally add up to 1

filename

character. Output filename

overwrite

logical. If TRUE, existing files are overwritten

...

additional arguments for writing files as in writeRaster

Value

SpatRaster


rspatial/luna documentation built on Dec. 26, 2024, 12:33 a.m.