![]() |
EduArt Sensor Ring Library 4.0.0
|
Pseudo image structure for the converted temperatures of a thermal image. More...
#include <ThermalMeasurement.hpp>
Public Member Functions | |
| GrayscaleImage | toGrayscale (double t_min, double t_max) const |
| Convert to grayscale with explicit temperature range. | |
| GrayscaleImage | toGrayscale () const |
| Convert to grayscale using the automatic min/max of this image. | |
| FalseColorImage | toFalseColor (double t_min, double t_max) const |
| Convert to a false-color image (iron palette) with explicit range. | |
| FalseColorImage | toFalseColor () const |
| Convert to a false-color image (iron palette) using automatic min/max. | |
| Public Member Functions inherited from eduart::sensorring::measurement::ScalarImage< double, THERMAL_RESOLUTION > | |
| void | copyTo (double *buffer, int size) |
| Copy image data to a pre-allocated buffer. | |
| double | avg () |
| Calculate the average over all pixels. | |
| ScalarImage & | round () |
| Round each pixel value when a floating point type is used. | |
| ScalarImage & | operator/= (const double other) |
| Divide each pixel by the same value. | |
| ScalarImage & | operator+= (const double other) |
| Add the same value to each pixel. | |
| ScalarImage & | operator-= (const double other) |
| Subtract the same value from each pixel. | |
Additional Inherited Members | |
| Public Attributes inherited from eduart::sensorring::measurement::ScalarImage< double, THERMAL_RESOLUTION > | |
| std::array< double, RESOLUTION > | data |
| Internal data structure for the image. | |
Pseudo image structure for the converted temperatures of a thermal image.
Each pixel stores a temperature value in °C. Provides methods to convert to visualization images (grayscale or false-color iron palette).
| FalseColorImage eduart::sensorring::measurement::TemperatureImage::toFalseColor | ( | ) | const |
Convert to a false-color image (iron palette) using automatic min/max.
| FalseColorImage eduart::sensorring::measurement::TemperatureImage::toFalseColor | ( | double | t_min, |
| double | t_max ) const |
Convert to a false-color image (iron palette) with explicit range.
| [in] | t_min | Temperature mapped to the cold end of the palette. |
| [in] | t_max | Temperature mapped to the hot end of the palette. |
| GrayscaleImage eduart::sensorring::measurement::TemperatureImage::toGrayscale | ( | ) | const |
Convert to grayscale using the automatic min/max of this image.
| GrayscaleImage eduart::sensorring::measurement::TemperatureImage::toGrayscale | ( | double | t_min, |
| double | t_max ) const |
Convert to grayscale with explicit temperature range.
| [in] | t_min | Temperature mapped to pixel value 0. |
| [in] | t_max | Temperature mapped to pixel value 255. |