Thermal Camera SDK 11.3.0
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
Slope.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
15
16namespace optris
17{
18
24struct Slope
25{
27 float gain = 1.F;
29 float offset = 0.F;
30};
31
32
33// Utility functions
42inline std::ostream& operator<<(std::ostream& out, const Slope& slope) noexcept
43{
44 return (out << "gain: " << slope.gain << ", offset: " << slope.offset);
45}
46
47} // namespace optris
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.
Encapsulates the parameters of a linear transformation.
Definition Slope.h:25
float offset
Offset of the linear transformation.
Definition Slope.h:29
float gain
Gain of the linear transformation.
Definition Slope.h:27