18static constexpr unsigned int THERMAL_RESOLUTION = 1024;
19static constexpr unsigned int MAX_MSG_LENGTH = 64;
21namespace measurement {
28 static_assert(std::is_arithmetic<T>::value,
"T must be an arithmetic type");
31 std::array<T, RESOLUTION>
data = {};
92template <
typename T, std::
size_t RESOLUTION>
struct SENSORRING_API
GenericRGBImage {
93 static_assert(std::is_arithmetic<T>::value,
"T must be an arithmetic type");
96 std::array<std::array<T, 3>, RESOLUTION>
data = {};
Control the import and export of Windows DLL symbols.
Template for images with one channel and variable type.
Definition Image.hpp:27
GenericGrayscaleImage & operator-=(const GenericGrayscaleImage &other)
Subtract two GrayScaleImage images pixel wise.
GenericGrayscaleImage & operator+=(const T other)
Add the same value to each pixel.
GenericGrayscaleImage & operator-=(const GenericGrayscaleImage< U, RESOLUTION > &other)
Subtract two GrayScaleImage images of different data types pixel wise.
GenericGrayscaleImage & operator+=(const GenericGrayscaleImage &other)
Add two GrayScaleImage images pixel wise.
double avg()
Calculate the average over all pixels.
GenericGrayscaleImage & round()
Round each pixel value when a floating point type is used.
GenericGrayscaleImage & operator+=(const GenericGrayscaleImage< U, RESOLUTION > &other)
Add two GrayScaleImage images of different data types pixel wise.
GenericGrayscaleImage & operator-=(const T other)
Subtract the same value from each pixel.
GenericGrayscaleImage & operator/=(const T other)
Divide each pixel by the same value.
std::array< T, RESOLUTION > data
Internal data structure for the image.
Definition Image.hpp:31
Template for images with three channels and variable type.
Definition Image.hpp:92
std::array< std::array< T, 3 >, RESOLUTION > data
Internal data structure for the image.
Definition Image.hpp:96