EduArt Sensor Ring Library 4.0.0
Loading...
Searching...
No Matches
ThermalMeasurement.hpp
Go to the documentation of this file.
1// Copyright (c) 2026 EduArt Robotik GmbH
2
9
10#pragma once
11
12#include <chrono>
13#include <cstdint>
14
17#include "sensorring/platform/SensorringExport.hpp"
18
19namespace eduart {
20
21namespace sensorring {
22
23namespace measurement {
24
29class SENSORRING_EXPORT GrayscaleImage : public ScalarImage<std::uint8_t, THERMAL_RESOLUTION> {};
30
35class SENSORRING_EXPORT FalseColorImage : public RgbImage<std::uint8_t, THERMAL_RESOLUTION> {};
36
44class SENSORRING_EXPORT TemperatureImage : public ScalarImage<double, THERMAL_RESOLUTION> {
45public:
52 GrayscaleImage toGrayscale(double t_min, double t_max) const;
53
59
66 FalseColorImage toFalseColor(double t_min, double t_max) const;
67
73};
74
99
100} // namespace measurement
101
102} // namespace sensorring
103
104} // namespace eduart
DeviceState
Unified lifecycle and runtime state of a device.
Definition DeviceState.hpp:30
@ Undefined
Initial state; device not yet configured.
Definition DeviceState.hpp:31
Universal header for all measurements.
Generic Image types.
False color image with 3 channels (red, green, blue) and 8 bit color depth.
Definition ThermalMeasurement.hpp:35
Grayscale image with 1 channel and 8 bit color depth.
Definition ThermalMeasurement.hpp:29
Pseudo image structure for the converted temperatures of a thermal image.
Definition ThermalMeasurement.hpp:44
GrayscaleImage toGrayscale(double t_min, double t_max) const
Convert to grayscale with explicit temperature range.
FalseColorImage toFalseColor() const
Convert to a false-color image (iron palette) using automatic min/max.
FalseColorImage toFalseColor(double t_min, double t_max) const
Convert to a false-color image (iron palette) with explicit range.
GrayscaleImage toGrayscale() const
Convert to grayscale using the automatic min/max of this image.
Universal header attached to every sensor measurement.
Definition Header.hpp:32
Template for images with three channels (R, G, B) and variable arithmetic type.
Definition Image.hpp:105
Template for images with one scalar value per pixel and variable arithmetic type.
Definition Image.hpp:32
Structure for holding a measurement from a thermal sensor.
Definition ThermalMeasurement.hpp:79
Header header
Measurement header.
Definition ThermalMeasurement.hpp:82
double t_ambient_deg_c
Ambient temperature in °C.
Definition ThermalMeasurement.hpp:88
device::DeviceState state
Device health state at the time of publication.
Definition ThermalMeasurement.hpp:85
TemperatureImage temperatures
Image structure where each pixel represents the temperature measured at that point in °C.
Definition ThermalMeasurement.hpp:97
double min_deg_c
Minimum temperature recorded in the measurement in °C.
Definition ThermalMeasurement.hpp:91
double max_deg_c
Maximum temperature recorded in the measurement in °C.
Definition ThermalMeasurement.hpp:94