Skip to content

Struct cuvis_pansharpening_settings_t

ClassList > cuvis_pansharpening_settings_t

general export settings

  • #include <cuvis.h>

Public Attributes

Type Name
CUVIS_INT add_pan
CUVIS_CHAR channel_selection
CUVIS_PAN_SHAPRENING_ALGORITHM_TYPE pan_algorithm
CUVIS_PAN_SHAPRENING_INTERPOLATION_TYPE pan_interpolation_type
double pan_scale
CUVIS_INT pre_pan_sharpen_cube
float spectra_multiplier

Public Attributes Documentation

variable add_pan

CUVIS_INT cuvis_pansharpening_settings_t::add_pan;

add pan to exported image / cube.

If applicable, the pan image is scaled to target pan-sharpening resolution.


variable channel_selection

CUVIS_CHAR cuvis_pansharpening_settings_t::channel_selection[CUVIS_MAXBUF];

The export channel selection

Use "all" or "full" for all available channels

Use ranges for wavelength range start-end or start:end or start:step:end ; All values in Nanometers. Examples: 450:10:550 or 450-550


variable pan_algorithm

CUVIS_PAN_SHAPRENING_ALGORITHM_TYPE cuvis_pansharpening_settings_t::pan_algorithm;

method for calculating the weights


variable pan_interpolation_type

CUVIS_PAN_SHAPRENING_INTERPOLATION_TYPE cuvis_pansharpening_settings_t::pan_interpolation_type;

for pansharpening use this interpolation type to scale up the cube before adjusting the weights

As a first step to pan-sharpening the spectral data needs to be re-sampled to the target resolution This parameter determines the method for this resampling.


variable pan_scale

double cuvis_pansharpening_settings_t::pan_scale;

amount of pan-sharpening

The value is relative to the pan image size, give a value between 0 and 1


variable pre_pan_sharpen_cube

CUVIS_INT cuvis_pansharpening_settings_t::pre_pan_sharpen_cube;

pansharpen cube before calculating user plugin

Normally pan sharpening is applied after calculating the user plugin. Prepansharpening can be used to get a pansharpened cube when no real userplugin shall be applied. Prepansharpening is calculated on the whole spectral cube which is heavy on performance.


variable spectra_multiplier

float cuvis_pansharpening_settings_t::spectra_multiplier;

multiply spectrum by fixed factor before exporting

This is most usefull for bitshifting the data - especially when the pan image is also added to the export.



The documentation for this class was generated from the following file docs/_api_sources/cuvis.h