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

本页目录

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

ImageFiltersConfig

最后更新
ImageFiltersConfig 定义了 ImageFilters 节点执行的滤镜链。它允许您启用或禁用空间、时间、散斑、双边和置信度滤镜,调整它们的参数,并加载针对飞行时间或立体视差输入量身定制的预设配置。通过 ImageFilters.initialConfig 发布初始配置,或通过 ImageFilters.inputConfig 推送运行时更新。这允许应用程序即时切换预设(例如,当场景变得嘈杂时切换激进的散斑抑制),而无需重建管道。

参考

class

dai::ImageFiltersConfig

variable
std::vector< std::int32_t > filterIndices
Index of the filter to be applied
variable
std::vector< FilterParams > filterParams
Parameters of the filter to be applied
function
~ImageFiltersConfig()
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
ImageFiltersConfig & updateFilterAtIndex(std::int32_t index, const FilterParams & params)
Insert filter parameters describing how a filter at index index should be updated
Parameters
  • index: Index of the filter to be inserted
  • params: Parameters of the filter to be inserted
function
ImageFiltersConfig & insertFilter(const FilterParams & params)
Insert filter parameters describing how a new filter should be inserted
Parameters
  • params: Parameters of the filter to be inserted
function
void setProfilePreset(ImageFiltersPresetMode presetMode)
Set preset mode for ImageFiltersConfig.
Parameters
function

需要帮助?

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