SatDump 2.0.0-alpha-76a915210
Loading...
Searching...
No Matches
satdump::calibration::conv::RefRadToSunCorRefRadConverter Class Reference

Reflective Radiance to Sun Corrected Reflective Radiance converter. More...

#include <ref_rad_to_sun_cor_ref_rad.h>

Inheritance diagram for satdump::calibration::conv::RefRadToSunCorRefRadConverter:
satdump::calibration::ConverterBase

Public Member Functions

double convert (const UnitConverter *c, double x, double y, double val)
 Core function (for images!) implementing conversion between calibration unit types.
bool convert_range (const UnitConverter *, double &, double &)
 Convert unit ranges. This does the same as convert, except it's optimized for converting a range.

Detailed Description

Reflective Radiance to Sun Corrected Reflective Radiance converter.

This corrects reflective radiance to negate the effects of varying solar irradiance/elevation.

It is also used for albedo correction, as the math is identical.

Member Function Documentation

◆ convert()

double satdump::calibration::conv::RefRadToSunCorRefRadConverter::convert ( const UnitConverter * c,
double x,
double y,
double val )
inlinevirtual

Core function (for images!) implementing conversion between calibration unit types.

Parameters
creference to the UnitConverter this belongs to
xx position in the image
yposition in the image
valinput calibrated value
Returns
converted unit, or CALIBRATION_INVALID_VALUE on errors

Reimplemented from satdump::calibration::ConverterBase.

◆ convert_range()

bool satdump::calibration::conv::RefRadToSunCorRefRadConverter::convert_range ( const UnitConverter * c,
double & min,
double & max )
inlinevirtual

Convert unit ranges. This does the same as convert, except it's optimized for converting a range.

Parameters
creference to the UnitConverter this belongs to
minmin of the range
maxmax of the range
Returns
true if the convertion was done

Reimplemented from satdump::calibration::ConverterBase.


The documentation for this class was generated from the following file: