文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 互联网 > codebook建模 代码
侵权投诉

codebook建模 代码

/**

比平均背景法性能更加良好的方法,codeBook模型实现背景减除

核心代码详细解析和实现 by zcube

doc.guandang.net

*/ /************************************************************************/ /* A few more thoughts on codebook models In general, the codebook method works quite well across a wide number of conditions,

and it is relatively quick to train and to run. It doesn’t deal well with varying patterns of light — such as morning, noon, and evening sunshine — or with someone turning lights on or off indoors. This type of global variability can be taken into account by using

several different codebook models, one for each condition, and then allowing the condition

to control which model is active. */

/************************************************************************/ #include "stdafx.h"

#include <cv.h> #include <highgui.h>

#include <cxcore.h>

#define CHANNELS 3

// 设置处理的图像通道数,要求小于等于图像本身的通道数 /////////////////////////////////////////////////////////////////////////// // 下面为码本码元的数据结构

// 处理图像时每个像素对应一个码本,每个码本中可有若干个码元

// 当涉及一个新领域,通常会遇到一些奇怪的名词,不要被这些名词吓坏,其实思路都是简单的 typedef struct ce { uchar learnHigh[CHANNELS]; // High side threshold for learning

// 此码元各通道的阀值上限(学习界限)

uchar learnLow[CHANNELS]; // Low side threshold for learning

// 此码元各通道的阀值下限

// 学习过程中如果一个新像素各通道值x[i],均有 learnLow[i]<=x[i]<=learnHigh[i],则该像素可合并于此码元

uchar max[CHANNELS]; // High side of box boundary

// 属于此码元的像素中各通道的最大值

uchar min[CHANNELS]; // Low side of box boundary

第1页

你可能喜欢

  • 运动检测
  • 斗地主游戏
  • 人脸检测论文
  • 轮廓提取
  • 点特征提取
  • 故障处理
  • 冗余系统

热门文档

相关文档

  • code_book背景建模法

    code_book背景建模法_计算机软件及应用_IT/计算机_专业资料。opencv 源代码cv_yuv_codebook.h 文件: /// /// // Accumulate average and ~std (...

  • codebook代码实现

    codebook代码实现_计算机软件及应用_IT/计算机_专业资料。前景分割中一个非常重要...();//平均法建模过程 } //Find the foreground if any if(i >= ...

  • 过录编码簿(Codebook)

    codebook 98页 免费 CGSS2003 codebook 16页 免费 codebook_solution 39页 免费 编码簿 暂无评价 4页 10财富值 codebook建模 代码 10页 2财富值 Codebook Alg...

  • codebook码本算法

    Real-time foreground–background segmentation using codebook model Kyungnam Kim 报告人:霍东海 参考网络资源 ? Codebook背景建模原理(中文简介) ? 网址: http...

  • opencv码本(codebook)背景模型

    opencv码本(codebook)背景模型_计算机软件及应用_IT/计算机_专业资料。这是openc...codebook建模 代码 10页 1下载券 codebook 50页 免费 codebook算法总结 50页...

  • 使用双层Codebook模型进行实时背景建模与背景减除

    使用双层Codebook模型进行实时背景建模与背景减除_计算机软件及应用_IT/计算机_专业资料。原文:Real-time Background Modeling/Subtraction using Two-Layer Codebook Mod...

  • 一种基于主成分分析的Codebook背景建模算法

    本文算法 通过引入主成分分析对呈现椭球体分布的背景像素 4期 霍东海等: 一种基于主成分分析的 Codebook 背景建模算法 595 分量, 最后计算出新线性空间下的前景...

  • 使用Codebook模型进行实时前景-背景分割

    使用Codebook模型进行实时前景-背景分割_计算机软件及应用_IT/计算机_专业资料。原文...codebook建模 代码 10页 1下载券 codebook算法总结 50页 2下载券 运动目标检...

  • 基于背景Codebook模型的前景检测算法

    采用 Codebook 来建模场景中感兴趣的状态 , 选择 RGB 颜色空间模型 , 学习一个 覆盖组成图 像像素三 个通道上的 Codebook, 可以有效 的解决 像素剧烈变化的...

  • 基于背景Codebook模型的前景检测算法

    这 来建模场景中感兴趣的状态 ,选择 RGB 颜色空间模型 ,学习一个覆盖组成图像像素三个通道上的 Codebook,可以有效的解决 像素剧烈变化的问题 ,从而鲁棒探测出场景...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email