|
GDAL
|
Pansharpening options. More...
#include <gdalpansharpen.h>
Public Attributes | |
| GDALPansharpenAlg | ePansharpenAlg |
| GDALRIOResampleAlg | eResampleAlg |
| int | nBitDepth |
| int | nWeightCount |
| double * | padfWeights |
| GDALRasterBandH | hPanchroBand |
| int | nInputSpectralBands |
| GDALRasterBandH * | pahInputSpectralBands |
| Array of nInputSpectralBands input spectral bands. | |
| int | nOutPansharpenedBands |
| int * | panOutPansharpenedBands |
| int | bHasNoData |
| double | dfNoData |
| NoData value of the panchromatic and spectral bands (only taken into account if bHasNoData = TRUE). | |
| int | nThreads |
| Number of threads or -1 to mean ALL_CPUS. | |
| double | dfMSShiftX |
| Shift in pixels of multispectral bands w.r.t panchromatic band, in X direction. | |
| double | dfMSShiftY |
| Shift in pixels of multispectral bands w.r.t panchromatic band, in Y direction. | |
Pansharpening options.
Whether the panchromatic and spectral bands have a noData value.
NoData value of the panchromatic and spectral bands (only taken into account if bHasNoData = TRUE).
This will also be use has the output nodata value.
Pan sharpening algorithm/method. Only weighed Brovey for now.
Resampling algorithm to upsample spectral bands to pan band resolution.
Panchromatic band.
Bit depth of the spectral bands. Can be let to 0 for default behaviour.
Number of input spectral bands.
Number of output pansharpened spectral bands.
Number of threads or -1 to mean ALL_CPUS.
By default (0), single threaded mode is enabled unless the GDAL_NUM_THREADS configuration option is set to an integer or ALL_CPUS.
Number of weight coefficients in padfWeights.
Array of nWeightCount weights used by weighted Brovey.
Array of nInputSpectralBands input spectral bands.
The spectral band have generally a coarser resolution than the panchromatic band, but they are assumed to have the same spatial extent (and projection) at that point. Necessary spatial adjustments must be done beforehand, for example by wrapping inside a VRT dataset.
Array of nOutPansharpendBands values such as panOutPansharpenedBands[k] is a value in the range [0,nInputSpectralBands-1] .
1.7.6.1.