SatDump 2.0.0-alpha-76a915210
|
Base class for unit converters. This is meant to implement conversions between calibration unit types, for example from emissive radiance measured by a radiometer to brightness temperature, or to apply other processing such as compensating for sun angle in reflective channels, etc. More...
#include <calibration_converter.h>
Public Member Functions | |
virtual double | convert (const UnitConverter *c, double x, double y, double val) |
Core function (for images!) implementing conversion between calibration unit types. | |
virtual bool | convert_range (const UnitConverter *c, double &min, double &max) |
Convert unit ranges. This does the same as convert, except it's optimized for converting a range. |
Base class for unit converters. This is meant to implement conversions between calibration unit types, for example from emissive radiance measured by a radiometer to brightness temperature, or to apply other processing such as compensating for sun angle in reflective channels, etc.
|
virtual |
Core function (for images!) implementing conversion between calibration unit types.
c | reference to the UnitConverter this belongs to |
x | x position in the image |
y | position in the image |
val | input calibrated value |
Reimplemented in satdump::calibration::conv::BrightTempToEmRadConverter, satdump::calibration::conv::EmRadToBrightTempConverter, satdump::calibration::conv::KelvinCelsiusConverter, satdump::calibration::conv::RefRadToSunCorRefRadConverter, and satdump::calibration::conv::SunAngleConverter.
|
virtual |
Convert unit ranges. This does the same as convert, except it's optimized for converting a range.
c | reference to the UnitConverter this belongs to |
min | min of the range |
max | max of the range |
Reimplemented in satdump::calibration::conv::BrightTempToEmRadConverter, satdump::calibration::conv::EmRadToBrightTempConverter, satdump::calibration::conv::KelvinCelsiusConverter, satdump::calibration::conv::RefRadToSunCorRefRadConverter, and satdump::calibration::conv::SunAngleConverter.