当前位置:文档之家› 基于卡尔曼滤波的动态目标跟踪

基于卡尔曼滤波的动态目标跟踪


0 引 言 动 态 目标 跟踪 是 在 视 频 流 的每 一 幅 图像 中 确定 出感 兴
趣 的运 动 目标 的位 置 ,并 把 不 同 帧 中 的 同一 目标 对 应 起 来 , 是机 器 视 觉领 域 的热点 研 究 之 一 ,广 泛 应 用 在 交通 监 控 、车 辆 跟踪 中 。在 机 器 视 觉研 究 领 域 ,随着 技术 不 断 发 展 ,目标 跟踪 越 来 越受 到研 究 者 的重 视 ,具 有 广 阔 的应 用 前 景 。
System,Huaqiao University,Quanzhou 36202 1,China)
Abstract:In order to realize accurate and real—tim e dynamic target tracking from the industrial cam era,this paper puts forward an algorithm based on Kalman filter. By creating a background model,it estimates the current background,then obtains the foreground,and takes a morpho— logical image processing on foreground. Finally,the background will be updated by calculating the complement of the foreground.This m ethod can adjust the threshold of foreground and background according to different scenarios information and abate the noise impact of the background region ,and it can rapidly and autom atically update the background according to the real—tim e changed scene.The algorithm was realized by Hal— con functions combined with JAI SDK upon VS2010.The JAI SDK for the development of Gigabit Ethernet cameras,suppo ̄s alm ost all Gigabit Ethernet cameras.Experiment showed that it can real—timely and accurately keep track of dynam ic target. Key words:dynamic tracking; Kalman filter; Halcon;JAI SDK
m age and M ultimedia
基 于 卡 尔 曼 滤 波 的动 态 目标 跟 踪
余 乐 ,郑 力 新
(华 侨 大 学 工业 智 能 化 技 术 与 系 统 福 建 省 高 校 工 程 研 究 中心 ,福 建 泉 州 362021)
摘 要 :为 了实现 5-业相 机对 动 态 目标 的准确 、实时跟 踪 ,提 出 了基 于卡 尔 曼滤 波 的算 法 。通 过创 建 背景 模 型 来估 计 出 当前 背
可 变 部 分 模 型 (Deformable Parts Model,DPM)… 是 一 个 非 常 成 功 的 目标 检 测 与跟 踪 算 法 ,它 的 核 心 思 想 是 模 板 匹 配 。而 国 内动 态 目标 跟 踪 研 究 和 使 用 较 多 的 是 相 邻 帧 差 法 、背 景 差 分 法 等 。相 邻 帧差 法 根 据 目标 与 背 景 灰 度
计 。 通 过 在 VS2010平 台 上 结 合 JAI软 件 开 工 具 包 (Software Development Kit,SDK)调 用 Halcon函 数 库 实 现 了 卡 尔 曼 滤 波 动 态 跟
踪 ,其 中 JAI SDK用于 开发 千兆 网相机 ,几乎 支持 所 有千 兆 网相机 。 实验 结 果表 明 ,该算 法 能够 实现 对 目标 的 实 时动 态跟 踪 ,踪 ;卡 尔 曼 滤 波 ;Halcon;JAI SDK
中 图 分 类 号 :TP391.4
文 献 标 识 码 :A
DOI:10.19358/j.issn.1674—7720.2016.16.013
引用格 式 :余乐 ,郑力新 .基 于卡尔 曼滤 波 的动态 目标 跟踪 [J].微 型机 与应用 ,2016,35(16):44-45,52.
本 文 设 计 一 种 在 c#编 程 环 境 下 通 过 工 业 相 机 获 取 实 时 画 面 并 同步 根 据 背 景 估 计 的前 一 个 状 态 、当 前 图 像 值 以 及 该像 素 在 前 一 个 状 态 中 的分 类 ,决 定 卡尔 曼 滤 波 器 的参 数 ,进 行 卡 尔 曼 滤 波 和 相 关 图像 形 态 学 处 理 的 方 法 ,实 现 实 时 运 动 目标 跟 踪 。 1 研 究 现 状
Dynamic target tracking based on Kalman f ilter
Yu le,Zheng Lixin (Engineering Research Center of Haaqiao University Fujian Industrial Intelligent Technology and
景 ,进 而得 到 前景 区域 ,并 对前 景 区域 进行 相 关处理 ,最后 通过 计算 补 集得 到 更 新后 的背 景 。此 方 法 能根 据 不 同场 景 信 息调 整
前景 与背景 阈值 ,减弱 背景 区域造 成 的噪声 影 响 ,实 时地根 据 场 景 变化 快 速 、自动 更 新 背景 ,并 对每 一 位 置 的像 素进 行 背景 估
相关主题