Thermal Camera SDK 11.3.0
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
FieldProperties.h
Go to the documentation of this file.
1// Copyright (c) 2008-2026 Optris GmbH & Co. KG
2
10
11#pragma once
12
13#include <ostream>
14#include <string>
15
16#include "otcsdk/Api.h"
17
18
19namespace optris
20{
21
30
39
42{
44 float min = 0.F;
46 float max = 0.F;
48 float mean = 0.F;
50 float sampleDeviation = 0.F;
52 float median = 0.F;
54 std::size_t n = 0;
55};
56
57
58// Utility functions
67OTC_SDK_API float getFieldStat(const FieldStats& stats, FieldStat stat) noexcept;
68
78OTC_SDK_API std::string toString(FieldShape shape) noexcept;
79
89 OTC_SDK_API std::string toString(FieldStat stat) noexcept;
90
99OTC_SDK_API std::ostream& operator<<(std::ostream& out, FieldShape shape) noexcept;
100
109OTC_SDK_API std::ostream& operator<<(std::ostream& out, FieldStat stat) noexcept;
110
119OTC_SDK_API std::ostream& operator<<(std::ostream& out, const FieldStats& stats) noexcept;
120
121} // namespace optris
Contains defines controlling the Windows DLL export and import of symbols.
#define OTC_SDK_API
Only needed when working with Windows DLLs.
Definition Api.h:65
Main SDK namespace.
Definition AlarmChannel.h:21
OTC_SDK_API std::ostream & operator<<(std::ostream &out, const AlarmChannelConfig &config) noexcept
Output stream operator for alarm channel configurations.
FieldShape
Represents the different available field shapes.
Definition FieldProperties.h:24
@ Ellipse
Elliptical field.
Definition FieldProperties.h:26
@ Polygon
Polygonal field defined by a set of vertices.
Definition FieldProperties.h:27
@ Rectangle
Rectangular field.
Definition FieldProperties.h:25
@ Splines
Spline based field defined by a set of vertices.
Definition FieldProperties.h:28
OTC_SDK_API float getFieldStat(const FieldStats &stats, FieldStat stat) noexcept
Returns the value of the given field statistic.
FieldStat
Represents the different field statistics that can be used by other components (PIF,...
Definition FieldProperties.h:33
@ Mean
Mean field temperature.
Definition FieldProperties.h:36
@ Median
Median field temperature.
Definition FieldProperties.h:37
@ Maximum
Maximum field temperature.
Definition FieldProperties.h:35
@ Minimum
Minimum field temperature.
Definition FieldProperties.h:34
OTC_SDK_API std::string toString(AlarmInput alarmInput) noexcept
Returns a string representation of the given alarm input.
Encapsulates the results of the statistical analysis of a measurement field.
Definition FieldProperties.h:42
float min
Minimum temperature in °C.
Definition FieldProperties.h:44
float mean
Mean temperature in °C.
Definition FieldProperties.h:48
float median
Median temperature in °C.
Definition FieldProperties.h:52
float max
Maximum temperature in °C.
Definition FieldProperties.h:46
float sampleDeviation
Sample deviation of the temperatures in °C.
Definition FieldProperties.h:50
std::size_t n
Number of evaluated valid pixels in the field.
Definition FieldProperties.h:54