登录
首页 » Others » SimpleCapture视频采集例子,摄像头采集.rar

SimpleCapture视频采集例子,摄像头采集.rar

于 2021-12-13 发布
0 225
下载积分: 1 下载次数: 1

代码说明:

基于Media foundation的视频采集例子,摄像头采集,做视频直播的可以参考。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • RBF神经网络matlab
    RBF神经网络,实例matlab程序,学校资料
    2020-12-06下载
    积分:1
  • matlab遥感图像处理
    包括 遥感图像读取NDVI 主成份 kt变换 IHS变换 聚类分离 傅立叶变换
    2020-12-05下载
    积分:1
  • 虚拟数字电压表
    利用labview来实现虚拟数字电压表.虚拟数字电压表分别对电压的峰峰值,最大值最小值进行测量,并且分别对交流和直流电压进行测试。
    2021-05-07下载
    积分:1
  • qt5.3 实现直尺
    qt实现直尺,支持放大缩小,移动,旋转,画线等操作,源码直接编译运行即可。
    2020-12-09下载
    积分:1
  • Two Dimensional Phase Unwrapping Theory Algorithms and Software
    Two Dimensional Phase Unwrapping Theory Algorithms and Software,扫描文档,清晰度一般。GTWO-DIMENSIONALPHASE UNWRAPPINGTHEORY ALGORITHMSAND SOFTWAREDennis C. ghigliaSandia National LaboratoriesAlbuquerque, New MexMark D. PrittLockheed Martin CorporationGaithersburg, Maryland藏A WILEY-INTERSCIENCE PUBLICATIONJOHN WILEY SONS, INCNew York Chichester Weinheim Brisbane Singapore / Toronto2005060radar interferogram generated byDeathon each pass, The terrain elevations can be computed from thebut the phase differences must fig problem In regions of steeprrupted where there are radar shadow and "layover"effects. Surfaceoccurred between the two passes, which were 24 days apar alsopThis image was acquired as part of a program for the Terrain Modeling Project Officended byEngineering Center. The SAR data was provided by Radarsat Intenational THinterferogram was generated and provided by Vexcel Corporation, Boulder, Coloradop00This text is printed on acid-free paper.Copyright o 1998 by John Wiley Sons, Inc. All rights reservedNo part of this publicationreproduced, stored in a retrievalsystem or transmitted in any form or by any means, elechanical photocopying, recording, scanning or otherwise,xcept as permitted under Sections 107 or 1O% of the 1976of the Publisher or authorization through payment of theontates Copyright Act, without cither theppropriate per-copy fee to the Copyright Clearance Center, 222750-4744. Requests to the Publisher for permission show(978)ood Drive, Danvers, MA 01923, (978)750-8400, faxnc.. 605 Third A venue. New York, NY 10158-0012(212)850-6011fax(212)850-6008,E-Mail:PERMREQ@WILEY.COMTwo-dimensional phase unwrapping: theory, algorithms, andsoftware/Dennis C Ghiglia and Mark D Pritt.SBN0-471-24935-1(cloth: alk. paper)1. Synthetic aperture radar. 2. Signal processing--Mathematics3. Interferometry. I Pritt. Mark D. [L. Title621.367-dc2l97-3803410987654321;4TWO-DIMENSIONALPHASE UNWRAPPINGFOREWORDTwo-dimensional phase unwrapping is the type of problem that is typically thedomain of the mathematician. It is both complex and abstract However, phaseunwrapping is also the core technology that enables radar interferometryOver the past decade interferometry has changed the way that we use radardata. Radar data are now used for precise measurement of surface topography inclouded regions. Additionally, spaceborne radar systems have proved effectivefor measuring surface changes from earthquakes and volcanic eruptions. Theseapplications have created a new class of radar data users primarily involved inmapping and remote sensing applicationIn Two-Dimensional Phase Unwrapping: Theory, Algorithms, and Softwarethe authors unlock the mystery of phase unwrapping in interferometric datarocessing. This text provides a clear, concise treatment of phase unwrappingthat cannot be found in any other source. It presents for the first time therelationship between theory and application. Its uniform treatment of thevarious phase unwrapping techniques makes it a valuable resource for anyengineer or scientist involved in processing or exploitation of interferometricexpect that radar interferometry will increase in importance over the comingdecade with the development of airborne and spaceborne sensor systemsdesigned to optimally exploit this tcchnology. Two- Dimensionsping: Theory, Algorithms, and Software is an important contribution to ourinderstanding of radar interferometry that will bencfit both research intoadvanced techniques and the design of these future sensor systemsJOHN C. CURLANDEPresident and CEOVexcel CorporationPREFACETwo-dimensional phase unwrapping arises most naturally in, but is notrestricted to, interferometric applications. Measured or calculated phasevalues from two or more mutually coherent multidimensional signals are relatedn a nonlinear manner to a desired physical quantity of interest. The nonlinearityis in the form of"wraps"or cycle discontinuities where an underlying two-dimensional phase is wrapped into the interval (T, r. The wrapped phasemust somehow be unwrapped in order to provide an estimate of the underlyingphysical quantity. Estimation of surface topography from interferometricsynthetic aperture radar(SAR)or extremely accurate profiling of mechanicaparts by optical interferometers are two such examplesOriginally developed for military reconnaissance, SAR is now experiencingnew life in civil applications. In fact civilian and commercial interests are rapidlbecoming the drivers of technology. Clever utilization of the coherent SArimagery in interferometric configurations makes possible the measurement ofsurface topography to accuracies much better than the spatial resolution( 0.3meters to several meters)of the SaR images themselves. Indeed, as is commonplace with interferometers, measurement sensitivities are on the order of theoperating wavelength, which is typically a few centimeters for SAR. Imaginggeometries, noise, and other operational factors degrade performance some-what from centimeter-scale accuracies, but nevertheless SAR interferometrymakes possible global topographic mapping in a timely fashion, in daylight or atnight, in all weather conditions, and with unprecedented accuracyinterferometry also can detect deformations of the earths crust on the orderof millimeters, a capability that shows promise for the timely detection ofearthquakes or volcanic eruptionsThese exciting possibilities have led to an explosive growth in the field of phaseunwrapping as indicated by the increasing number of journal publicationsNewcomers to SAR interferometry and related disciplines will eventuallyonfront the phase unwrapping problem and, undoubtedly, will encounter arather bewildering variety of ideas and algorithms, including those based onneural networks, simulated annealing, cellular automata, genetic algorithms,and other unusual constructs. Which of these are good? Which are not? We doThroughout this book we use the notation(-丌,丌 to represent the interval-丌
    2020-12-12下载
    积分:1
  • 西安电子科技大学现代控制理论课件
    西安电子科技大学机械设计制造及其自动化课件
    2020-12-01下载
    积分:1
  • 直流无刷电机双闭环控制系统仿真模型
    BLDC双闭环调速体统建模方针模型。 速度控制策略。 电流环 速度环均为PD控制器
    2020-12-06下载
    积分:1
  • 30个单片机实验及实践教
    主要内容:(1)将里面的实验用Proteus仿真!!!!包括C语言的和汇编的!!! (2)加了注释(本人也是刚学的,可能有些错误,望提出!) 还加了部分与该实验有关的资料!!(3)将本人发现的原版中的问题加以改正.(里面还有小部分问题,目前仍然不明) 1.闪烁灯2.模拟开关灯3.多路开关状态指示4. 广告灯的左移右移5.广告灯(利用取表方式)6.报警产生器 声音有问题——估计是LM386的问题,去掉可以正常仿真。7. I-O并行口直接驱动LED显示8.按键识别方法之9.一键多功能按键识别技术10. 00-99计
    2021-05-06下载
    积分:1
  • 汽车仿真之电池模型-适合新手入门.zip
    【实例简介】进行整车仿真时电池的电压和SOC是十分重要的考虑因素,虽然电池的simulink建模比较简单,大多数都是基于查表的算法,但是电池BMS中能够准确的计算SOC却是一个难点,因此从建模开始慢慢的学习很有必要。 结合网址学习https://blog.csdn.net/qq_33125039/article/details/89299584
    2021-11-24 00:46:35下载
    积分:1
  • Google word2vec算法 数学原理
    文档是 word2vec 算法 数学原理详解。word2vec是google的一个开源工具,能够仅仅根据输入的词的集合计算出词与词直接的距离,既然距离知道了自然也就能聚类了,而且这个工具本身就自带了聚类功能,很是强大。32预备知识本节介绍word2v中将用到的一些重要知识点,包括 sigmoid函数、 Bccs公式和Huffman编码等821 sigmoid函数sigmoid函数是神经网络中常用的激活函数之一,其定义为1+e该函数的定义域为(-∞,+∞),值域为(0,1).图1给出了 sigmoid函数的图像0.56图1 sigmoid函数的图像sigmoid函数的导函数具有以下形式(x)=0(x)1-0(x)由此易得,函数loga(x)和log(1-0(x)的导函数分别为log a(a)-1 a(a),log(1 o(a))l-a(a),(2.1)公式(2.1)在后面的推导中将用到32.2逻辑回归生活中经常会碰到二分类问题,例如,某封电子邮件是否为垃圾邮件,某个客户是否为潜在客户,某次在线交易是否存在欺诈行为,等等设{(x;)}温1为一个二分类问题的样本数据,其中x∈Rn,∈{0,1},当v=1时称相应的样本为正例当v=0时称相应的样本为负例利用 sigmoid函数,对于任意样本x=(x1,x2,…,xn),可将二分类问题的 hypothesis函数写成h(x)=o(6o+b1x1+62+…+bnxn)其中θ=(0,61,…,On)为待定参数.为了符号上简化起见,引入x0=1将x扩展为(x0,x1,x2,……,xn),且在不引起混淆的情况下仍将其记为ⅹ.于是,he可简写为取阀值T=0.5,则二分类的判别公式为ho(x)≥0.5:X)=0,ha(x)6),可分别用000001、010、011、100、101对“A,E,R,T,F,D”进行编码发送,当对方接收报文时再按照三位一分进行译码显然编码的长度取决报文中不同字符的个数.若报文中可能出现26个不同字符,则固定编码长度为5(25=32>26).然而,传送报文时总是希望总长度尽可能短.在实际应用中各个字符的出现频度或使用次数是不相同的,如A、B、C的使用颗率远远高于X、Y、Z,自然会想到设计编码时,让使用频率高的用短码,使用频率低的用长码,以优化整个报文编码为使不等长编码为前缀编码(即要求一个字符的编码不能是另一个字符编码的前缀),可用字符集中的每个字符作为叶子结点生成一棵编码二叉树,为了获得传送报文的最短长度,可将每个字符的岀现频率作为字符结点的权值赋于该结点上,显然字使用频率越小权值起小,权值越小叶子就越靠下,于是频率小编码长,频率高编码短,这样就保证了此树的最小带权路径长度,效果上就是传送报文的最短长度.因此,求传送报文的最短长度问题转化为求由字符集中的所有字符作为叶子结点,由字符出现频率作为其权值所产生的 Huffman树的问题.利用 Huffman树设计的二进制前缀编码,称为 Huffman编码,它既能满足前缀编码的条件,又能保证报文编码总长最短本文将介绍的word2ve工具中也将用到 Huffman编码,它把训练语料中的词当成叶子结点,其在语料中岀现的次数当作权值,通过构造相应的 Huffman树来对每一个词进行Huffman编码图3给岀了例2.1中六个词的 Huffman编码,其中约定(词频较大的)左孩子结点编码为1,(词频较小的)右孩子编码为0.这样一来,“我”、“喜欢”、“观看”、“巴西”、“足球”、“世界杯”这六个词的 Huffman编码分别为0,111,110,101,1001和100000欢观有巴西足球图3 Huffman编码示意图注意,到目前为止关于 Huffman树和 Huffman编码,有两个约定:(1)将权值大的结点作为左孩子结点,权值小的作为右孩子结点;(②)左孩子结点编码为1,右孩子结点编码为0.在word2vee源码中将权值较大的孩子结点编码为1,较小的孩子结点编码为θ.为亐上述约定统一起见,下文中提到的“左孩子结点”都是指权值较大的孩子结点3背景知识word2vec是用来生成词向量的工具,而词向量与语言模型有着密切的关系,为此,不妨先来了解一些语言模型方面的知识83.1统计语言模型当今的互联网迅猛发展,每天都在产生大量的文本、图片、语音和视频数据,要对这些数据进行处理并从中挖掘出有价值的信息,离不开自然语言处理( Nature Language processingNIP)技术,其中统计语言模型( Statistical language model)就是很重要的一环,它是所有NLP的基础,被广泛应用于语音识别、机器翻译、分词、词性标注和信息检索等任务例3.1在语音识别亲统中,对于给定的语音段Voie,需要找到一个使概率p(Tcrt| Voice最大的文本段Tert.利用 Bayes公式,有P(Teact Voice)p(VoiceTert)p(Text)P(Veonce其中p( Voice Teat)为声学模型,而p(Tert)为语言模型(l8])简单地说,统计语言模型是用来计算一个句子的概率的概率模型,它通常基于一个语料库来构建那什么叫做一个句子的概率呢?假设W=m1:=(n1,w2,…,tr)表示由T个词1,2,…,ur按顺序构成的一个句子,则n,U2,…,wr的联合概率p(W)=p(u1)=p(u1,u2,…,r)就是这个句子的概率.利用 Baves公式,上式可以被链式地分解为1)=p(u1)·p(u2l1)·p(vai)…p(ur1-)3.1其中的(条件)概率p(1),p(U2mn1),p(u3),…,p(urln1-1)就是语言模型的参数,若这些参数巳经全部算得,那么给定一个句子1,就可以很快地算出相应的p(1)了看起来妤像很简单,是吧?但是,具体实现起来还是有点麻烦.例如,先来看看模型参数的个数.刚才是考虑一个给定的长度为T的句子,就需要计算T个参数.不妨假设语料库对应词典D的大小(即词汇量)为N,那么,如果考虑长度为T的任意句子,理论上就有N种可能,而每种可能都要计算T个参数,总共就需要计算TN个参数.当然,这里只是简单估算,并没有考虑重复参数,但这个量级还是有蛮吓人.此外,这些概率计算好后,还得保存下来,因此,存储这些信息也需要很大的內存开销此外,这些参数如何计算呢?常见的方法有 II-gram模型、决策树、最大熵模型、最大熵马尔科夫模型、条件随杋场、神经网络等方法.本文只讨论n-gram模型和神经网络两种方法.首先来看看n-gram模型32n-gram模型考虑pko4-)(k>1)的近似计算.利用 Baves公式,有p(wr wi)P(uP(w根据大数定理,当语料库足够大时,p(k4-1)可近似地表示为P(wwi)count(wi)(3.2)count(a其中 count(u4)和 count-)分别表示词串t和v-在语料中出现的次数,可想而知,当k很大时, count(o4)和 count(4-1)的统计将会多么耗时从公式(3.1)可以看出:一个词出现的慨率与它前面的所有词都相关.如果假定一个词出现的概率只与它前面固定数目的词相关呢?这就是n-gran模型的基本思想,它作了一个n-1阶的 Markov假设,认为一个词出现的概率就只与它前面的n-1个词相关,即-1)≈p(kk-1+),于是,(3.2)就变成了p(wxJuk-)count(n+1countri(3.3以〃=2为例,就有p(uk4-1)≈count(k-1, Wk)count(Wk-1)这样一简化,不仅使得单个参数的统计变得更容易(统计时需要匹配的词串更短),也使得参数的总数变少了那么, n-gran中的参数n取多大比较合适呢?一般来说,n的选取需要同时考虑计算复杂度和模型效果两个因素表1模型参数数量与n的关系模型参数数量1( ingram)2×1052(bigram)4×10103( trigram)8×10154(4grm)16×10在计算复杂度方面,表1给出了n-gram模型中模型参数数量随着n的逐渐增大而变化的情况,其中假定词典大小N=2000(汉语的词汇量大致是这个量级).事实上,模型参数的量级是N的指数函数(O(N"),显然n不能取得太大,实际应用中最多的是采用n=3的三元模型在模型效果方面,理论上是π越大,效果越奷.现如今,互联网的海量数据以及机器性能的提升使得计算更高阶的语言模型(如n>10)成为可能,但需要注意的是,当n大到一定程度时,模型效果的提升幅度会变小.例如,当n从1到2,再从2到3时,模型的效果上升显著,而从3到4时,效果的提升就不显著了(具体可参考吴军在《数学之美》中的相关章节).事实上,这里还涉及到一个可靠性和可区别性的问题,参数越多,可区别性越好,但同时单个参数的实例变少从而降低了可靠性,因此需要在可靠性和可区别性之间进行折中另外, n-gran模型中还有一个叫做平滑化的重要环节.回到公式(3.3),考虑两个问题:若 count(uk-n+1)=0,能否认为p(kln1-1)就等于0呢?若 count(kn+)= count(uk-+1,能否认为p(uur-)就等于1呢?显然不能!但这是一个无法回避的问题,哪怕你的语料库有多么大.平滑化技术就是用来处理这个问题的,这里不展开讨论,具体可参考[11总结起来,n-gram模型是这样一种模型,其主要工作是在语料中统计各种词串岀现的次数以及平滑化处理.概率值计算好之后就存储起来,下次需要计算一个句子的概率时,只需找到相关的概率参数,将它们连乘起来就好了然而,在机器学习领域有一种通用的招数是这样的:对所考虑的问题建模后先为其构造一个目标函数,然后对这个目标函数进行优化,从而求得一组最优的参数,最后利用这组最优参数对应的模型来进行预測对于统计语言模型而言,利用最大似然,可把目标函数设为plwlConteat(w))∈C其中C表示语料( Corpus), Context(u)表示词U的上下文( Context),即周边的词的集合.当 Context(u)为空时,就取p( Context(w)=p(u).特别地,对于前面介绍的 n-gran模型,就有 Context(mn)=2-n+1注3.1语料¢和词典仍的区别:词典仍是从语料¢中抽取岀来的,不存在重复的词;而语料C是指所有的文本內容,包括重复的词当然,实际应用中常采用最大对数似然,即把目标函数设为∑ logp(u( ontext(o)(3.4)然后对这个函数进行最大化从(3.4)可见,概率p( CONtex()已被视为关于和 Context()的函数,即p(w Context(w))= F(w, Conteact(w), 0)
    2020-06-14下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载