Image Calibration Handler. This handles converting between raw pixel values and calibrated/physical units. It is a simple linear transform.
More...
#include <meta.h>
|
double | getVal (double img_val) |
| Convert from raw image value to calibration.
|
double | setVal (double cal_val) |
| Convert from calibrated value to raw image value.
|
|
std::string | unit |
double | scale = 0 |
double | offset = 0 |
double | min = 0 |
double | max = 0 |
Image Calibration Handler. This handles converting between raw pixel values and calibrated/physical units. It is a simple linear transform.
- Parameters
-
unit | calibrated unit (or name) |
scale | scale (a of ax+b function) |
offset | offset (b of ax+b function) |
◆ getVal()
double satdump::image::ImgCalibHandler::getVal |
( |
double | img_val | ) |
|
|
inline |
Convert from raw image value to calibration.
- Parameters
-
img_val | the raw pixel value |
- Returns
- calibrated value
◆ setVal()
double satdump::image::ImgCalibHandler::setVal |
( |
double | cal_val | ) |
|
|
inline |
Convert from calibrated value to raw image value.
- Parameters
-
cal_val | the calibrated value |
- Returns
- raw pixel value
The documentation for this struct was generated from the following file: