<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>meiyou.org &#187; OpenCV</title>
	<atom:link href="http://meiyou.org/labels/opencv/feed/" rel="self" type="application/rss+xml" />
	<link>http://meiyou.org</link>
	<description>编程共41216行</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:28:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>[编程]2010年01月</title>
		<link>http://meiyou.org/2010/01/sophomore-coding-201001/</link>
		<comments>http://meiyou.org/2010/01/sophomore-coding-201001/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 08:48:16 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[编程实践]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1680</guid>
		<description><![CDATA[编程是一项事业...]]></description>
			<content:encoded><![CDATA[<h2>编程随想</h2>
<h3>20100128</h3>
<p style="padding-left: 30px;">又是一天紧张过去,现在可以&#8221;悠闲&#8221;的写写博文,总结总结.</p>
<p style="padding-left: 30px;">虽然很辛苦,真的.太累挺了.总要在自己的屋子里窝着.</p>
<p style="padding-left: 30px;">不过能看到自己学习,并因此进步,还是让人很欣慰的.</p>
<p style="padding-left: 30px;">今天倒是看书不好,但就是写的代码有些少.而且书上的数学公式比较多.基本上没有怎么看明白.不过现在自己也不是在追求这种&#8221;透彻&#8221;度.而是一个对OpenCV全局的认识.</p>
<p style="padding-left: 30px;">96行代码.收工!</p>
<h3>20100127</h3>
<p style="padding-left: 30px;">前几天一直在日剧&lt;<a href="http://meiyou.org/2009/09/sophomore-movies/">交响情人梦</a>&gt;中沉迷.今天终于打起精神来学习,学习OpenCV.</p>
<p style="padding-left: 30px;">写了,不如说抄了两个程序.共233行.</p>
<p style="padding-left: 30px;">敲代码的时候发现,现在盲打练的还是挺不错的.其实没有感觉自己怎么地,就学会了盲打.估计是自己进4万行的代码帮的忙吧.呵呵,谁知道呢.</p>
<h3>20100124</h3>
<p style="padding-left: 30px;">今天帮同学看了一道Learning OpenCV第三章的题目,当时自己扣那个题目的时候也是有些困难.但是现在就可以相对比较轻松的完成任务.</p>
<p style="padding-left: 30px;">可是,晚上想自己完成一个画箭头形状的程序都很困难,真不知道自己的三角函数都学来干什么吃了.</p>
<p style="padding-left: 30px;">无奈&#8230;</p>
<h3>20100121</h3>
<p style="padding-left: 30px;">今天的任务比较少,仅仅是把Learning OpenCV的第九章学习完.</p>
<p style="padding-left: 30px;">不过,这章最后那一部分的程序挺有意思,产生了一个类似于教堂玻璃的图片,如图:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1723" href="http://meiyou.org/2010/01/sophomore-coding-201001/ch9_delaunay/"><img class="alignnone size-full wp-image-1723" title="Ch9_Delaunay" src="http://meiyou.org/wp-content/uploads/2010/01/Ch9_Delaunay.png" alt="" width="613" height="636" /></a></p>
<h3>20100120</h3>
<p style="padding-left: 30px;">今天可谓是从早编写到晚啊.</p>
<p style="padding-left: 30px;">主要还是OpenCV的学习,原计划是尝试一下看能不能把第九章学习完,现在看来,还是不要这么急噪的好.把书上每一个函数的意义,参数都弄明白要比看书页数的提升对自己更有帮助.</p>
<p style="padding-left: 30px;">学习了3个小节,写了3个示例程序.</p>
<p style="padding-left: 30px;">现在感觉越来越进入正轨了.</p>
<h3>20100119</h3>
<p style="padding-left: 30px;">这几天也没有看OpenCV,之前也写过一些代码,也没有统计.</p>
<p style="padding-left: 30px;">今天统计了一下,共6个文件,885行,超出预想.</p>
<p style="padding-left: 30px;">其实这几天一直在写另外一个MFC程序,但是根据以前的,如果有合成代码就不统计的原则,虽然也写了N多行的代码,但是由于MFC带有自动填充的代码,所以还是不统计计数了.</p>
<p style="padding-left: 30px;">不过可以给个截图:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1710" href="http://meiyou.org/2010/01/sophomore-coding-201001/jlcm_10086/"><img class="alignnone size-medium wp-image-1710" title="吉林移动10086密码探测程序" src="http://meiyou.org/wp-content/uploads/2010/01/JLCM_10086-640x377.png" alt="" width="640" height="377" /></a></p>
<p style="padding-left: 30px;">另外还有两个测试文件共111行.</p>
<h3>20100112</h3>
<p style="padding-left: 30px;">今天又开始了&lt;<a title="Learning OpenCV" href="http://meiyou.org/2009/09/learning-opencv/">OpenCV</a>&gt;的学习,可能是因为好长时间没有看书了.今天编程感觉很生疏.</p>
<p style="padding-left: 30px;">看来,还需要多加锻炼才是.</p>
<h3>20100111</h3>
<p style="padding-left: 30px;">好久没有更新博客了,因为好久也没有接触我的本了.</p>
<p style="padding-left: 30px;">那就把前些日子做的东西整理一下.</p>
<p style="padding-left: 30px;">20091222:认知实习的第五个题目,共两个文件,85行代码.</p>
<p style="padding-left: 30px;">20091229:求解一个特定图形,47行代码.</p>
<h2>代码统计</h2>
<h3>20100128</h3>
<p style="padding-left: 30px;">文件数<strong>1407</strong>, 共<strong>38661</strong>行.<em>(添加1文件,共96行)</em></p>
<h3>20100127</h3>
<p style="padding-left: 30px;">文件数<strong>1406</strong>, 共<strong>38565</strong>行.<em>(添加2文件,共233行)</em></p>
<h3>20100124</h3>
<p style="padding-left: 30px;">文件数<strong>1404</strong>, 共<strong>38332</strong>行.<em>(添加3文件,共180行)</em></p>
<h3>20100120</h3>
<p style="padding-left: 30px;">文件数<strong>1401</strong>, 共<strong>38152</strong>行.<em>(添加1文件,共149行)</em></p>
<h3>20100120</h3>
<p style="padding-left: 30px;">文件数<strong>1400</strong>, 共<strong>38003</strong>行.<em>(添加3文件,共230行)</em></p>
<h3>20100119</h3>
<p style="padding-left: 30px;">文件数<strong>1397</strong>, 共<strong>37773</strong>行.<em>(添加8文件,共996行)</em></p>
<h3>20100112</h3>
<p style="padding-left: 30px;">文件数<strong>1389</strong>, 共<strong>36777</strong>行.<em>(添加1文件,共55行)</em></p>
<h3>20100111</h3>
<p style="padding-left: 30px;">文件数<strong>1388</strong>, 共<strong>36722</strong>行.<em>(添加3文件,共132行)</em></p>
<h3>2010年01月之前</h3>
<p style="padding-left: 30px;">文件数<strong>1385</strong>, 共<strong>36590</strong>行.</p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2010. |
<a href="http://meiyou.org/2010/01/sophomore-coding-201001/">Permalink</a> |
<a href="http://meiyou.org/2010/01/sophomore-coding-201001/#comments">5 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2010/01/sophomore-coding-201001/&title=[编程]2010年01月">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/opencv/" rel="tag">OpenCV</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2010/01/sophomore-coding-201001/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>大二编程(十一月篇)</title>
		<link>http://meiyou.org/2009/11/sophomore-coding-200911/</link>
		<comments>http://meiyou.org/2009/11/sophomore-coding-200911/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 02:48:59 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[编程实践]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1401</guid>
		<description><![CDATA[实践,练习,编程...
进行中...]]></description>
			<content:encoded><![CDATA[<h2>编写心得</h2>
<h3>20091129</h3>
<p>今天的任务还是计较忙的,做完了SQL Server实验指导上的实验3.相对来说还是比较简单的.</p>
<p>同时写了一个博文:<a href="http://meiyou.org/2009/11/sql-server/">SQL Server学习记录</a>,缓解一下这几天压抑的心情.</p>
<h3>20091115</h3>
<p>昨天半夜给同学做了一个软件,呵呵,这是第一次应邀做MFC的程序,截图如下:</p>
<p><a rel="attachment wp-att-1480" href="http://meiyou.org/2009/11/sophomore-coding-200911/changeword/"><img class="alignnone size-full wp-image-1480" title="给王凯歌做的行转换程序截图" src="http://meiyou.org/wp-content/uploads/2009/11/ChangeWord.png" alt="给王凯歌做的行转换程序截图" width="573" height="398" /></a></p>
<p>他要的功能是把换行转换为空格,其实就一段代码:m_strContent.Replace(&#8220;\t&#8221;, &#8221; &#8220;);就可以搞定,比较简单.</p>
<p>还有就是昨天晚上做的数据结构题集上的题目,感觉挺有意思的.哈.</p>
<h3>20091112</h3>
<p>上午&#8221;空闲&#8221;时间实现了一个稀疏矩阵的快速转置算法.很快就实现了,而且编译一次通过,看来这半年的编程功夫没有白费啊!</p>
<p>但是晚上去实现一个基于&#8221;行逻辑链接的顺序表&#8221;的稀疏矩阵乘法的算法时就很难.没有头绪,继续看看.慢慢来吧.</p>
<h3>20091111</h3>
<p>下午上底老师的&#8221;数据结构&#8221;课.被老师问到他的那个项目看的怎么样了.我当时都不知道说什么好.</p>
<p>这几天由于一直是在第一排听课,感觉就是不一样.最起码能听进去了.</p>
<p>晚上还实现了一个稀疏矩阵的转换.感觉应该收收心,开始感谢工作,正二八经的学习.这才是大学!</p>
<h3>20091109</h3>
<p>星期一课比较少,就上午一节VC++的课.</p>
<p>虽然现在感觉其他专业课落下很多.但是下午还是没有看太多的书,因为不知道看些什么,一会儿看看这个一会儿看看那个.无所事事的样子.</p>
<p>晚上,终于还是静下心来做些东西.看看VC++.做做练习.</p>
<h3>20091108</h3>
<p>今天唯一的成果就是完成了链式表的实现,用的是C++.这也算这两天的成果.因为这个我昨天很是郁闷!</p>
<p>但是,通过这两天的复习还是把相关的知识又拿了起来.</p>
<h3>20091107</h3>
<p>今天可是忙啊.上午的VC++实验课学到一半,忽然想起来同楼层正在上&#8221;离散数学&#8221;,于是就收拾一下上离散去了.</p>
<p>下午的&#8221;数据结构&#8221;才是闹心,编了两节课都没有什么头绪,这我才知道,是自己太狂妄了.认为什么都会,其实都是自己骗自己.啥也不是!</p>
<p>现在看来实在是惭愧,丢人啊!</p>
<p>晚上的数据库实验也是,因为之前没有预习相关内容,实验课上只能在忙着建数据库,建表.什么SQL语法也没有时间来实践.</p>
<p>这眼看就要期末了,现在还是这个状态怎行?是要反思一下了.精力应该收回来了.</p>
<h3>20091106</h3>
<p>今天在底老师课上,听到老师一句话,大致上是:&#8221;学习理科的可以很容易的弄工科的工作,但是你一个工科的学生却很难把理科的知识弄明白.关键就是数学的能力.&#8221;</p>
<p>很感慨这句话.所以,现在我又拿起&#8221;高等数学&#8221;的教材,从函数开始学起.一定要补上相关的知识.在不弄可就真的没有时间了.</p>
<h3>20091105</h3>
<p>现在学编程,严重感觉自己的数学知识真的是不够用.没有好好学在大一.抓紧补啊! / <a href="http://meiyou.org/2009/09/learning-opencv/ch6_test_convolution/">Convolution</a> /</p>
<h3>20091103</h3>
<p>今天晚上帮一个大一的写一段程序.感觉挺简单,现在的熟练程度已经可以写一遍,然后就顺利通过编译不用再调试错误.真的很欣慰.</p>
<p>晚上用OpenCV做了一个选择颜色的程序,其实一直想做来着,一直没有想到.但正好有空,又想到了,便做了./ <a href="http://meiyou.org/2009/09/learning-opencv/project_select_color/">Select_Color</a> /</p>
<h3>20091102</h3>
<p>上午有VC++的课,下午就是看VC++书.晚上做了一些OpenCV的练习. / <a href="http://meiyou.org/2009/09/learning-opencv/exercise_5_11/">Exercise 5-11</a> / <a href="http://meiyou.org/2009/09/learning-opencv/exercise_5_12-cvthreshold/">Exercise 5-12 cvThreshold()</a> / <a href="http://meiyou.org/2009/09/learning-opencv/exercise_5_12-cvadaptviethreshold/">Exercise 5-12 cvAdaptiveThreshold</a> /</p>
<h3>20091101</h3>
<p>一天忙,回来以后就没有好好休息过.</p>
<p>晚上实在是无聊,就看了看OpenCV的第五章练习有一个题目没有太看明白,就在OpenCV的中文论坛上发了<a href="http://www.opencv.org.cn/forum/viewtopic.php?f=1&amp;t=8340">一个帖子</a>. / <a href="http://meiyou.org/2009/09/learning-opencv/exercise_5_10/">Exercise5-10</a> /</p>
<h2>在编项目</h2>
<ul>
<li><a title="SQL Server学习记录" href="http://meiyou.org/2009/11/sql-server/">SQL Server学习记录 </a></li>
<li><a href="http://meiyou.org/2009/09/data-structures-in-c/">《数据结构(C语言版)》学习记录</a></li>
<li><a href="http://meiyou.org/2009/11/object-oriented-programming-in-cpp-4th-edition/">《C++面向对象程序设计(第四版)》自学记录</a></li>
<li><a href="http://meiyou.org/2009/09/virtual-cpp/">《Virtual C++ 应用教程》学习记录</a></li>
<li><a href="http://meiyou.org/2009/09/learning-opencv/">Learning OpenCV</a></li>
</ul>
<h2>行数统计</h2>
<h3>20091129</h3>
<p>文件数<strong>1343</strong>, 共<strong>35683</strong>行.<em>(添加89文件,共936行)</em></p>
<h3>20091114</h3>
<p>文件数<strong>1254</strong>, 共<strong>34747</strong>行.<em>(添加1文件,共135行)</em></p>
<h3>20091112</h3>
<p>文件数<strong>1253</strong>, 共<strong>34612</strong>行.<em>(添加2文件,共137行)</em></p>
<h3>20091111</h3>
<p>文件数<strong>1251</strong>, 共<strong>34475</strong>行.<em>(添加1文件,共73行)</em></p>
<h3>20091108</h3>
<p>文件数<strong>1250</strong>, 共<strong>34402</strong>行.<em>(添加2文件,共197行)</em></p>
<h3>20091107</h3>
<p>文件数<strong>1248</strong>, 共<strong>34205</strong>行.<em>(添加12文件,共347行)</em></p>
<h3>20091105</h3>
<p>文件数<strong>1236</strong>, 共<strong>33858</strong>行.<em>(添加1文件,共48行)</em></p>
<h3>20091103</h3>
<p>文件数<strong>1235</strong>, 共<strong>33810</strong>行.<em>(添加2文件,共138行)</em></p>
<h3>20091102</h3>
<p>文件数<strong>1233</strong>, 共<strong>33672</strong>行.<em>(添加2文件,共111行)</em></p>
<h3>20091101</h3>
<p>文件数<strong>1231</strong>, 共<strong>33561</strong>行.<em>(添加1文件,共71行)</em></p>
<h3>2009年11月之前</h3>
<p>文件数<strong>1230</strong>, 共<strong>33490</strong>行. / <a href="http://meiyou.org/2009/10/sophomore-coding-200910/">大二编程(十月篇)</a></p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/11/sophomore-coding-200911/">Permalink</a> |
<a href="http://meiyou.org/2009/11/sophomore-coding-200911/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/11/sophomore-coding-200911/&title=大二编程(十一月篇)">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/opencv/" rel="tag">OpenCV</a>, <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/11/sophomore-coding-200911/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Learning OpenCV</title>
		<link>http://meiyou.org/2009/09/learning-opencv/</link>
		<comments>http://meiyou.org/2009/09/learning-opencv/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 15:46:09 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1103</guid>
		<description><![CDATA[为了学习验证码技术,我买来这本介绍OpenCV的书籍,希望可以学习相关的计算机视觉技术.现在看来很有意思.希望可以继续下去!]]></description>
			<content:encoded><![CDATA[<h2>What Is New?</h2>
<h3>20100128</h3>
<p style="padding-left: 30px;">今天可以是学习的辛苦啊,一直学习到这个时候(03:35),不过虽然很辛苦.但是看着自己一页一页的笔记,很是欣慰.</p>
<p style="padding-left: 30px;">还有几页,第十章的内容就看完了.下一步准备跳过12,13章,看第14章的Mechine Learning,因为这章我感觉还和验证码的识别有些关系,至于11章(Camera Models and Calibration)和12章(Projection and 3D Vision)貌似和验证码识别关系不大,既然现在的时间不是很充裕.那就把这些不相关的章节略去.直接学习些有用的吧.</p>
<p style="padding-left: 30px;">Show图:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1751" href="http://meiyou.org/2009/09/learning-opencv/opencv-kalman-filter/"><img class="alignnone size-full wp-image-1751" title="OpenCV Kalman Filter" src="http://meiyou.org/wp-content/uploads/2009/09/OpenCV-Kalman-Filter.png" alt="" width="513" height="536" /></a></p>
<p style="padding-left: 30px;">书上是这么解释的:</p>
<p style="padding-left: 30px;">&#8220;We&#8217;l write a program (Example 10-2) whose output will show the car circling around (<strong>in red</strong>) as well as the measurement we make (<strong>in yellow</strong>) and the location predicted by the Kalman filter (<strong>in white</strong>).&#8221;</p>
<h3>20100127</h3>
<p style="padding-left: 30px;">好几天荒废的学业,今天又重新拾起.看了两个小节的书,抄写了两个示例程序</p>
<p style="padding-left: 30px;">现在学习的主要是动作跟踪判断和识别之类的东西.</p>
<p style="padding-left: 30px;">有图有真相:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1742" href="http://meiyou.org/2009/09/learning-opencv/opencv-motion-templates/"><img class="alignnone size-full wp-image-1742" title="OpenCV Motion Templates" src="http://meiyou.org/wp-content/uploads/2009/09/OpenCV-Motion-Templates.png" alt="" width="333" height="276" /></a></p>
<p style="padding-left: 30px;">上图是Motion Template(运动模型)对手的方向进行跟踪的效果.</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1741" href="http://meiyou.org/2009/09/learning-opencv/opencv-horn-schunck-method/"><img class="alignnone size-medium wp-image-1741" title="OpenCV Horn-Schunck Method" src="http://meiyou.org/wp-content/uploads/2009/09/OpenCV-Horn-Schunck-Method-640x505.png" alt="" width="640" height="505" /></a></p>
<p style="padding-left: 30px;">上图为应用Horn-Schunck方法处理的Optical Flow(光流)结果.</p>
<h3>20100124</h3>
<p style="padding-left: 30px;">从&#8221;昨天&#8221;晚上开始学习Optical Flow(光流)部分,这个倒是慢慢扣就可以的.</p>
<p style="padding-left: 30px;">但是想自己用OpenCV画一个箭头形状的线都算不好它们之间的三角函数关系.头晕啊.学习了这么长时间的OpenCV和数学,居然连这个都做不了.真是无奈啊!!!</p>
<p style="padding-left: 30px;">Pyramid Lucas-Kanade optical flow example:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1734" href="http://meiyou.org/2009/09/learning-opencv/lkpyr_opticalflow/"><img class="alignnone size-medium wp-image-1734" title="LKpyr_OpticalFlow(图片为源码附带测试图片)" src="http://meiyou.org/wp-content/uploads/2009/09/LKpyr_OpticalFlow-640x385.png" alt="" width="640" height="385" /></a></p>
<h3>20100121</h3>
<p style="padding-left: 30px;">第九章的学习任务基本完成.目前不准备做课后的习题了,为了赶进度,明日学习下一章的内容!</p>
<p style="padding-left: 30px;">今天的示例程序的输出图,最后结果前一帧:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1724" href="http://meiyou.org/2009/09/learning-opencv/ch9_delaunay_pre/"><img class="alignnone size-full wp-image-1724" title="Ch9_Delaunay_pre" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_Delaunay_pre.png" alt="Delaunay处理的结果" width="613" height="636" /></a></p>
<p style="padding-left: 30px;">上图中,黑色线为Delaunay Triangulation处理的效果,绿色线为Voronoi Tesselation处理的效果.</p>
<p style="padding-left: 30px;">最后结果很想教堂的窗户.(龟裂的效果)</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1723" href="http://meiyou.org/2010/01/sophomore-coding-201001/ch9_delaunay/"><img class="alignnone size-full wp-image-1723" title="Ch9_Delaunay" src="http://meiyou.org/wp-content/uploads/2010/01/Ch9_Delaunay.png" alt="" width="613" height="636" /></a></p>
<p style="padding-left: 30px;">最后的效果其实就是把第一个图绿色线圈起来的部分填充上随机的颜色.(程序中随机参数没有完全设置好,每次产生的都是同样的图形和颜色)</p>
<h3>20100120</h3>
<p style="padding-left: 30px;">完成三个小节的学习:</p>
<ol>
<li>Watershed Algorithm</li>
<li>Image Repair by Inpainting</li>
<li>Mean-Shift Segmentation</li>
</ol>
<p style="padding-left: 30px;">那个&#8221;分水岭算法&#8221;的演示程序之前一直没有看明白,今天无意中发现原来是这么用的.真的好无奈.</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1715" href="http://meiyou.org/2009/09/learning-opencv/ch9_watershed/"><img class="alignnone size-medium wp-image-1715" title="Ch9_Watershed" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_Watershed-640x292.png" alt="" width="640" height="292" /></a></p>
<p style="padding-left: 30px;">再有就是那个所谓的图像修复技术,感觉实在是有些简单.只能马马虎虎的&#8221;修复&#8221;一下:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1716" href="http://meiyou.org/2009/09/learning-opencv/ch9_inpainting/"><img class="alignnone size-medium wp-image-1716" title="Ch9_Inpainting" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_Inpainting-640x288.png" alt="" width="640" height="288" /></a></p>
<p style="padding-left: 30px;">最后一个Mean-Shift Segmentation(均值漂移分割)感觉貌似有用,但,也就仅限于使用函数,具体用在何种场合现在还是闹不清楚.参数:cvPyrMeanShiftFiltering( img, dst, 20, 40, 1 );</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1717" href="http://meiyou.org/2009/09/learning-opencv/ch9_cvpyrmeanshiftfiltering/"><img class="alignnone size-medium wp-image-1717" title="Ch9_cvPyrMeanShiftFiltering" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_cvPyrMeanShiftFiltering-640x292.png" alt="" width="640" height="292" /></a></p>
<h3>20100119</h3>
<p style="padding-left: 30px;">真是郁闷,编写了N多行,最后提示连接错误.</p>
<p style="padding-left: 30px;">外加前几天编写的一并统计.共6个文件885行.</p>
<p style="padding-left: 30px;">给你几个截图吧:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1706" href="http://meiyou.org/2009/09/learning-opencv/ch9_avgbackground/"><img class="alignnone size-medium wp-image-1706" title="Ch9_AvgBackground" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_AvgBackground-640x384.png" alt="" width="640" height="384" /></a></p>
<p style="padding-left: 30px;">上面那个图是Background Averaging背景减去法处理后的结果.</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1707" href="http://meiyou.org/2009/09/learning-opencv/ch9_test_cvrunningavg/"><img class="alignnone size-medium wp-image-1707" title="Ch9_Test_cvRunningAvg" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_Test_cvRunningAvg-640x178.png" alt="" width="640" height="178" /></a></p>
<p style="padding-left: 30px;">上面的是cvRunningAvg函数处理后的结果,图中间的那个是&#8221;累加&#8221;处理的结果,会有一种飘逸的效果.</p>
<p style="padding-left: 30px;">至于CodeBook法,由于编译链接的时候有错误显示,所以没有办法截图.见谅.</p>
<h3>20100112</h3>
<p style="padding-left: 30px;">两个月来又一次开始OpenCV的学习,感觉有些生疏.</p>
<p style="padding-left: 30px;">今天写的是一个视频帧相减的程序,如图:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1694" href="http://meiyou.org/2009/09/learning-opencv/frame_differencing/"><img class="alignnone size-full wp-image-1694" title="Frame Differencing" src="http://meiyou.org/wp-content/uploads/2009/09/Frame_Differencing.png" alt="" width="333" height="277" /></a></p>
<h3>20091105</h3>
<p>这几天其实没有什么进度,关键是OpenCV这个书后面章节的内容已经超出了我的学习能力范围.大多是一些数学公式的推导.而且由于我的数学基础不行,再加上这些东西的内容艰深.导致进度缓慢.</p>
<p>这不,昨天看了一些&#8221;卷积(Convolution)&#8221;的部分内容,今天就做了一个小的测试.关于使用cvFilter2D(IplImage* src, IplImage* dst, const CvMat* kernel, CvPoint anchor=cvPoint(-1, -1) );这个函数的.其中的那个矩阵(Martix),通过这两天的学习,我找到了一个3*3的矩阵:</p>
<p style="padding-left: 60px;">[ 0 0 0 ]</p>
<p style="padding-left: 60px;">[ 1 0 -1]</p>
<p style="padding-left: 60px;">[ 0 0 0 ]</p>
<p>利用这个可以做出如下效果:</p>
<p><a rel="attachment wp-att-1422" href="http://meiyou.org/2009/09/learning-opencv/ch6_test_convolution/"><img class="alignnone size-medium wp-image-1422" title="Ch6 Test Convolution (关于卷积的处理)" src="http://meiyou.org/wp-content/uploads/2009/09/Ch6_Test_Convolution-640x266.png" alt="Ch6 Test Convolution (关于卷积的处理)" width="640" height="266" /></a></p>
<h3>20091103</h3>
<p>晚上无聊没事.还把之前一直想做的一个OpenCV的&#8221;Project&#8221;做了一些.就是一个通过Trackbar来控制RGB三色显示颜色的程序, 输出颜色倒是挺简单,关键是那个显示颜色属性的字.比如白色是&#8221;FFFFFF&#8221;,黑色是&#8221;000000&#8243;,但是就是这个让我做了半天,因为 Trackbar的Value是int型的,我现需要的是大写十六进制的输出.所以有些难.</p>
<p>但是还好,用了一个相对比较笨的方法实现了输出.是反色输出颜色属性.如图:</p>
<p><a rel="attachment wp-att-1417" href="http://meiyou.org/2009/09/learning-opencv/project_select_color/"><img class="alignnone size-full wp-image-1417" title="Select_Color 的输出." src="http://meiyou.org/wp-content/uploads/2009/09/Project_Select_Color.png" alt="Select_Color 的输出." width="313" height="514" /></a></p>
<p>那个&#8221;123456&#8243;是我特意选择出来的,是十六进制的表示.即代表:(R,18; G,52; B,86).相对来说还是比较简单的.</p>
<h3>20091102</h3>
<p>今天又做了两个练习分别是5-11,5-12.</p>
<p>其中5-11做的是cvPyrSegmentation()函数的处理.不过这个函数到底是怎么来的,我还真的不太明了.现在只知道照着代码敲.明天再研究一下.</p>
<p><a rel="attachment wp-att-1409" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_11/"><img class="alignnone size-medium wp-image-1409" title="Exercise_5_11练习的cvPyrSegmentation()函数处理效果" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_11-640x266.png" alt="Exercise_5_11练习的cvPyrSegmentation()函数处理效果" width="640" height="266" /></a></p>
<p>而5-12也不太难,就是把代码抄一下.不过那个IplImage*数组生成及销毁(Release)还是有点意思.下面是两个不同的处理版本,关于阀值处理的.</p>
<p>第一个是cvThreshold()处理效果(其中:Threshold:128, Max_value: 255, 而那个threshold_type分别为:</p>
<ul>
<li>CV_THRESH_BINARY</li>
<li>CV_THRESH_BINARY_INV</li>
<li>CV_THRESH_TRUNC</li>
<li>CV_THRESH_TOZERO_INV</li>
<li>CV_THRESH_TOZERO</li>
</ul>
<p><a rel="attachment wp-att-1410" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_12-cvthreshold/"><img class="alignnone size-medium wp-image-1410" title="Exercise_5_12 cvThreshold()函数处理后的效果" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_12-cvThreshold-640x354.png" alt="Exercise_5_12 cvThreshold()函数处理后的效果" width="640" height="354" /></a></p>
<p>第二个是cvAdaptiveThreshold()函数处理的效果,但是Threshold_type只能使用CV_THRESH_BINARY和CV_THRESH_BINARY_INV两个类型.</p>
<p><a rel="attachment wp-att-1411" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_12-cvadaptviethreshold/"><img class="alignnone size-medium wp-image-1411" title="Exercise_5_12 cvAdaptvieThreshold()函数处理结果" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_12-cvAdaptvieThreshold-640x179.png" alt="Exercise_5_12 cvAdaptvieThreshold()函数处理结果" width="640" height="179" /></a></p>
<h3>20091101</h3>
<p>做第五章练习,有个题目居然没有看懂.无奈自己的英语水平.</p>
<p>跳过去这个,下一个题目的截图,关于cvResize()和cvPyrDown()对图片缩小差异的题目.我估计cvPyrDown()对对图片使用了高斯模糊处理(默认参数:IPL_GAUSSIAN_5x5),所以缩小的图像看起来有些&#8221;模糊&#8221;的感觉.而cvResize()函数的默认处理参数为:CV_INTER_LINEAR.Show图大家看:</p>
<p><a rel="attachment wp-att-1402" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_10/"><img class="alignnone size-medium wp-image-1402" title="Exercise_5_10" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_10-640x377.png" alt="Exercise_5_10" width="640" height="377" /></a></p>
<h3>20091030</h3>
<p>明天就要返校了.估计这也是我最后的更新了.到了学校再说吧!</p>
<p>做了两个练习:Exercise 5.7和Exercise 5.8.</p>
<p><a rel="attachment wp-att-1390" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_7/"><img class="alignnone size-medium wp-image-1390" title="Exercise_5_7" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_7-640x406.png" alt="Exercise_5_7" width="640" height="406" /></a></p>
<p>下面的这个就是模仿&#8221;Sapce&#8221;了.这也是我刚刚完成的&#8221;Project&#8221;的想法来源.不过&#8230;</p>
<p><a rel="attachment wp-att-1391" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_8/"><img class="alignnone size-medium wp-image-1391" title="Exercise_5_8" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_8-640x505.png" alt="Exercise_5_8" width="640" height="505" /></a></p>
<p>不过我的这个Project是动态的.没有办法上传截图.(其实截图看不出来什么,之所以是动态的,是因为利用了人眼的&#8221;误差&#8221;).</p>
<p>(Space&amp;Stars.截图略)</p>
<h3>20091029</h3>
<p>昨天晚上开始,做些练习.第五章的.</p>
<p>也不知道怎么的,突然就又想起来做练习了.记得前几天放假的时候做过一些.感觉不错,现在又找到这样的感觉.</p>
<p>主要是Exercise 5.6花费的时间比较长.Exercise 5.5还好说一点.不过通过做5.6倒是有把cvFloodFill又学习了一遍.上回看的时候没有太看仔细.现在反过来看,一下子就明白了不少.同时感觉自己的英文水平还是真的差的太多.还需要继续努力学习啊!</p>
<p>Exercise 5.5 Take a picture of a scene:</p>
<p><a rel="attachment wp-att-1382" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_5/"><img class="alignnone size-medium wp-image-1382" title="Exercise_5_5" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_5-640x330.png" alt="Exercise_5_5" width="640" height="330" /></a></p>
<p>Exercise 5.6 Create a clean mask from noise:</p>
<p><a rel="attachment wp-att-1383" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_6/"><img class="alignnone size-medium wp-image-1383" title="Exercise_5_6" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_6-640x261.png" alt="Exercise_5_6" width="640" height="261" /></a></p>
<h3>20091026</h3>
<p>晚上没有事情做.还是做做OpenCV,但是练习现在也没有心情做.</p>
<p>那就做一个自己以前想起来做的东西.一个Canny的处理程序:</p>
<p><a rel="attachment wp-att-1368" href="http://meiyou.org/2009/09/learning-opencv/best-threshold/"><img class="alignnone size-medium wp-image-1368" title="Best Threshold" src="http://meiyou.org/wp-content/uploads/2009/09/Best-Threshold-640x356.png" alt="Best Threshold" width="640" height="356" /></a></p>
<p>其实,这个东西原本想用于此处:</p>
<p><a rel="attachment wp-att-1369" href="http://meiyou.org/2009/09/learning-opencv/qq_captcha/"><img class="alignnone size-full wp-image-1369" title="QQ_Captcha" src="http://meiyou.org/wp-content/uploads/2009/09/QQ_Captcha.png" alt="QQ_Captcha" width="403" height="181" /></a></p>
<h3>20091021</h3>
<p>发现,复课以后很难再安心学习.每天也就是应付功课一样写一些代码.</p>
<p>不过我想,这种情况还要继续.那就这样吧.</p>
<h3>20091020</h3>
<p>晚上写了一个示例程序.做的是图像某个线的RGB值的输出.截图就不做了.YY吧,</p>
<h3>20091019</h3>
<p>今天虽然说是开始上课了.但是由于是星期一,没有太多的课,还是比较清闲的.上午看的是VC++那本教材,下午就是做的OpenCV,完成了第四章练习的第八题.同时还做了一个第五章的一个题.比较简单.</p>
<p>昨天的题:</p>
<p><a rel="attachment wp-att-1349" href="http://meiyou.org/2009/09/learning-opencv/exercise_4_8/"><img class="alignnone size-full wp-image-1349" title="Exercise_4_8" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_4_8.png" alt="Exercise_4_8" width="513" height="404" /></a></p>
<p>下面的图像,是题目要求做出来.有些恐怖,那个白色的骷髅是我画出来的.</p>
<p>在网上找来半天也没有找到合适的.后来也就自己做了一个:<a rel="attachment wp-att-1352" href="http://meiyou.org/2009/09/learning-opencv/skull/">skull.jpg</a></p>
<p><a rel="attachment wp-att-1350" href="http://meiyou.org/2009/09/learning-opencv/exercise_4_8_skull/"><img class="alignnone size-full wp-image-1350" title="Exercise_4_8_skull" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_4_8_skull.png" alt="Exercise_4_8_skull" width="513" height="404" /></a></p>
<p>下面的是今天做的第五章习题.</p>
<p><a rel="attachment wp-att-1351" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_4/"><img class="alignnone size-medium wp-image-1351" title="Exercise_5_4" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_4-640x425.png" alt="Exercise_5_4" width="640" height="425" /></a></p>
<h3>20091018</h3>
<p>下面的是Exercise 4.6的截图,上面的字符都是&#8221;打&#8221;上去的.注意那个&#8221;meiyou.org&#8221;还有&#8221;192.168.157.19&#8243;.</p>
<p><a rel="attachment wp-att-1339" href="http://meiyou.org/2009/09/learning-opencv/exercise-4-6/"><img class="alignnone size-full wp-image-1339" title="Exercise 4-6的截图" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise-4-6.png" alt="Exercise 4-6的截图" width="333" height="276" /></a></p>
<p>Perspective Transformation的截图:</p>
<p><a rel="attachment wp-att-1340" href="http://meiyou.org/2009/09/learning-opencv/exercise-4-7/"><img class="alignnone size-medium wp-image-1340" title="Exercise 4-7" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise-4-7-640x321.png" alt="Exercise 4-7" width="640" height="321" /></a></p>
<p>最后其实还有一个人脸识别的练习.但是现在还没有弄好,所以暂时不更新截图.</p>
<h3>20091017</h3>
<p>昨天的练习一直做到凌晨.一个图片信息提取程序.如图:</p>
<p><a rel="attachment wp-att-1317" href="http://meiyou.org/2009/09/learning-opencv/exercise_4_3/"><img class="alignnone size-medium wp-image-1317" title="Exercise_4_3" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_4_3-640x265.png" alt="Exercise_4_3" width="640" height="265" /></a></p>
<p>其他的,也有一些,现在上传上来:</p>
<p><a rel="attachment wp-att-1315" href="http://meiyou.org/2009/09/learning-opencv/exercise-3-5/"><img class="alignnone size-full wp-image-1315" title="Exercise 3-5" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise-3-5.png" alt="Exercise 3-5" width="223" height="246" /></a></p>
<p><a rel="attachment wp-att-1316" href="http://meiyou.org/2009/09/learning-opencv/exercise_3_6/"><img class="alignnone size-full wp-image-1316" title="Exercise_3_6" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_3_6.png" alt="Exercise_3_6" width="333" height="276" /></a></p>
<p>下面这张比较恐怖&#8230;(我不是故意的,这是产生一个MASK后处理的效果)</p>
<p><a rel="attachment wp-att-1314" href="http://meiyou.org/2009/09/learning-opencv/exercise_3_7/"><img class="alignnone size-full wp-image-1314" title="Exercise_3_7" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_3_7.png" alt="Exercise_3_7" width="333" height="276" /></a></p>
<p><strong>今天做的小程序截图:</strong></p>
<p><a rel="attachment wp-att-1318" href="http://meiyou.org/2009/09/learning-opencv/exercise_4_4/"><img class="alignnone size-full wp-image-1318" title="Exercise_4_4" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_4_4.png" alt="Exercise_4_4" width="333" height="368" /></a></p>
<h3>20091015</h3>
<p>这几天没有敲代码.今天特意做一些习题.第二章和第三章.</p>
<p><a rel="attachment wp-att-1306" href="http://meiyou.org/2009/09/learning-opencv/cvcirclecvcreatemat/"><img class="alignnone size-full wp-image-1306" title="cvCircle&amp;cvCreateMat" src="http://meiyou.org/wp-content/uploads/2009/09/cvCirclecvCreateMat.png" alt="cvCircle&amp;cvCreateMat" width="117" height="136" /></a><a rel="attachment wp-att-1307" href="http://meiyou.org/2009/09/learning-opencv/cvptr2d/"><img class="alignnone size-full wp-image-1307" title="cvPtr2D" src="http://meiyou.org/wp-content/uploads/2009/09/cvPtr2D.png" alt="cvPtr2D" width="117" height="136" /></a></p>
<p><a rel="attachment wp-att-1308" href="http://meiyou.org/2009/09/learning-opencv/exercise-5/"><img class="alignnone size-full wp-image-1308" title="Exercise 5" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise-5.png" alt="Exercise 5" width="507" height="369" /></a></p>
<h3>20091014</h3>
<p>上午把第八章看完,下午和晚上就是查一下不会的单词.</p>
<p>终于有时间把第八章看完,明天继续第九章的学习.自己给自己加油!</p>
<h3>20091013</h3>
<p>看来清闲的一天也不能清闲.一天除了上午还查了一下昨天看书的单词外其他的就没有看太多.</p>
<p>小失落.</p>
<h3>20091012</h3>
<p>今天是软件学院封校不上课第一天,预订计划是停课一周.那么这周主要看一些OpenCV的知识.</p>
<p>本来OpenCV的这个课本都是英语,看起来很费劲.现在可以沉下心来做些事情.</p>
<p><a rel="attachment wp-att-1290" href="http://meiyou.org/2009/09/learning-opencv/ex_8_2/"><img class="alignnone size-full wp-image-1290" title="Ex_8_2" src="http://meiyou.org/wp-content/uploads/2009/09/Ex_8_2.png" alt="Ex_8_2" width="320" height="240" /></a></p>
<p><a rel="attachment wp-att-1291" href="http://meiyou.org/2009/09/learning-opencv/ex_8_3/"><img class="alignnone size-full wp-image-1291" title="Example 8 3:cvDrawContours应用举例" src="http://meiyou.org/wp-content/uploads/2009/09/Ex_8_3.png" alt="Example 8 3:cvDrawContours应用举例" width="228" height="333" /></a></p>
<h3>20091009</h3>
<p>这几天很少看OpenCV了,因为功课毕竟还是不能耽误的.</p>
<p>不过由于明天是星期六,事情不太多.所以晚上还是有时间看看我的OpenCV.今天就没有编写什么程序了.只是看书.已经看到了Chapter 8: Contours(轮廓),第234页.</p>
<h3>20091007</h3>
<p>看书,写代码.不过现在由于内容比较艰深已经看不懂太多.只能为了看而看.为了写而写.</p>
<p><a rel="attachment wp-att-1269" href="http://meiyou.org/2009/09/learning-opencv/template_matching/"><img class="alignnone size-medium wp-image-1269" title="template matching 处理结果" src="http://meiyou.org/wp-content/uploads/2009/09/template_matching-640x322.png" alt="template matching 处理结果" width="640" height="322" /></a></p>
<h3>20091006</h3>
<p>晚上把代码敲了一下,真多,一个文件居然有158行.呵呵.调试就费老劲了.</p>
<p><a rel="attachment wp-att-1264" href="http://meiyou.org/2009/09/learning-opencv/ex_7_3/"><img class="alignnone size-medium wp-image-1264" title="Example 7-3 输出结果截图" src="http://meiyou.org/wp-content/uploads/2009/09/Ex_7_3-640x138.png" alt="Example 7-3 输出结果截图" width="640" height="138" /></a></p>
<h3>20091004</h3>
<p>昨天编写了一些代码,但是由于时间原因没有更新,其实就是一些变换一个是Affine Transform,另一个是Perspective Transfrom.如图:</p>
<p><a rel="attachment wp-att-1236" href="http://meiyou.org/2009/09/learning-opencv/cvwarpaffine/"><img class="alignnone size-full wp-image-1236" title="cvWarpAffine" src="http://meiyou.org/wp-content/uploads/2009/09/cvWarpAffine.png" alt="cvWarpAffine" width="333" height="276" /></a></p>
<p><a rel="attachment wp-att-1235" href="http://meiyou.org/2009/09/learning-opencv/cvgetperspectivetransform/"><img class="alignnone size-full wp-image-1235" title="cvGetPerspectiveTransform" src="http://meiyou.org/wp-content/uploads/2009/09/cvGetPerspectiveTransform.png" alt="cvGetPerspectiveTransform" width="333" height="276" /></a></p>
<p><a rel="attachment wp-att-1247" href="http://meiyou.org/2009/09/learning-opencv/log-polar/"><img class="alignnone size-medium wp-image-1247" title="Log-polar Transform Example" src="http://meiyou.org/wp-content/uploads/2009/09/log-polar-640x266.png" alt="Log-polar Transform Example" width="640" height="266" /></a></p>
<p>由于第六章剩下的内容已经超过我的数学认知范围,所以我还是选择先跳过这些章节.直接看第七章:Histogram and Matching.</p>
<p><a rel="attachment wp-att-1251" href="http://meiyou.org/2009/09/learning-opencv/histogram/"><img class="alignnone size-full wp-image-1251" title="Histogram处理结果图" src="http://meiyou.org/wp-content/uploads/2009/09/Histogram.png" alt="Histogram处理结果图" width="313" height="356" /></a></p>
<h3>20091002</h3>
<p>今天看了一下Hough转换的一些知识,主要是Line和Circle的识别.如图:</p>
<p><a rel="attachment wp-att-1223" href="http://meiyou.org/2009/09/learning-opencv/cvhoughlines2/"><img class="alignnone size-medium wp-image-1223" title="cvHoughLines2" src="http://meiyou.org/wp-content/uploads/2009/09/cvHoughLines2-640x277.png" alt="cvHoughLines2" width="640" height="277" /></a></p>
<p><a rel="attachment wp-att-1226" href="http://meiyou.org/2009/09/learning-opencv/cvhoughcirlcles/"><img class="alignnone size-full wp-image-1226" title="cvHoughCirlcles" src="http://meiyou.org/wp-content/uploads/2009/09/cvHoughCirlcles.png" alt="cvHoughCirlcles" width="513" height="336" /></a></p>
<h3>20091001</h3>
<p>今天学习了两个函数:cvLaplace和cvCanny.具体效果如图:</p>
<p><a rel="attachment wp-att-1215" href="http://meiyou.org/2009/09/learning-opencv/cvlaplace/"><img class="alignnone size-medium wp-image-1215" title="cvLaplace函数处理后的效果" src="http://meiyou.org/wp-content/uploads/2009/09/cvLaplace-640x266.png" alt="cvLaplace" width="640" height="266" /></a></p>
<p><a rel="attachment wp-att-1216" href="http://meiyou.org/2009/09/learning-opencv/cvcanny/"><img class="alignnone size-full wp-image-1216" title="cvCanny函数处理后的效果" src="http://meiyou.org/wp-content/uploads/2009/09/cvCanny.png" alt="cvCanny函数处理后的效果" width="411" height="190" /></a></p>
<p>上面那个效果我感觉特别棒!因为我原本学习OpenCV的目的就是用来处理验证码信息的,现在看来我是学对方向了.真的,上面的那个效果一下子就把我震撼了.(处理函数为:cvCanny( src, dst, 500, 1000, 3 );</p>
<p>OpenCV真是太强了!</p>
<h3>20090930</h3>
<p>今天终于进行到了第六章: Image Transforms,然后练习了两个函数:cvCopyMakeBorder和cvSobel,效果如图:</p>
<p><a rel="attachment wp-att-1207" href="http://meiyou.org/2009/09/learning-opencv/cvcopymakeborder/"><img class="alignnone size-medium wp-image-1207" title="cvCopyMakeBorder函数的处理结果,连个不同参数" src="http://meiyou.org/wp-content/uploads/2009/09/cvCopyMakeBorder-640x425.png" alt="cvCopyMakeBorder函数的处理结果,连个不同参数" width="640" height="425" /></a></p>
<p><a rel="attachment wp-att-1208" href="http://meiyou.org/2009/09/learning-opencv/cvsobel/"><img class="alignnone size-medium wp-image-1208" title="cvSobel处理后的效果,比较恐怖." src="http://meiyou.org/wp-content/uploads/2009/09/cvSobel-640x265.png" alt="cvSobel处理后的效果,比较恐怖." width="640" height="265" /></a></p>
<p>然后又实现了一个Resize函数,效果如下(大小都一样,但是所用的interpolation不一样,分别为:CV_INTER_NN,CV_INTER_LINEAR,CV_INTER_AREA,CV_INTER_CUBIC</p>
<p><a rel="attachment wp-att-1209" href="http://meiyou.org/2009/09/learning-opencv/tower/"><img class="alignnone size-medium wp-image-1209" title="使用cvResize函数处理出来的Tower,净月潭的了望塔" src="http://meiyou.org/wp-content/uploads/2009/09/tower-640x419.png" alt="使用cvResize函数处理出来的Tower,净月潭的了望塔" width="640" height="419" /></a></p>
<h3>20090926</h3>
<p>做了第五章后面的练习题.头三个题目还是很简单的.就是堆砌代码.上图:</p>
<p><a rel="attachment wp-att-1200" href="http://meiyou.org/2009/09/learning-opencv/param1234/"><img class="alignnone size-medium wp-image-1200" title="不同格式的cvSmooth()函数结果" src="http://meiyou.org/wp-content/uploads/2009/09/param1234-640x384.png" alt="不同格式的cvSmooth()函数结果" width="640" height="384" /></a></p>
<h3>20090923</h3>
<p>今天学习的是Threshold(阀值化)部分,就是现实一个黑白图像,但是应该是只有&#8221;黑&#8221;,&#8221;白&#8221;两色.还是看图实在:</p>
<p><a rel="attachment wp-att-1174" href="http://meiyou.org/2009/09/learning-opencv/pyrsegmentation/"><img class="alignnone size-full wp-image-1174" title="cvPyrSegmentation处理后的结果." src="http://meiyou.org/wp-content/uploads/2009/09/PyrSegmentation.png" alt="cvPyrSegmentation处理后的结果." width="333" height="276" /></a></p>
<p><a rel="attachment wp-att-1175" href="http://meiyou.org/2009/09/learning-opencv/threshold/"><img class="alignnone size-full wp-image-1175" title="cvThreshold处理后的结果." src="http://meiyou.org/wp-content/uploads/2009/09/Threshold.png" alt="cvThreshold处理后的结果." width="333" height="276" /></a></p>
<p><a rel="attachment wp-att-1177" href="http://meiyou.org/2009/09/learning-opencv/cvadaptivethreshold/"><img class="alignnone size-full wp-image-1177" title="cvAdaptiveThreshold与cvThreshold的对比" src="http://meiyou.org/wp-content/uploads/2009/09/cvAdaptiveThreshold.png" alt="cvAdaptiveThreshold与cvThreshold的对比" width="623" height="501" /></a></p>
<h3>20090922</h3>
<p>今天晚上研究了一下&#8221;Image Morphology&#8221;,也就是图像形态学.Show图:</p>
<p><a rel="attachment wp-att-1169" href="http://meiyou.org/2009/09/learning-opencv/cverode_cvdilate/"><img class="alignnone size-medium wp-image-1169" title="cvErode函数与cvDilate函数的测试" src="http://meiyou.org/wp-content/uploads/2009/09/cvErode_cvDilate-640x342.jpg" alt="cvErode函数与cvDilate函数的测试" width="640" height="342" /></a></p>
<p><a rel="attachment wp-att-1170" href="http://meiyou.org/2009/09/learning-opencv/kernels/"><img class="alignnone size-medium wp-image-1170" title="几种不同的Kernel的对比" src="http://meiyou.org/wp-content/uploads/2009/09/Kernels-640x260.jpg" alt="几种不同的Kernel的对比" width="640" height="260" /></a></p>
<h3>20090919</h3>
<p>晚上写了一些东西,主要是书上的示例函数的实现.发现一些问题,CV_BILATERAL无法使用.明天再研究一下!</p>
<p><a rel="attachment wp-att-1145" href="http://meiyou.org/2009/09/learning-opencv/ch5_test_20090919/"><img class="alignnone size-medium wp-image-1145" title="OpenCV Image Processing cvSmooth Function" src="http://meiyou.org/wp-content/uploads/2009/09/Ch5_test_20090919-640x489.png" alt="OpenCV Image Processing cvSmooth Function" width="640" height="489" /></a></p>
<h3>20090917</h3>
<p>最近几天也没有往后看,一直在编写107的练习题目,发现图像编程也挺有意思的.</p>
<p>还是写一些代码实在!</p>
<p>获取坐标及RGB值,如图:</p>
<p><a rel="attachment wp-att-1134" href="http://meiyou.org/2009/09/learning-opencv/saaya/"><img class="alignnone size-full wp-image-1134" title="背景图片是入江纱绫" src="http://meiyou.org/wp-content/uploads/2009/09/saaya.png" alt="背景图片是入江纱绫" width="368" height="186" /></a></p>
<h3>20090915</h3>
<p>今天忙一天的编程比赛.晚上才有一些时间来写OpenCV的程序,还挺有意思的.</p>
<h3>20090914</h3>
<p>昨天晚上编写了一个可以在一个图片上显示三个图像的程序.为了编写它,折腾了我一下午和一晚上.不过效果还可以.看图:</p>
<p><a rel="attachment wp-att-1124" href="http://meiyou.org/2009/09/learning-opencv/three-in-one/"><img class="alignnone size-medium wp-image-1124" title="three in one" src="http://meiyou.org/wp-content/uploads/2009/09/three-in-one-640x181.png" alt="three in one" width="640" height="181" /></a></p>
<h3>20090912</h3>
<p>还是更新的昨天的.</p>
<h3>20090911</h3>
<p>昨天晚上编写的代码由于没有时间来上传,现在上传上来,主要是第三章的矩阵处理技术.</p>
<h3>20090909</h3>
<p>Show some captures of my OpenCV Example works.</p>
<p><a rel="attachment wp-att-1109" href="http://meiyou.org/2009/09/learning-opencv/opencv_me/"><img class="alignnone size-medium wp-image-1109" title="OpenCV_Me" src="http://meiyou.org/wp-content/uploads/2009/09/OpenCV_Me-640x400.png" alt="OpenCV_Me" width="640" height="400" /></a></p>
<p><a rel="attachment wp-att-1110" href="http://meiyou.org/2009/09/learning-opencv/opencv_tabels/"><img class="alignnone size-medium wp-image-1110" title="OpenCV_Tabels" src="http://meiyou.org/wp-content/uploads/2009/09/OpenCV_Tabels-640x400.png" alt="OpenCV_Tabels" width="640" height="400" /></a></p>
<h2>Coding Every Day</h2>
<h3>Chapter 2: Introduction to OpenCV</h3>
<p style="padding-left: 30px;">20090908:(6 Files, 143 Lines)</p>
<p style="padding-left: 30px;">20090909:(4 Files, 151 Lines)</p>
<p style="padding-left: 30px;">20091015:(1 File, 79 Lines)</p>
<h3>Chapter 3: Getting to Know OpenCV</h3>
<p style="padding-left: 30px;">20090910:(8 Files, 178 Lines)</p>
<p style="padding-left: 30px;">20091015:(3 Files, 97 Lines)</p>
<p style="padding-left: 30px;">20091016:(4 Files, 151 Lines)</p>
<h3>Chapter 4: HighGUI</h3>
<p style="padding-left: 30px;">20090910:(1 File, 24 Lines)</p>
<p style="padding-left: 30px;">20090913:(5 Files, 393 Lines)</p>
<p style="padding-left: 30px;">20090915:(1 File, 70 Lines)</p>
<p style="padding-left: 30px;">20090916:(2 Files, 269 Lines)</p>
<p style="padding-left: 30px;">20091016:(1 File, 145 Lines)</p>
<p style="padding-left: 30px;">20091017:(1 File, 98 Lines)</p>
<p style="padding-left: 30px;">20091018:(3 Files, 360 Lines)</p>
<h3>Chapter 5: Image Processing</h3>
<p style="padding-left: 30px;">20090919:(1 File, 54 Lines)</p>
<p style="padding-left: 30px;">20090922:(2 Files, 146 Lines)</p>
<p style="padding-left: 30px;">20090923:(4 Files, 164 Lines)</p>
<p style="padding-left: 30px;">20090926:(4 Files, 159 Lines)</p>
<p style="padding-left: 30px;">20091019:(1 File, 57 Lines)</p>
<p style="padding-left: 30px;">20091028:(2 Files, 137 Lines)</p>
<p style="padding-left: 30px;">20091029:(3 Files, 130 Lines)</p>
<p style="padding-left: 30px;">20091101:(1 File, 71 Lines)</p>
<p style="padding-left: 30px;">20091102:(2 Files, 111 Lines)</p>
<h3>Chapter 6: Image Transforms</h3>
<p style="padding-left: 30px;">20090930:(3 Files, 148 Lines)</p>
<p style="padding-left: 30px;">20091001:(2 Files, 75 Lines)</p>
<p style="padding-left: 30px;">20091002:(2 Files, 101 Lines)</p>
<p style="padding-left: 30px;">20091003:(2 Files, 97 Lines)</p>
<p style="padding-left: 30px;">20091004:(1 File, 40 Lines)</p>
<p style="padding-left: 30px;">20091105:(1 File, 48 Lines)</p>
<h3>Chapter 7: Histograms and Matching</h3>
<p style="padding-left: 30px;">20091004:(1 File, 67 Lines)</p>
<p style="padding-left: 30px;">20091006:(1 File, 158 Lines)</p>
<p style="padding-left: 30px;">20091007:(1 File, 49 Lines)</p>
<h3>Chapter 8: Contours</h3>
<p style="padding-left: 30px;">20091009:(0 File, 0 Line)</p>
<p style="padding-left: 30px;">20091012:(2 Files, 100 Lines)</p>
<p style="padding-left: 30px;">20091014:(0 File, 0 Line)</p>
<h3>Chapter 9: Image Parts and Segmentation</h3>
<p style="padding-left: 30px;">20091020:(1 File, 49 Lines)</p>
<p style="padding-left: 30px;">20091021:(2 Files, 111 Lines)</p>
<p style="padding-left: 30px;">20100112:(1 File, 55 Lines)</p>
<p style="padding-left: 30px;">20100119:(6 Files, 885 Lines)</p>
<p style="padding-left: 30px;">20100120:(3 Files, 230 Lines)</p>
<p style="padding-left: 30px;">20100121:(1 File, 149 Lines)</p>
<h3>Chapter 10: Tracking and Motion</h3>
<p style="padding-left: 30px;">20100124:(2 Files, 158 Lines)</p>
<p style="padding-left: 30px;">20100127:(2 Files, 233 Lines)</p>
<p style="padding-left: 30px;">20100128:(1 File, 96 Lines)</p>
<h2>Coding Lines</h2>
<h3>20100128</h3>
<p>Total: <strong>99</strong> Files,<strong>6418 </strong>Lines. <em>(Add 1 File, 96 Lines)</em></p>
<h3>20100127</h3>
<p>Total: <strong>98</strong> Files,<strong>6322 </strong>Lines. <em>(Add 2 Files, 233 Lines)</em></p>
<h3>20100124</h3>
<p>Total: <strong>96</strong> Files,<strong>6089 </strong>Lines. <em>(Add 2 Files, 158 Lines)</em></p>
<h3>20100121</h3>
<p>Total: <strong>94</strong> Files,<strong>5931 </strong>Lines. <em>(Add 1 File, 149 Lines)</em></p>
<h3>20100120</h3>
<p>Total: <strong>93</strong> Files,<strong>5782 </strong>Lines. <em>(Add 3 Files, 230 Lines)</em></p>
<h3>20100119</h3>
<p>Total: <strong>90</strong> Files,<strong>5552 </strong>Lines. <em>(Add 5 Files, 885 Lines)</em></p>
<h3>20100112</h3>
<p>Total: <strong>84</strong> Files,<strong>4667 </strong>Lines. <em>(Add 1 File, 55 Lines)</em></p>
<h3>20091105</h3>
<p>Total: <strong>83</strong> Files,<strong>4612 </strong>Lines. <em>(Add 1 File, 48 Lines)</em></p>
<h3>20091103</h3>
<p>Total: <strong>82</strong> Files,<strong>4564 </strong>Lines. <em>(Add 1 File, 120 Lines)</em></p>
<h3>20091102</h3>
<p>Total: <strong>81</strong> Files,<strong>4444 </strong>Lines. <em>(Add 2 Files, 111 Lines)</em></p>
<h3>20091101</h3>
<p>Total: <strong>79</strong> Files,<strong>4333 </strong>Lines. <em>(Add 1 File, 71 Lines)</em></p>
<h3>20091029</h3>
<p>Total: <strong>78</strong> Files,<strong>4262 </strong>Lines. <em>(Add 4 Files, 221 Lines)</em></p>
<h3>20091028</h3>
<p>Total: <strong>74</strong> Files,<strong>4041 </strong>Lines. <em>(Add 2 Files, 137Lines)</em></p>
<h3>20091025</h3>
<p>Total: <strong>72</strong> Files,<strong>3904 </strong>Lines. <em>(Add 2 Files, 171 Lines)</em></p>
<h3>20091021</h3>
<p>Total: <strong>70</strong> Files,<strong>3733 </strong>Lines. <em>(Add 2 Files, 111 Lines)</em></p>
<h3>20091020</h3>
<p>Total: <strong>68</strong> Files,<strong>3622 </strong>Lines. <em>(Add 1 File, 49 Lines)</em></p>
<h3>20091019</h3>
<p>Total: <strong>67</strong> Files,<strong>3573 </strong>Lines. <em>(Add 1 File, 57 Lines)</em></p>
<h3>20091018</h3>
<p>Total: <strong>66</strong> Files,<strong>3516 </strong>Lines. <em>(Add 3 Files, 360 Lines)</em></p>
<h3>20091017</h3>
<p>Total: <strong>63</strong> Files,<strong>3156 </strong>Lines. <em>(Add 1 File, 98 Lines)</em></p>
<h3>20091016</h3>
<p>Total: <strong>62</strong> Files,<strong>3058 </strong>Lines. <em>(Add 5 Files, 296 Lines)</em></p>
<h3>20091015</h3>
<p>Total: <strong>57</strong> Files,<strong>2762 </strong>Lines. <em>(Add 4 Files, 176 Lines)</em></p>
<h3>20091012</h3>
<p>Total: <strong>53</strong> Files,<strong>2586 </strong>Lines. <em>(Add 2 Files, 100 Lines)</em></p>
<h3>20091007</h3>
<p>Total: <strong>51</strong> Files,<strong>2486 </strong>Lines. <em>(Add 1 File, 49 Lines)</em></p>
<h3>20091006</h3>
<p>Total: <strong>50</strong> Files,<strong>2437 </strong>Lines. <em>(Add 1 File, 158 Lines)</em></p>
<h3>20091004</h3>
<p>Total: <strong>49</strong> Files,<strong>2279 </strong>Lines. <em>(Add 2 Files, 107 Lines)</em></p>
<h3>20091003</h3>
<p>Total: <strong>47</strong> Files,<strong>2172 </strong>Lines. <em>(Add 2 Files, 97 Lines)</em></p>
<h3>20091002</h3>
<p>Total: <strong>45</strong> Files,<strong>2075 </strong>Lines. <em>(Add 2 Files, 101 Lines)</em></p>
<h3>20091001</h3>
<p>Total: <strong>43</strong> Files,<strong>1974 </strong>Lines. <em>(Add 2 Files, 75 Lines)</em></p>
<h3>20090930</h3>
<p>Total: <strong>41</strong> Files,<strong>1899 </strong>Lines. <em>(Add 3 Files, 148 Lines)</em></p>
<h3>20090926</h3>
<p>Total: <strong>38</strong> Files,<strong>1751 </strong>Lines. <em>(Add 4 Files, 159 Lines)</em></p>
<h3>20090923</h3>
<p>Total: <strong>34</strong> Files,<strong>1592 </strong>Lines. <em>(Add 4 Files, 164 Lines)</em></p>
<h3>20090922</h3>
<p>Total: <strong>30</strong> Files,<strong>1428 </strong>Lines. <em>(Add 2 Files, 146 Lines)</em></p>
<h3>20090919</h3>
<p>Total: <strong>28</strong> Files,<strong>1282 </strong>Lines. <em>(Add 1 File, 54 Lines)</em></p>
<h3>20090917</h3>
<p>Total: <strong>27</strong> Files,<strong>1228</strong> Lines. <em>(Add 2 Files, 269 Lines)</em></p>
<h3>20090915</h3>
<p>Total: <strong>25</strong> Files,<strong>959</strong> Lines. <em>(Add 1 File, 70 Lines)</em></p>
<h3>20090914</h3>
<p>Total: <strong>24</strong> Files,<strong>889</strong> Lines. <em>(Add 5 Files, 393 Lines)</em></p>
<h3>20090912</h3>
<p>Total: <strong>19</strong> Files,<strong>496</strong> Lines. <em>(Add 1 File, 24 Lines)</em></p>
<h3>20090911</h3>
<p>Total: <strong>18</strong> Files,<strong>472</strong> Lines. <em>(Add 8 Files, 178 Lines)</em></p>
<h3>20090909</h3>
<p>Total: <strong>10</strong> Files,<strong>294</strong> Lines. <em>(Add 4 Files, 151 Lines)</em></p>
<h3>20090908</h3>
<p>Total: <strong>6</strong> Files, <strong>143</strong> Lines. <em>(Add 6 Files, 143 Lines)</em></p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/09/learning-opencv/">Permalink</a> |
<a href="http://meiyou.org/2009/09/learning-opencv/#comments">21 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/09/learning-opencv/&title=Learning OpenCV">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/opencv/" rel="tag">OpenCV</a>, <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/09/learning-opencv/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
