此页面由 AI 自动翻译。查看英文原版
最后更新

本页目录

  • 功能示例
  • 参考
Claude CodeCodexCursor
Luxonis 智能体工具包为你常用的编程智能体加载 Luxonis 上下文与技能,更快地基于 OAK 开发应用。
安装工具包

ThermalConfig

最后更新
ThermalConfig 消息用于配置 Thermal 节点。 它允许运行时控制热成像参数、平场校正 (FFC)、环境参数、增益模式、亮度、对比度和降噪算法。您可以通过节点的 inputConfig 输入队列动态发送此消息,以在流式传输时更新参数。

功能示例

参考

class

dai::ThermalConfig

#include ThermalConfig.hpp
variable
ThermalAmbientParams ambientParams
Ambient factors that affect the temperature measurement of a Thermal sensor.
variable
ThermalFFCParams ffcParams
Parameters for Flat-Field-Correction.
variable
ThermalImageParams imageParams
Image signal processing parameters on the sensor.
function
ThermalConfig()
Construct ThermalConfig message.
function
~ThermalConfig()
function
void serialize(std::vector< std::uint8_t > & metadata, DatatypeEnum & datatype)
inline function
DatatypeEnum getDatatype()
Get the datatype of this specific message.
Returns
DatatypeEnum
function
struct

dai::ThermalConfig::ThermalAmbientParams

#include ThermalConfig.hpp
variable
std::optional< uint16_t > distance
Distance to the measured object. unit:cnt(128cnt=1m), range:0-25600(0-200m)
variable
std::optional< uint16_t > reflectionTemperature
Reflection temperature. unit:K, range:230-500(high gain), 230-900(low gain)
variable
std::optional< uint16_t > atmosphericTemperature
Atmospheric temperature. unit:K, range:230-500(high gain), 230-900(low gain)
variable
std::optional< uint8_t > targetEmissivity
Emissivity. unit:1/128, range:1-128(0.01-1)
variable
std::optional< uint8_t > atmosphericTransmittance
Atmospheric transmittance. unit:1/128, range:1-128(0.01-1)
variable
std::optional< ThermalGainMode > gainMode
Gain mode, low or high.
function
struct

dai::ThermalConfig::ThermalFFCParams

variable
std::optional< bool > autoFFC
Auto Flat-Field-Correction. Controls wheather the shutter is controlled by the sensor module automatically or not.
variable
std::optional< uint16_t > minFFCInterval
Minimum FFC interval when auto FFC is enabled. The time interval between two FFC should not be less than this value.
variable
std::optional< uint16_t > maxFFCInterval
Maximum FFC interval when auto FFC is enabled. The time interval between two FFC should not be more than this value.
variable
std::optional< uint16_t > autoFFCTempThreshold
Auto FFC trigger threshold. The condition for triggering the auto FFC is that the change of Vtemp value exceeds a certain threshold, which is called the Auto FFC trigger threshold.
variable
std::optional< bool > fallProtection
The shutter blade may open/close abnormally during strong mechanical shock (such as fall), and a monitoring process is designed in the firmware to correct the abnormal shutter switch in time. Turn on or off the fall protect mechanism.
variable
std::optional< uint16_t > minShutterInterval
Frequent FFC will cause shutter heating, resulting in abnormal FFC effect and abnormal temperature measurement. Regardless of which mechanism triggers FFC, the minimum trigger interval must be limited.
variable
std::optional< bool > closeManualShutter
Set this to True/False to close/open the shutter when autoFFC is disabled.
variable
std::optional< uint16_t > antiFallProtectionThresholdHighGainMode
variable
std::optional< uint16_t > antiFallProtectionThresholdLowGainMode
function
DEPTHAI_SERIALIZE(ThermalFFCParams, autoFFC, minFFCInterval, maxFFCInterval, autoFFCTempThreshold, fallProtection, minShutterInterval, closeManualShutter, antiFallProtectionThresholdHighGainMode, antiFallProtectionThresholdLowGainMode)
struct

dai::ThermalConfig::ThermalImageParams

variable
std::optional< uint8_t > timeNoiseFilterLevel
0-3. Time noise filter level. Filters out the noise that appears over time.
variable
std::optional< uint8_t > spatialNoiseFilterLevel
0-3. Spatial noise filter level.
variable
std::optional< uint8_t > digitalDetailEnhanceLevel
0-4 Digital etail enhance level.
variable
std::optional< uint8_t > brightnessLevel
Image brightness level, 0-255.
variable
std::optional< uint8_t > contrastLevel
Image contrast level, 0-255.
variable
std::optional< ThermalImageOrientation > orientation
Orientation of the image. Computed on the sensor.
function
enum

ThermalImageOrientation

Orientation of the image.
enumerator
Normal
enumerator
Mirror
enumerator
Flip
enumerator
MirrorFlip
enum

ThermalGainMode

Thermal sensor gain mode. Use low gain in high energy environments.
enumerator
LOW
enumerator
HIGH

需要帮助?

请访问讨论论坛以获取技术支持或您可能有的任何其他问题。