Spectral resampling (to wavelength and FWHM)
Spectrally resample a spectral raster layer by applying spectral response function convolution, with spectral response function derived from wavelength and FWHM information.
Usage:
Start the algorithm from the Processing Toolbox panel.
Select a raster layer to process and a file containing wavelength and FWHM, then click run.
Parameters
- Spectral raster layer [raster]
A spectral raster layer to be resampled.
- File with wavelength and FWHM [file]
A file with center wavelength and FWHM information defining the destination sensor. Possible inputs are i) raster files, ii) ENVI Spectral Library files, iii) ENVI Header files, and iv) CSV table files with wavelength and fwhm columns.
- FWHM [number]
Specify a FWHM value used for each band. This overwrites FWHM values read from file
Outputs
- Output spectral response function library [fileDestination]
GEOJSON file destination.
- Output raster layer [rasterDestination]
Raster file destination.
Command-line usage
>qgis_process help enmapbox:SpectralResamplingToWavelengthAndFwhm
:
----------------
Arguments
----------------
raster: Spectral raster layer
Argument type: raster
Acceptable values:
- Path to a raster layer
responseFile: File with wavelength and FWHM
Argument type: file
Acceptable values:
- Path to a file
fwhm: FWHM (optional)
Argument type: number
Acceptable values:
- A numeric value
- field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field
- expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression
outputResponseFunctionLibrary: Output spectral response function library (optional)
Argument type: fileDestination
Acceptable values:
- Path for new file
outputResampledRaster: Output raster layer
Argument type: rasterDestination
Acceptable values:
- Path for new raster layer
----------------
Outputs
----------------
outputResponseFunctionLibrary: <outputFile>
Output spectral response function library
outputResampledRaster: <outputRaster>
Output raster layer