<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_cloudseawang</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/23401/rss</id><updated>2012-02-25T00:45:28Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/23401/rss"/><entry><id>http://www.cnblogs.com/cloudseawang/archive/2012/02/25/2367459.html</id><title type="text">转Tutorial papers for MRF, CRF and DRF</title><summary type="text">In this article I compile a list of good papers and tutorials related to MRFs, CRFs and DRFs. Hopefully you will find it useful.Recently I have been interested in conditional random fields (CRFs) for image modeling/labeling. I had really difficult time finding good materials to read. In this post, I</summary><published>2012-02-25T00:45:00Z</published><updated>2012-02-25T00:45:00Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cloudseawang/archive/2012/02/25/2367459.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/archive/2012/02/25/2367459.html"/><content type="html">&lt;p&gt;In this article I compile a list of good papers and tutorials related to MRFs, CRFs and DRFs. Hopefully you will find it useful.&lt;/p&gt;&lt;p&gt;Recently I have been interested in conditional random fields (CRFs) for image modeling/labeling. I had really difficult time finding good materials to read. In this post, I would like to dedicate to people who are having a difficult time understanding CRFs, particularly, for image classification. My goal is to save your time by pointing you out to some good and useful materials, so that you don&amp;#8217;t have to waste a lot of time like I did in past few weeks.&lt;/p&gt;&lt;p&gt;You might come up with some questions like what are the differences between CRF vs Bayesian networks (BNs) or between CRF vs&amp;nbsp; MRF? What are the advantages of CRFs which are discriminative models over generative models like MRF and BN? What are the relationships between CRFs and other fundamental statistics models e.g. logistic regression and log-linear model? and most importantly&amp;#8230;I&amp;#8217;m a newbie..where should I get started?&lt;/p&gt;&lt;p&gt;Here are the list of materials:&lt;/p&gt;&lt;ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: #ffffff; "&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; "&gt;Log-linear Models and Conditional Random Fields by Charles Elkan&lt;a href="http://videolectures.net/cikm08_elkan_llmacrf/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #2970a6; text-decoration: none; "&gt;http://videolectures.net/cikm08_elkan_llmacrf/&lt;/a&gt;&amp;nbsp;. I think this should be the first material you might want to learn from. The instructor did a really good job giving the overview of fundamental topics on statistics, e.g. maximum likelihood, logistic regression, log-linear model, then connect the idea to&amp;nbsp; CRF at the end. However, in this lecture, there is not much connection between CRFs and other graphical models.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; "&gt;Discriminative Random Fields (&lt;a href="http://www.springerlink.com/content/h7p55g330226vr78/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #2970a6; text-decoration: none; "&gt;IJCV paper&lt;/a&gt;) by Sanjiv Kumar and Martial Hebert. For me, this is the best paper&amp;nbsp; talking about CRFs for image classification/labeling. The paper discusses about MRF, BN in brief, then points out the main problems using those models, and shows how CRF can solve the existing problems.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; "&gt;Models for Learning Spatial Interactions in Natural Images for Context-Based Classification (&lt;a href="http://www.ri.cmu.edu/pub_files/pub4/kumar_sanjiv_2005_1/kumar_sanjiv_2005_1.pdf" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #2970a6; text-decoration: none; "&gt;PhD thesis&lt;/a&gt;) by Sanjiv Kumar. If you like the paper [2] above and would like to see more detail of how to derive some learning formula, then you might want to see the PhD thesis of this paper which provides a lot mode details and images for better understanding.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; "&gt;An Introduction to Conditional Random Fields for Relational Learning by Sutton, C., McCallum, A. (&lt;a href="http://www.cs.umass.edu/~mccallum/papers/crf-tutorial.pdf" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #2970a6; text-decoration: none; "&gt;tutorial paper&lt;/a&gt;). This is a good and pretty long tutorial paper. What I like in this paper is that the paper motivates readers by some good examples especially in natural language processing which is a good application to show the power of CRFs. Another good thing is that this paper shows some connections between CRFs and some other graphical models.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;At some point, you might feel that CRFs are closely related to MRFs. For those who are not familiar to MRFs, there are some good books and papers I would lkike to recommend:&lt;/p&gt;&lt;ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 18px; background-color: #ffffff; "&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; "&gt;Markov random field modeling in image analysis by Stan Z. Li &amp;#8212; This might be the best book on MRFs so far as it explains almost everything about MRFs in considerable details ranging from Gibbs random fields, MRFs, CRFs, DRFs, energy functions, smoothness constrains, learning algorithms, inference algorithms, etc. I really recommend this book if you have TIME to read it. However, this book seems to focus more on theoretical than real example aspect.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; "&gt;Image processing: dealing with texture by Maria Petrou &amp;amp; Pedro Garc&amp;#237;a Sevilla &amp;#8212; I like this book because there are a lot of good examples on how MRFs, energy functions, etc look like in practice. This would be a good book to read parallel to the book from Stan Z. Li.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; "&gt;Image analysis, random fields, and dynamic Monte Carlo methods: a mathematical introduction by Gerhard Winkler&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px; list-style-position: inside; "&gt;Markov Random Field Models: A Bayesian Approach to Computer Vision Problems (&lt;a href="http://repository.upenn.edu/cgi/viewcontent.cgi?article=1509&amp;amp;context=cis_reports" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: #2970a6; text-decoration: none; "&gt;technical report&lt;/a&gt;) by Gerda Kamberova. &amp;#8212; This is a free, good , and concise report on MRFs or computer vision.&lt;/li&gt;&lt;/ol&gt;&lt;img src="http://www.cnblogs.com/cloudseawang/aggbug/2367459.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/cloudseawang/archive/2012/02/25/2367459.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/cloudseawang/archive/2011/07/20/2111281.html</id><title type="text">转 QT无法定位程序输入点*于动态链接库 QtCore4.dll</title><summary type="text">问题:双击release下的exe文件报错，无法定位程序输入点与动态链接库QtCore4.dll上，而debug下没问题 将release下的exe文件拷到qt的bin目录下，再双击就没问题了.我的回复:我也出现了这个问题.原因很有可能是你环境变量中的系统变量PATH设置问题.我开始安装QT没有出现这个问题,用了一段时间就出现罗.觉得是 QtCore4.dll 链接错误,意思是说 release下的可执行程序链接的QtCore4.dll不是QT安装目录下的/bin中的QtCore4.dll.后来一查找,发现最近安装的CTEX软件中也有QtCore4.dll,找到原因了.所以,把qt下的库路径添</summary><published>2011-07-20T01:50:00Z</published><updated>2011-07-20T01:50:00Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cloudseawang/archive/2011/07/20/2111281.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/archive/2011/07/20/2111281.html"/><content type="html">&lt;span class="Apple-style-span" style="color: #464646; font-family: simsun; "&gt;&lt;p&gt;问题:&lt;/p&gt;&lt;p&gt;双击release下的exe文件报错，&lt;span style="word-wrap: normal; word-break: normal; line-height: 21px; text-decoration: line-through; "&gt;无法定位程序输入点与动态链接库QtCore4.dll上&lt;/span&gt;，而debug下没问题 将release下的exe文件拷到qt的bin目录下，再双击就没问题了.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;wbr&gt;&lt;/p&gt;&lt;p&gt;我的回复:&lt;/p&gt;&lt;p&gt;我也出现了这个问题.&lt;br /&gt;原因很有可能是你环境变量中的系统变量PATH设置问题.&lt;br /&gt;我开始安装QT没有出现这个问题,用了一段时间就出现罗.&lt;br /&gt;觉得是 QtCore4.dll 链接错误,意思是说 release下的可执行程序链接的QtCore4.dll不是QT安装目录下的/bin中的QtCore4.dll.&lt;br /&gt;后来一查找,发现最近安装的CTEX软件中也有QtCore4.dll,找到原因了.&lt;br /&gt;所以,把qt下的库路径添加到我CTEX库路径之前,就解决问题啦.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;wbr&gt;&lt;/p&gt;&lt;p&gt;这是一种典型的动态库连接错误问题.动态链接库QtCore.dll有多个版本,发生冲突.&lt;/p&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/cloudseawang/aggbug/2111281.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/cloudseawang/archive/2011/07/20/2111281.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/cloudseawang/archive/2011/06/10/2077702.html</id><title type="text">难道一直是4 4 2 3的命？</title><summary type="text">vis 2010是 4 4 2 3；eurovis 2011 是 4 4 2 3；vis 2011 4 4 2 3；难道这是我的宿命？</summary><published>2011-06-10T07:45:00Z</published><updated>2011-06-10T07:45:00Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cloudseawang/archive/2011/06/10/2077702.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/archive/2011/06/10/2077702.html"/><content type="html">&lt;p&gt;vis 2010是 4 4 2 3；&lt;/p&gt;&lt;p&gt;eurovis 2011 是 4 4 2 3；&lt;/p&gt;&lt;p&gt;vis 2011 4 4 2 3；&lt;/p&gt;&lt;p&gt;难道这是我的宿命？&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/cloudseawang/aggbug/2077702.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/cloudseawang/archive/2011/06/10/2077702.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/cloudseawang/archive/2011/05/04/2036093.html</id><title type="text">bibtex to bibitem</title><summary type="text">\documentclass{article}\begin{document}\nocite{*}\bibliography{xxx}\bibliographystyle{plain}\end{document}</summary><published>2011-05-04T01:01:00Z</published><updated>2011-05-04T01:01:00Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cloudseawang/archive/2011/05/04/2036093.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/archive/2011/05/04/2036093.html"/><content type="html">&lt;div&gt;&lt;div&gt;\documentclass{article}&lt;/div&gt;&lt;div&gt;\begin{document}&lt;/div&gt;&lt;div&gt;\nocite{*}&lt;/div&gt;&lt;div&gt;\bibliography{xxx}&lt;/div&gt;&lt;div&gt;\bibliographystyle{plain}&lt;/div&gt;&lt;div&gt;\end{document}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/cloudseawang/aggbug/2036093.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/cloudseawang/archive/2011/05/04/2036093.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/cloudseawang/archive/2010/06/08/1753899.html</id><title type="text">再次被rejected</title><summary type="text">虽然预料到，但还是有点不甘心4 4 2 3被拒，primary reviewer推荐到tvcg,但还是被paper chair rejected</summary><published>2010-06-08T04:48:00Z</published><updated>2010-06-08T04:48:00Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cloudseawang/archive/2010/06/08/1753899.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/archive/2010/06/08/1753899.html"/><content type="html">&lt;p&gt;虽然预料到，但还是有点不甘心&lt;/p&gt;&lt;p&gt;4 4 2 3被拒，primary reviewer推荐到tvcg,但还是被paper chair rejected&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/cloudseawang/aggbug/1753899.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/cloudseawang/archive/2010/06/08/1753899.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/cloudseawang/archive/2010/03/25/1695446.html</id><title type="text">qt ogl添加keyevent</title><summary type="text">qt对ogl程序添加keyevent,一定要加上 以下两句:setFocusPolicy(Qt::StrongFocus);installEventFilter(parent)</summary><published>2010-03-25T08:57:00Z</published><updated>2010-03-25T08:57:00Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cloudseawang/archive/2010/03/25/1695446.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/archive/2010/03/25/1695446.html"/><content type="text">qt对ogl程序添加keyevent,一定要加上 以下两句:setFocusPolicy(Qt::StrongFocus);installEventFilter(parent)</content></entry><entry><id>http://www.cnblogs.com/cloudseawang/archive/2010/02/17/1668890.html</id><title type="text">牛年最后一天的rejection</title><summary type="text">完全能上的paper,被自己的大意糟蹋掉了所有的reviewer对idea都很喜欢，可惜自己竟然没有解释为什么它能workfigure1竟然用了不能扣题的数据，可谓是最大的失误今年的vis里再也不能犯同样的错误了。不过圆满了，三大VIS都有被拒的文章</summary><published>2010-02-17T03:45:00Z</published><updated>2010-02-17T03:45:00Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cloudseawang/archive/2010/02/17/1668890.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/archive/2010/02/17/1668890.html"/><content type="text">完全能上的paper,被自己的大意糟蹋掉了所有的reviewer对idea都很喜欢，可惜自己竟然没有解释为什么它能workfigure1竟然用了不能扣题的数据，可谓是最大的失误今年的vis里再也不能犯同样的错误了。不过圆满了，三大VIS都有被拒的文章</content></entry><entry><id>http://www.cnblogs.com/cloudseawang/archive/2009/07/25/1531033.html</id><title type="text">cg 如何给结构体数组赋值</title><summary type="text">以前没用过，今天折腾了很久才学会。 CGparameter Param = cgGetNamedParameter(m_raycastFrag, "aaa"); //读structure of array参数 cgSetArraySize(Param,num);//设置数组大小for (int i=0;i&lt;num;i++){ CGparameter GaussIParam = c...</summary><published>2009-07-25T12:11:00Z</published><updated>2009-07-25T12:11:00Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cloudseawang/archive/2009/07/25/1531033.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/archive/2009/07/25/1531033.html"/><content type="text">以前没用过，今天折腾了很久才学会。 CGparameter Param = cgGetNamedParameter(m_raycastFrag, "aaa"); //读structure of array参数 cgSetArraySize(Param,num);//设置数组大小for (int i=0;i&lt;num;i++){ CGparameter GaussIParam = c...</content></entry><entry><id>http://www.cnblogs.com/cloudseawang/archive/2009/07/25/1531031.html</id><title type="text">cg fp40的问题</title><summary type="text">程序的shader要用到三重循环，用cgc编译后，shader代码没问题。然而cgCreateProgramFromFile时，却怎么得过去不，而且让内存从几兆一下上升到几百兆。开始没有debug,还以为电脑中了病毒。debug发现该问题后，想到可能是fp40不支持三重循环的shader,然后换用gp4fp解决该问题。</summary><published>2009-07-25T12:03:00Z</published><updated>2009-07-25T12:03:00Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cloudseawang/archive/2009/07/25/1531031.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/archive/2009/07/25/1531031.html"/><content type="text">程序的shader要用到三重循环，用cgc编译后，shader代码没问题。然而cgCreateProgramFromFile时，却怎么得过去不，而且让内存从几兆一下上升到几百兆。开始没有debug,还以为电脑中了病毒。debug发现该问题后，想到可能是fp40不支持三重循环的shader,然后换用gp4fp解决该问题。</content></entry><entry><id>http://www.cnblogs.com/cloudseawang/archive/2009/07/25/1531028.html</id><title type="text">cg又一个数据绑定错误</title><summary type="text">TextureManager::getGaussTF(gaussParam); 该函数通过引用方式读取gaussParam参数，然后绑定到cg的某一参数。然而，如果该函数放在cgGLBindProgram(xxx)后执行，无法得到争取的gaussParam。开始以为是引用问题，后改为传值，一样的错误。最后发现，必须把该函数放到cgglBIndProgram前执行。-----------------...</summary><published>2009-07-25T12:00:00Z</published><updated>2009-07-25T12:00:00Z</updated><author><name>cloudseawang</name><uri>http://www.cnblogs.com/cloudseawang/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cloudseawang/archive/2009/07/25/1531028.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cloudseawang/archive/2009/07/25/1531028.html"/><content type="text">TextureManager::getGaussTF(gaussParam); 该函数通过引用方式读取gaussParam参数，然后绑定到cg的某一参数。然而，如果该函数放在cgGLBindProgram(xxx)后执行，无法得到争取的gaussParam。开始以为是引用问题，后改为传值，一样的错误。最后发现，必须把该函数放到cgglBIndProgram前执行。-----------------...</content></entry></feed>
