ocssw
V2022
|
vegetation_indices.h
Go to the documentation of this file.
54 bool invalid_pixel(double pixel_elevation, double pixel_mask, double rhos_values[], int len_rhos_values);
float average_rhos_values(float rhos_values[], size_t length)
Get the average of rho_s values from a hyperspectral measurement to approximate a multi-band measurem...
Definition: vegetation_indices.c:27
bool invalid_pixel(double pixel_elevation, double pixel_mask, double rhos_values[], int len_rhos_values)
Check pixel attributes for validity.
Definition: vegetation_indices.c:35
float clamp(float pixel_value, int minimum, int maximum)
Clamp the value of a pixel between minval and maxval.
Definition: vegetation_indices.c:49
bool instrument_is_hyperspectral(int32_t num_bands)
Definition: vegetation_indices.c:53