<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-4165</id>
	<title>Nabble - opencvlibrary-devel</title>
	<updated>2009-12-07T23:34:43Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/opencvlibrary-devel-f4165.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/opencvlibrary-devel-f4165.html" />
	<subtitle type="html">Mailing list archive for opencvlibrary-devel</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26689787</id>
	<title>Re: Problems with the new svn service...</title>
	<published>2009-12-07T23:34:43Z</published>
	<updated>2009-12-07T23:34:43Z</updated>
	<author>
		<name>hyblade</name>
	</author>
	<content type="html">Hi Vadim,
&lt;br&gt;&lt;br&gt;1. Ok, that's nice - it assures me, that I'm not do dumb to log into an internet account ;) Hope you get this working fast...
&lt;br&gt;&lt;br&gt;2. Yes you're absolutely right, I'm interested in the nightly builds that were provided by your last host (or configuration). In the ViewVC help of your page I found the mentioned option for the tar ball access.
&lt;br&gt;&lt;a href=&quot;https://code.ros.org/gf/project/opencv/scmsvn/?action=browse&amp;path=%2F*docroot*%2Fhelp_rootview.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/gf/project/opencv/scmsvn/?action=browse&amp;path=%2F*docroot*%2Fhelp_rootview.html&lt;/a&gt;&lt;br&gt;It says 
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-message&quot;&gt;&lt;b&gt;&amp;nbsp;Directory Tarball View &lt;/b&gt;&amp;nbsp;- Retrieves a gzipped tar archive containing the contents of a directory.This view is disabled in the default ViewVC configuration.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
so this option should be hidden somewhere in the configuration ;)
&lt;br&gt;&lt;br&gt;As I said - it would really be great if you could enable this option - I know that there are definitely some workarounds for this task, but the tar ball option would be the nicest and simplest of all of them.
&lt;br&gt;&lt;br&gt;By the way, thanks for your help!
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Matthias
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Vadim Pisarevsky wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi Matthias,
&lt;br&gt;&lt;br&gt;1. The first problem is known, the site admins are working on it.
&lt;br&gt;&lt;br&gt;2. On the tarball option. If you mean stable releases (though, likely you do
&lt;br&gt;not mean it),
&lt;br&gt;they are still available from SourceForge. If you need e.g. nightly tarballs
&lt;br&gt;from the SVN,
&lt;br&gt;I'm not sure if it can be enabled at all, I did not find any place in admin
&lt;br&gt;settings to enable it.
&lt;br&gt;&lt;br&gt;One possible workaround is to use &amp;quot;wget&amp;quot; or other web downloader that allows
&lt;br&gt;recursive retrieval.
&lt;br&gt;Then you may grab the latest version directly from
&lt;br&gt;&lt;a href=&quot;https://code.ros.org/svn/opencv/trunk/opencv&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/svn/opencv/trunk/opencv&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;For example, if you can open
&lt;br&gt;&lt;a href=&quot;https://code.ros.org/svn/opencv/trunk/opencv/include/opencv/cxcore.h&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/svn/opencv/trunk/opencv/include/opencv/cxcore.h&lt;/a&gt;&lt;br&gt;in your browser, I do not see any obstacles for getting the whole opencv
&lt;br&gt;tree.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Vadim
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-the-new-svn-service...-tp26635800p26689787.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26683778</id>
	<title>Re: Problems with the new svn service...</title>
	<published>2009-12-07T12:40:47Z</published>
	<updated>2009-12-07T12:40:47Z</updated>
	<author>
		<name>Vadim Pisarevsky</name>
	</author>
	<content type="html">Hi Matthias,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;1. The first problem is known, the site admins are working on it.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;2. On the tarball option. If you mean stable releases (though, likely you do not mean it),&lt;/div&gt;&lt;div&gt;
they are still available from SourceForge. If you need e.g. nightly tarballs from the SVN,&lt;/div&gt;&lt;div&gt;I&amp;#39;m not sure if it can be enabled at all, I did not find any place in admin settings to enable it.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;div&gt;One possible workaround is to use &amp;quot;wget&amp;quot; or other web downloader that allows recursive retrieval.&lt;/div&gt;&lt;div&gt;Then you may grab the latest version directly from&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://code.ros.org/svn/opencv/trunk/opencv&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/svn/opencv/trunk/opencv&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;For example, if you can open&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://code.ros.org/svn/opencv/trunk/opencv/include/opencv/cxcore.h&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/svn/opencv/trunk/opencv/include/opencv/cxcore.h&lt;/a&gt;&lt;/div&gt;&lt;div&gt;
in your browser, I do not see any obstacles for getting the whole opencv tree.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Vadim&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Dec 5, 2009 at 1:06 PM, hyblade &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26683778&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;schmieder.matthias@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;br&gt;
Hi Vadim,&lt;br&gt;
&lt;br&gt;
1. logging in at &lt;a href=&quot;https://code.ros.org/gf/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/gf/&lt;/a&gt; works just fine. But when I browse&lt;br&gt;
to &amp;quot;Trac&amp;quot; to commit or look for bugs, my username and password won&amp;#39;t work. I&lt;br&gt;
really don&amp;#39;t know what&amp;#39;s going wrong...&lt;br&gt;
&lt;br&gt;
2. I don&amp;#39;t think that the downloading via a svn client will work. Our&lt;br&gt;
corporate fireware is kind of thorough when it comes to file transfers.&lt;br&gt;
Everything is filtered and checked - if there is anything that looks like an&lt;br&gt;
executable it won&amp;#39;t pass the check and the hole transfer is denied. So we&lt;br&gt;
have to contact our IT to download such things for us, but as it is the case&lt;br&gt;
they won&amp;#39;t use a svn client. The best way for us the get to the actual svn&lt;br&gt;
snapshot was therefore send a link to the tar ball to our IT which&lt;br&gt;
downloaded the files for us.&lt;br&gt;
&lt;br&gt;
Is there a reason why you have deactivated the tar ball option? As I said it&lt;br&gt;
would really be great if you re-activate it since there surely are others&lt;br&gt;
that may have the same problem.&lt;br&gt;
&lt;br&gt;
Have a nice weekend.&lt;br&gt;
&lt;br&gt;
Greetings from Germany!&lt;br&gt;
Matthias&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/Problems-with-the-new-svn-service...-tp26635800p26654325.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Problems-with-the-new-svn-service...-tp26635800p26654325.html&lt;/a&gt;&lt;br&gt;

&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Sent from the opencvlibrary-devel mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Join us December 9, 2009 for the Red Hat Virtual Experience,&lt;br&gt;
a free event focused on virtualization and cloud computing.&lt;br&gt;
Attend in-depth sessions from your desk. Your couch. Anywhere.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Opencvlibrary-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26683778&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26683778&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-the-new-svn-service...-tp26635800p26683778.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26678469</id>
	<title>Re: Is CvBoostTree::find_split_cat_reg() buggy?</title>
	<published>2009-12-07T07:03:14Z</published>
	<updated>2009-12-07T07:03:14Z</updated>
	<author>
		<name>Vadim Pisarevsky</name>
	</author>
	<content type="html">Hi JIA,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;is it possible for us to get the training data that you pass to CvBoost (or the .vec file that you pass to traincascade)?&lt;/div&gt;&lt;div&gt;We are not able to reproduce the problem on our current data.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Vadim&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Dec 7, 2009 at 2:06 AM, JIA Pei &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678469&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jp4work@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;br&gt;Hi, all:&lt;br&gt;&lt;br&gt;file mlboost.cpp  around line 570:   sum[i] /= counts[i];&lt;br&gt;&lt;br&gt;when I debug, I met the situation that counts[i] equals to zero . Is this a bug of current OpenCV trunk?&lt;br&gt;&lt;br&gt;I notice that it&amp;#39;s still ok for me to finish running this program, &lt;br&gt;

however, to be strict, it&amp;#39;s better to ensure &amp;quot;divide by 0&amp;quot; will never happen in a strict coding.&lt;br&gt;&lt;br&gt;Cheers&lt;br&gt;JIA&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;


&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678469&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-CvBoostTree%3A%3Afind_split_cat_reg%28%29-buggy--tp26670179p26678469.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677468</id>
	<title>Re: Issues with eigenvector computation using OpenCV</title>
	<published>2009-12-07T05:46:44Z</published>
	<updated>2009-12-07T05:46:44Z</updated>
	<author>
		<name>Vadim Pisarevsky</name>
	</author>
	<content type="html">Hello,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;such reports should better be posted to opencvlibrary-users or submitted as bug reports.&lt;/div&gt;&lt;div&gt;Looking at the code I see that the matrix as declared as &amp;quot;double&amp;quot; and at the same time you build a matrix header with the type CV_32FC1, which means &amp;quot;float&amp;quot;.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Vadim &lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Dec 7, 2009 at 5:08 AM, Arun A K &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677468&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;arnkrishn@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;span style=&quot;font-family:Consolas, Monaco, &amp;#39;Lucida Console&amp;#39;, &amp;#39;Liberation Mono&amp;#39;, &amp;#39;DejaVu Sans Mono&amp;#39;, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;;font-size:12px;line-height:13px;white-space:pre-wrap&quot;&gt;Hi&lt;/span&gt;&lt;div&gt;


&lt;span style=&quot;font-family:Consolas, Monaco, &amp;#39;Lucida Console&amp;#39;, &amp;#39;Liberation Mono&amp;#39;, &amp;#39;DejaVu Sans Mono&amp;#39;, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;;font-size:12px;line-height:13px;white-space:pre-wrap&quot;&gt;
I have this matrix A, representing similarities of pixel intensities of an image. For example: Consider a 10 x 10 image. Matrix A in this case would be of dimension 100 x 100, and element A(i,j) would have a value in the range 0 to 1, representing the similarity of pixel i to j in terms of intensity.

I am using OpenCV for image processing and the development environment is C on Linux. 

Objective is to compute the Eigenvectors of matrix A and I have used the following approach:

    &lt;font color=&quot;#CC0000&quot;&gt;static CvMat mat, *eigenVec, *eigenVal;
    static double A[100][100]={}, Ain1D[10000]={};
    int cnt=0;
    
    //Converting matrix A into a one dimensional array
    //Reason: That is how cvMat requires it
    for(i = 0;i &amp;lt; affnDim;i++){
      for(j = 0;j &amp;lt; affnDim;j++){
     Ain1D[cnt++] = A[i][j];
      }
    }
    
    mat = cvMat(100, 100, CV_32FC1, Ain1D); 
    
    cvEigenVV(&amp;amp;mat, eigenVec, eigenVal, 1e-300);
    
    for(i=0;i &amp;lt; 100;i++){
      val1 = cvmGet(eigenVal,i,0); //Fetching Eigen Value
    
      for(j=0;j &amp;lt; 100;j++){   
     matX[i][j] = cvmGet(eigenVec,i,j); //Fetching each component of Eigenvector i    
      }
    }&lt;/font&gt;


&lt;b&gt;Problem:&lt;/b&gt; After execution I get nearly all components of all the Eigenvectors to be zero. I tried different images and also tried populating A with random values between 0 and 1, but the same result.

Few of the top eigenvalues returned look like the following:

&lt;font color=&quot;#000099&quot;&gt;    9805401476911479666115491135488.000000  
    -9805401476911479666115491135488.000000  
    -89222871725331592641813413888.000000  
    89222862280598626902522986496.000000  
    5255391142666987110400.000000
&lt;/font&gt;
I am now thinking on the lines of using cvSVD() which performs singular value decomposition of real floating-point matrix and might yield me the eigenvectors. But before that I thought of asking it here. Is there anything absurd in my current approach? Am I using the right API i.e. cvEigenVV() for the right input matrix (my matrix A is a floating point matrix)?&lt;/span&gt;&lt;/div&gt;


&lt;div&gt;&lt;font face=&quot;Consolas, Monaco, &amp;#39;Lucida Console&amp;#39;, &amp;#39;Liberation Mono&amp;#39;, &amp;#39;DejaVu Sans Mono&amp;#39;, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;&quot; size=&quot;3&quot;&gt;&lt;span style=&quot;font-size:12px;line-height:13px;white-space:pre-wrap&quot;&gt;&lt;br&gt;


&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family:Consolas, Monaco, &amp;#39;Lucida Console&amp;#39;, &amp;#39;Liberation Mono&amp;#39;, &amp;#39;DejaVu Sans Mono&amp;#39;, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;;font-size:12px;line-height:13px;white-space:pre-wrap&quot;&gt;Thanks for your time.

cheers
&lt;/span&gt;Arun A K&lt;br&gt;Graduate Student&lt;br&gt;Department of Computer Science&lt;br&gt;Indiana University, Bloomington&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Join us December 9, 2009 for the Red Hat Virtual Experience,&lt;br&gt;
a free event focused on virtualization and cloud computing.&lt;br&gt;
Attend in-depth sessions from your desk. Your couch. Anywhere.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
Opencvlibrary-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677468&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677468&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issues-with-eigenvector-computation-using-OpenCV-tp26671541p26677468.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26671541</id>
	<title>Issues with eigenvector computation using OpenCV</title>
	<published>2009-12-06T18:08:53Z</published>
	<updated>2009-12-06T18:08:53Z</updated>
	<author>
		<name>Arun A K</name>
	</author>
	<content type="html">&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Monaco, &amp;#39;Lucida Console&amp;#39;, &amp;#39;Liberation Mono&amp;#39;, &amp;#39;DejaVu Sans Mono&amp;#39;, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;; font-size: 12px; line-height: 13px; white-space: pre-wrap; &quot;&gt;Hi&lt;/span&gt;&lt;div&gt;

&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Monaco, &amp;#39;Lucida Console&amp;#39;, &amp;#39;Liberation Mono&amp;#39;, &amp;#39;DejaVu Sans Mono&amp;#39;, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;; font-size: 12px; line-height: 13px; white-space: pre-wrap; &quot;&gt;
I have this matrix A, representing similarities of pixel intensities of an image. For example: Consider a 10 x 10 image. Matrix A in this case would be of dimension 100 x 100, and element A(i,j) would have a value in the range 0 to 1, representing the similarity of pixel i to j in terms of intensity.

I am using OpenCV for image processing and the development environment is C on Linux. 

Objective is to compute the Eigenvectors of matrix A and I have used the following approach:

    &lt;font class=&quot;Apple-style-span&quot; color=&quot;#CC0000&quot;&gt;static CvMat mat, *eigenVec, *eigenVal;
    static double A[100][100]={}, Ain1D[10000]={};
    int cnt=0;
    
    //Converting matrix A into a one dimensional array
    //Reason: That is how cvMat requires it
    for(i = 0;i &amp;lt; affnDim;i++){
      for(j = 0;j &amp;lt; affnDim;j++){
     Ain1D[cnt++] = A[i][j];
      }
    }
    
    mat = cvMat(100, 100, CV_32FC1, Ain1D); 
    
    cvEigenVV(&amp;amp;mat, eigenVec, eigenVal, 1e-300);
    
    for(i=0;i &amp;lt; 100;i++){
      val1 = cvmGet(eigenVal,i,0); //Fetching Eigen Value
    
      for(j=0;j &amp;lt; 100;j++){   
     matX[i][j] = cvmGet(eigenVec,i,j); //Fetching each component of Eigenvector i    
      }
    }&lt;/font&gt;


&lt;b&gt;Problem:&lt;/b&gt; After execution I get nearly all components of all the Eigenvectors to be zero. I tried different images and also tried populating A with random values between 0 and 1, but the same result.

Few of the top eigenvalues returned look like the following:

&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000099&quot;&gt;    9805401476911479666115491135488.000000  
    -9805401476911479666115491135488.000000  
    -89222871725331592641813413888.000000  
    89222862280598626902522986496.000000  
    5255391142666987110400.000000
&lt;/font&gt;
I am now thinking on the lines of using cvSVD() which performs singular value decomposition of real floating-point matrix and might yield me the eigenvectors. But before that I thought of asking it here. Is there anything absurd in my current approach? Am I using the right API i.e. cvEigenVV() for the right input matrix (my matrix A is a floating point matrix)?&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Consolas, Monaco, &amp;#39;Lucida Console&amp;#39;, &amp;#39;Liberation Mono&amp;#39;, &amp;#39;DejaVu Sans Mono&amp;#39;, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 13px; white-space: pre-wrap;&quot;&gt;&lt;br&gt;

&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Monaco, &amp;#39;Lucida Console&amp;#39;, &amp;#39;Liberation Mono&amp;#39;, &amp;#39;DejaVu Sans Mono&amp;#39;, &amp;#39;Bitstream Vera Sans Mono&amp;#39;, &amp;#39;Courier New&amp;#39;; font-size: 12px; line-height: 13px; white-space: pre-wrap; &quot;&gt;Thanks for your time.

cheers
&lt;/span&gt;Arun A K&lt;br&gt;Graduate Student&lt;br&gt;Department of Computer Science&lt;br&gt;Indiana University, Bloomington&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26671541&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issues-with-eigenvector-computation-using-OpenCV-tp26671541p26671541.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26671001</id>
	<title>Another mlboost.cpp question...</title>
	<published>2009-12-06T16:46:55Z</published>
	<updated>2009-12-06T16:46:55Z</updated>
	<author>
		<name>jiapei100</name>
	</author>
	<content type="html">&lt;br&gt;Hi, All:&lt;br&gt;&lt;br&gt;In OpenCV 2.x, &lt;br&gt;file:  mlboost.cpp&lt;br&gt;function: CvBoostTree::find_split_cat_reg&lt;br&gt;around line:   581&lt;br&gt;&lt;br&gt;Why using&lt;br&gt;for( subset_i = 0; subset_i &amp;lt; mi-1; subset_i++ )&lt;br&gt;but not&lt;br&gt;for( subset_i = 0; subset_i &amp;lt; mi; subset_i++ )&lt;br&gt;
&lt;br&gt;&lt;br&gt;It looks variable &amp;quot;mi&amp;quot; is the number of categories, but why here &amp;quot;mi-1&amp;quot; is used? &lt;br&gt;I changed it to &amp;quot;mi&amp;quot; and my testing program runs ok, but can anybody explain why &amp;quot;mi-1&amp;quot; rather than &amp;quot;mi&amp;quot; is used here?&lt;br&gt;
&lt;br&gt;Cheers&lt;br&gt;JIA&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26671001&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Welcome to Vision Open
&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Another-mlboost.cpp-question...-tp26671001p26671001.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26670179</id>
	<title>Is CvBoostTree::find_split_cat_reg() buggy?</title>
	<published>2009-12-06T15:06:22Z</published>
	<updated>2009-12-06T15:06:22Z</updated>
	<author>
		<name>jiapei100</name>
	</author>
	<content type="html">&lt;br&gt;Hi, all:&lt;br&gt;&lt;br&gt;file mlboost.cpp  around line 570:   sum[i] /= counts[i];&lt;br&gt;&lt;br&gt;when I debug, I met the situation that counts[i] equals to zero . Is this a bug of current OpenCV trunk?&lt;br&gt;&lt;br&gt;I notice that it&amp;#39;s still ok for me to finish running this program, &lt;br&gt;
however, to be strict, it&amp;#39;s better to ensure &amp;quot;divide by 0&amp;quot; will never happen in a strict coding.&lt;br&gt;&lt;br&gt;Cheers&lt;br&gt;JIA&lt;br&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;

&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26670179&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Welcome to Vision Open
&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-CvBoostTree%3A%3Afind_split_cat_reg%28%29-buggy--tp26670179p26670179.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26667974</id>
	<title>CvCascadeBoostTrainData and CvDTreeTrainData documentation...</title>
	<published>2009-12-06T11:16:59Z</published>
	<updated>2009-12-06T11:16:59Z</updated>
	<author>
		<name>jiapei100</name>
	</author>
	<content type="html">&lt;br&gt;Hi, all:&lt;br&gt;&lt;br&gt;A detailed documentation of all classes defined in file &amp;quot;boost.h&amp;quot; is extremely expected.&lt;br&gt;&lt;br&gt;Let me simply ask some further questions:&lt;br&gt;&lt;br&gt;In file &amp;quot;boost.cpp&amp;quot; function &lt;br&gt;void CvCascadeBoostTrainData::setData( const CvFeatureEvaluator* _featureEvaluator,&lt;br&gt;
                                      int _numSamples,&lt;br&gt;                                      int _precalcValBufSize, int _precalcIdxBufSize,&lt;br&gt;                                      const CvDTreeParams&amp;amp; _params )&lt;br&gt;
{&lt;br&gt;..&lt;br&gt;// around line 271&lt;br&gt;&lt;br&gt;    var_type-&amp;gt;data.i[var_count] = cat_var_count;&lt;br&gt;    var_type-&amp;gt;data.i[var_count+1] = cat_var_count+1;&lt;br&gt;    work_var_count = ( cat_var_count ? var_count : numPrecalcIdx ) + 1;&lt;br&gt;
    buf_size = (work_var_count + 1) * sample_count;&lt;br&gt;    buf_count = 2;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;In fact, all the member variables within both class CvCascadeBoostTrainData and CvDTreeTrainData  are used in this function. &lt;br&gt;
All member variables are pretty important but unfortunately, there is no documentation on these variables.&lt;br&gt;Particularly, for class CvDTreeTrainData, there are so many member variables as:&lt;br&gt;&lt;br&gt;&lt;br&gt;    vector&amp;lt;vector&amp;lt;float&amp;gt; &amp;gt; pred_float_buf;&lt;br&gt;
    vector&amp;lt;vector&amp;lt;int&amp;gt; &amp;gt; pred_int_buf;&lt;br&gt;    vector&amp;lt;vector&amp;lt;float&amp;gt; &amp;gt; resp_float_buf;&lt;br&gt;    vector&amp;lt;vector&amp;lt;int&amp;gt; &amp;gt; resp_int_buf;&lt;br&gt;    vector&amp;lt;vector&amp;lt;int&amp;gt; &amp;gt; cv_lables_buf;&lt;br&gt;
    vector&amp;lt;vector&amp;lt;int&amp;gt; &amp;gt; sample_idx_buf;&lt;br&gt;&lt;br&gt;    int sample_count, var_all, var_count, max_c_count;&lt;br&gt;    int ord_var_count, cat_var_count, work_var_count;&lt;br&gt;    bool have_labels, have_priors;&lt;br&gt;    bool is_classifier;&lt;br&gt;
    int tflag;&lt;br&gt;&lt;br&gt;    const CvMat* train_data;&lt;br&gt;    const CvMat* responses;&lt;br&gt;    CvMat* responses_copy; // used in Boosting&lt;br&gt;&lt;br&gt;    int buf_count, buf_size;&lt;br&gt;    bool shared;&lt;br&gt;    int is_buf_16u;&lt;br&gt;    &lt;br&gt;
    CvMat* cat_count;&lt;br&gt;    CvMat* cat_ofs;&lt;br&gt;    CvMat* cat_map;&lt;br&gt;&lt;br&gt;    CvMat* counts;&lt;br&gt;    CvMat* buf;&lt;br&gt;    CvMat* direction;&lt;br&gt;    CvMat* split_buf;&lt;br&gt;&lt;br&gt;    CvMat* var_idx;&lt;br&gt;    CvMat* var_type; // i-th element =&lt;br&gt;
                     //   k&amp;lt;0  - ordered&lt;br&gt;                     //   k&amp;gt;=0 - categorical, see k-th element of cat_* arrays&lt;br&gt;    CvMat* priors;&lt;br&gt;    CvMat* priors_mult;&lt;br&gt;&lt;br&gt;    CvDTreeParams params;&lt;br&gt;&lt;br&gt;    CvMemStorage* tree_storage;&lt;br&gt;
    CvMemStorage* temp_storage;&lt;br&gt;&lt;br&gt;    CvDTreeNode* data_root;&lt;br&gt;&lt;br&gt;    CvSet* node_heap;&lt;br&gt;    CvSet* split_heap;&lt;br&gt;    CvSet* cv_heap;&lt;br&gt;    CvSet* nv_heap;&lt;br&gt;&lt;br&gt;    CvRNG rng;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Can anybody please explain the purposes of all these variables?&lt;br&gt;
&lt;br&gt;Best Regards&lt;br&gt;JIA Pei&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26667974&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Welcome to Vision Open
&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/CvCascadeBoostTrainData-and-CvDTreeTrainData-documentation...-tp26667974p26667974.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26660926</id>
	<title>What is the purpose of get_work_var_count() for class CvDTreeTrainData?</title>
	<published>2009-12-05T16:23:17Z</published>
	<updated>2009-12-05T16:23:17Z</updated>
	<author>
		<name>jiapei100</name>
	</author>
	<content type="html">&lt;br&gt;Hi, Dear all:&lt;br&gt;&lt;br&gt;What is the purpose of the function &lt;br&gt;int get_work_var_count() const {return work_var_count;}&lt;br&gt;in class &lt;br&gt;struct CV_EXPORTS CvDTreeTrainData&lt;br&gt;???&lt;br&gt;&lt;br&gt;We may notice that in file &amp;quot;boost.cpp&amp;quot;, there are the following 2 functions defined around line 376-385&lt;br&gt;
&lt;br&gt;void CvCascadeBoostTrainData::get_sample_indices( CvDTreeNode* n, int* indicesBuf, const int** indices )&lt;br&gt;{&lt;br&gt;    CvDTreeTrainData::get_cat_var_data( n, get_work_var_count(), indicesBuf, indices );&lt;br&gt;}&lt;br&gt;&lt;br&gt;void CvCascadeBoostTrainData::get_cv_labels( CvDTreeNode* n, int* labels_buf, const int** labels )&lt;br&gt;
{&lt;br&gt;    CvDTreeTrainData::get_cat_var_data( n, get_work_var_count()- 1, labels_buf, labels );&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;But, why the first function uses get_work_var_count() while the second function uses get_work_var_count()-1 ????&lt;br&gt;
&lt;br&gt;It looks for me that get_work_var_count()-1 is exactly the number of extracted features, right?&lt;br&gt;But, what does get_work_var_count() represent for? &lt;br&gt;&lt;br&gt;&lt;br&gt;Seriously can&amp;#39;t understand this part of code and a detailed explanation is extremely and urgently expected.&lt;br&gt;
&lt;br&gt;&lt;br&gt;Best Regards&lt;br&gt;JIA Pei&lt;br&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26660926&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Welcome to Vision Open
&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-is-the-purpose-of-get_work_var_count%28%29-for-class-CvDTreeTrainData--tp26660926p26660926.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26659831</id>
	<title>Again -- traincascade question</title>
	<published>2009-12-05T14:06:06Z</published>
	<updated>2009-12-05T14:06:06Z</updated>
	<author>
		<name>jiapei100</name>
	</author>
	<content type="html">&lt;br&gt;Hi, all:&lt;br&gt;&lt;br&gt;I&amp;#39;m still testing traincascade of OpenCV 2.x .&lt;br&gt;&lt;br&gt;update_weights( 0 );&lt;br&gt;of function &lt;br&gt;bool CvCascadeBoost::train( const CvFeatureEvaluator* _featureEvaluator,&lt;br&gt;                           int _numSamples,&lt;br&gt;
                           int _precalcValBufSize, int _precalcIdxBufSize,&lt;br&gt;                           const CvCascadeBoostParams&amp;amp; _params )&lt;br&gt;in file &amp;quot;boost.cpp&amp;quot; leads me to function &amp;quot;update_weights&amp;quot; in the same file.&lt;br&gt;
&lt;br&gt;void CvCascadeBoost::update_weights( CvBoostTree* tree )&lt;br&gt;{&lt;br&gt;    int n = data-&amp;gt;sample_count;&lt;br&gt;    double sumW = 0.;&lt;br&gt;    int step = 0;&lt;br&gt;    float* fdata = 0;&lt;br&gt;    int *sampleIdxBuf;&lt;br&gt;    const int* sampleIdx = 0;&lt;br&gt;
    if ( (params.boost_type == LOGIT) || (params.boost_type == GENTLE) )&lt;br&gt;    {&lt;br&gt;        step = CV_IS_MAT_CONT(data-&amp;gt;responses_copy-&amp;gt;type) ?&lt;br&gt;            1 : data-&amp;gt;responses_copy-&amp;gt;step / CV_ELEM_SIZE(data-&amp;gt;responses_copy-&amp;gt;type);&lt;br&gt;
        fdata = data-&amp;gt;responses_copy-&amp;gt;data.fl;&lt;br&gt;        sampleIdxBuf = (int*)cvStackAlloc(data-&amp;gt;sample_count*sizeof(sampleIdxBuf[0]));&lt;br&gt;        data-&amp;gt;get_sample_indices( data-&amp;gt;data_root, sampleIdxBuf, &amp;amp;sampleIdx );    &lt;br&gt;
    }&lt;br&gt;....&lt;br&gt;} &lt;br&gt;&lt;br&gt;&lt;br&gt;I tried to print out the following several variables&amp;#39; values, but I couldn&amp;#39;t understand what&amp;#39;s happening inside ( I revised the above code a bit to the following)&lt;br&gt;&lt;br&gt;    if ( (params.boost_type == LOGIT) || (params.boost_type == GENTLE) )&lt;br&gt;

    {&lt;br&gt;        cout &amp;lt;&amp;lt; data-&amp;gt;response_copy-&amp;gt;type &amp;lt;&amp;lt; endl;&lt;br&gt;        cout &amp;lt;&amp;lt; data-&amp;gt;response_copy-&amp;gt;step &amp;lt;&amp;lt; endl;&lt;br&gt;        cout &amp;lt;&amp;lt; CV_ELEM_SIZE(data-&amp;gt;responses_copy-&amp;gt;type) &amp;lt;&amp;lt; endl;&lt;br&gt;
        cout &amp;lt;&amp;lt; CV_IS_MAT_CONT(data-&amp;gt;responses_copy-&amp;gt;type) &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br&gt;
        step = CV_IS_MAT_CONT(data-&amp;gt;responses_copy-&amp;gt;type) ?&lt;br&gt;
            1 : data-&amp;gt;responses_copy-&amp;gt;step / CV_ELEM_SIZE(data-&amp;gt;responses_copy-&amp;gt;type);&lt;br&gt;
        fdata = data-&amp;gt;responses_copy-&amp;gt;data.fl;&lt;br&gt;
        sampleIdxBuf = (int*)cvStackAlloc(data-&amp;gt;sample_count*sizeof(sampleIdxBuf[0]));&lt;br&gt;
        data-&amp;gt;get_sample_indices( data-&amp;gt;data_root, sampleIdxBuf, &amp;amp;sampleIdx );    &lt;br&gt;
    }&lt;br&gt;&lt;br&gt;and I obtained the values as:&lt;br&gt;&lt;br&gt;1111638021&lt;br&gt;4&lt;br&gt;4&lt;br&gt;16384&lt;br&gt;&lt;br&gt;&lt;br&gt;This is telling that data-&amp;gt;response_copy-&amp;gt;type is 1111638021 . What type is it for this matrix? &lt;br&gt;What is the function CV_IS_MAT_CONT(data-&amp;gt;responses_copy-&amp;gt;type)  for??&lt;br&gt;
Why for this function, 16384 is printed out?&lt;br&gt;&lt;br&gt;Can anybody please give me a detailed explanation?&lt;br&gt;&lt;br&gt;Best Regards&lt;br&gt;JIA&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;

&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26659831&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Welcome to Vision Open
&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Again----traincascade-question-tp26659831p26659831.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26654325</id>
	<title>Re: Problems with the new svn service...</title>
	<published>2009-12-05T02:06:53Z</published>
	<updated>2009-12-05T02:06:53Z</updated>
	<author>
		<name>hyblade</name>
	</author>
	<content type="html">Hi Vadim,
&lt;br&gt;&lt;br&gt;1. logging in at &lt;a href=&quot;https://code.ros.org/gf/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/gf/&lt;/a&gt;&amp;nbsp;works just fine. But when I browse to &amp;quot;Trac&amp;quot; to commit or look for bugs, my username and password won't work. I really don't know what's going wrong...
&lt;br&gt;&lt;br&gt;2. I don't think that the downloading via a svn client will work. Our corporate fireware is kind of thorough when it comes to file transfers. Everything is filtered and checked - if there is anything that looks like an executable it won't pass the check and the hole transfer is denied. So we have to contact our IT to download such things for us, but as it is the case they won't use a svn client. The best way for us the get to the actual svn snapshot was therefore send a link to the tar ball to our IT which downloaded the files for us.
&lt;br&gt;&lt;br&gt;Is there a reason why you have deactivated the tar ball option? As I said it would really be great if you re-activate it since there surely are others that may have the same problem.
&lt;br&gt;&lt;br&gt;Have a nice weekend.
&lt;br&gt;&lt;br&gt;Greetings from Germany!
&lt;br&gt;Matthias &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-the-new-svn-service...-tp26635800p26654325.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26649010</id>
	<title>Re: Python interface and Ipython</title>
	<published>2009-12-04T12:48:16Z</published>
	<updated>2009-12-04T12:48:16Z</updated>
	<author>
		<name>Vadim Pisarevsky</name>
	</author>
	<content type="html">Jorge,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thank you! I did not realize that you use the new Python interface.&lt;/div&gt;&lt;div&gt;I will apply your patch. Thank you for exploring and solving this!&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Vadim&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Dec 4, 2009 at 11:43 PM, Jorge Scandaliaris &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649010&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jorgesmbox-ml@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;Vadim Pisarevsky &amp;lt;vadim.pisarevsky@...&amp;gt; writes:&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&amp;lt;...&amp;gt;&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&amp;gt; In Linux, where highgui is built on GTK+ 2.x, there is a way to create a&lt;br&gt;
separate thread that will manage window events:&lt;br&gt;
&amp;gt; cvStartWindowThread();&lt;br&gt;
&amp;gt; I think, it should be available from Python. Try to call it.&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;StartWindowThread() is in the source tree but not in the new python interface.&lt;br&gt;
Fortunately, after a bit of messing around with it I was able to add it, with 1&lt;br&gt;
line of code! I didn&amp;#39;t know exactly what I was doing, but it seems to work now.&lt;br&gt;
Maybe there is a good reason to leave this function out of the python interface,&lt;br&gt;
but as I said, it seems to work here.&lt;br&gt;
The change was to add a line with the name of the function in&lt;br&gt;
interfaces/python/api and re-build.&lt;br&gt;
Thanks very much vadim for the pointer!&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Jorge&lt;br&gt;
&lt;br&gt;
Index: opencv/interfaces/python/api&lt;br&gt;
===================================================================&lt;br&gt;
--- opencv/interfaces/python/api        (revisión: 2281)&lt;br&gt;
+++ opencv/interfaces/python/api        (copia de trabajo)&lt;br&gt;
@@ -1532,7 +1532,7 @@&lt;br&gt;
 DecodeImageM CvMat*&lt;br&gt;
   CvMat buf&lt;br&gt;
   int iscolor CV_LOAD_IMAGE_COLOR&lt;br&gt;
-&lt;br&gt;
+StartWindowThread&lt;br&gt;
 # cvaux stuff&lt;br&gt;
 HOGDetectMultiScale CvSeq*&lt;br&gt;
   CvArr image&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Join us December 9, 2009 for the Red Hat Virtual Experience,&lt;br&gt;
a free event focused on virtualization and cloud computing.&lt;br&gt;
Attend in-depth sessions from your desk. Your couch. Anywhere.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Opencvlibrary-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649010&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26649010&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Python-interface-and-Ipython-tp26645993p26649010.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26648956</id>
	<title>Re: Python interface and Ipython</title>
	<published>2009-12-04T12:43:07Z</published>
	<updated>2009-12-04T12:43:07Z</updated>
	<author>
		<name>Jorge Scandaliaris-3</name>
	</author>
	<content type="html">Vadim Pisarevsky &amp;lt;vadim.pisarevsky@...&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;lt;...&amp;gt;
&lt;br&gt;&amp;gt; In Linux, where highgui is built on GTK+ 2.x, there is a way to create a
&lt;br&gt;separate thread that will manage window events:
&lt;br&gt;&amp;gt; cvStartWindowThread();
&lt;br&gt;&amp;gt; I think, it should be available from Python. Try to call it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;StartWindowThread() is in the source tree but not in the new python interface.
&lt;br&gt;Fortunately, after a bit of messing around with it I was able to add it, with 1
&lt;br&gt;line of code! I didn't know exactly what I was doing, but it seems to work now.
&lt;br&gt;Maybe there is a good reason to leave this function out of the python interface,
&lt;br&gt;but as I said, it seems to work here.
&lt;br&gt;The change was to add a line with the name of the function in
&lt;br&gt;interfaces/python/api and re-build. 
&lt;br&gt;Thanks very much vadim for the pointer!
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Jorge
&lt;br&gt;&lt;br&gt;Index: opencv/interfaces/python/api
&lt;br&gt;===================================================================
&lt;br&gt;--- opencv/interfaces/python/api &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(revisión: 2281)
&lt;br&gt;+++ opencv/interfaces/python/api &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(copia de trabajo)
&lt;br&gt;@@ -1532,7 +1532,7 @@
&lt;br&gt;&amp;nbsp;DecodeImageM CvMat*
&lt;br&gt;&amp;nbsp; &amp;nbsp;CvMat buf
&lt;br&gt;&amp;nbsp; &amp;nbsp;int iscolor CV_LOAD_IMAGE_COLOR
&lt;br&gt;-
&lt;br&gt;+StartWindowThread
&lt;br&gt;&amp;nbsp;# cvaux stuff
&lt;br&gt;&amp;nbsp;HOGDetectMultiScale CvSeq*
&lt;br&gt;&amp;nbsp; &amp;nbsp;CvArr image
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648956&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Python-interface-and-Ipython-tp26645993p26648956.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26648526</id>
	<title>How does CvCascadeClassifier::train work?</title>
	<published>2009-12-04T12:10:01Z</published>
	<updated>2009-12-04T12:10:01Z</updated>
	<author>
		<name>jiapei100</name>
	</author>
	<content type="html">&lt;br&gt;Hi, all:&lt;br&gt;&lt;br&gt;In file ...\opencv\apps\traincascade\cascadeclassifier.cpp&lt;br&gt;how does CvCascadeClassifier::train work?&lt;br&gt;Particularly, what is the purpose of the code between&lt;br&gt;//////////////////////////////////////////////////////////////////////////////////////////// ?&lt;br&gt;
&lt;br&gt;In my testing, I selected &amp;quot;numStages == 14&amp;quot;, but &lt;br&gt;the for loop &amp;quot;for( int i = startNumStages; i &amp;lt; numStages; i++ )&amp;quot; jumped out&lt;br&gt;when &amp;quot;i==6&amp;quot;, at line&lt;br&gt;&amp;quot; if ( !fs.isOpened() )                                                                          // where the loops jumped out.&lt;br&gt;

            return false; &amp;quot;&lt;br&gt;&lt;br&gt;It looks like the entire training process doesn&amp;#39;t need 14 stages that I specified, but converged just within 6 stages,&lt;br&gt;and produced 6 .xml files &amp;quot;stage0.xml&amp;quot;, &amp;quot;stage1.xml&amp;quot;, &amp;quot;stage2.xml&amp;quot;, &amp;quot;stage3.xml&amp;quot;, &amp;quot;stage4.xml&amp;quot;, &amp;quot;stage5.xml&amp;quot;.&lt;br&gt;
&lt;br&gt;A detailed manual describing how traincascade is working  is extremely urgently expected.&lt;br&gt;&lt;br&gt;bool CvCascadeClassifier::train( const String _cascadeDirName,&lt;br&gt;                                const String _posFilename,&lt;br&gt;
                                const String _negFilename, &lt;br&gt;                                int _numPos, int _numNeg, &lt;br&gt;                                int _precalcValBufSize, int _precalcIdxBufSize,&lt;br&gt;                                int _numStages,&lt;br&gt;
                                const CvCascadeParams&amp;amp; _cascadeParams,&lt;br&gt;                                const CvFeatureParams&amp;amp; _featureParams,&lt;br&gt;                                const CvCascadeBoostParams&amp;amp; _stageParams,&lt;br&gt;
                                bool baseFormatSave )&lt;br&gt;{&lt;br&gt;...&lt;br&gt;////////////////////////////////////////////////////////////////////////////////////////////&lt;br&gt;    for( int i = startNumStages; i &amp;lt; numStages; i++ )&lt;br&gt;
    {&lt;br&gt;        cout &amp;lt;&amp;lt; endl &amp;lt;&amp;lt; &amp;quot;===== TRAINING &amp;quot; &amp;lt;&amp;lt; i &amp;lt;&amp;lt; &amp;quot;-stage =====&amp;quot; &amp;lt;&amp;lt; endl;&lt;br&gt;        cout &amp;lt;&amp;lt; &amp;quot;&amp;lt;BEGIN&amp;quot; &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br&gt;        if ( !updateTrainingSet( tempLeafFARate ) ) &lt;br&gt;
        {&lt;br&gt;            cout &amp;lt;&amp;lt; &amp;quot;Train dataset for temp stage can not be filled.&amp;quot;&lt;br&gt;                &amp;quot;Branch training terminated.&amp;quot; &amp;lt;&amp;lt; endl;&lt;br&gt;            break;&lt;br&gt;        }&lt;br&gt;        if( tempLeafFARate &amp;lt;= requiredLeafFARate )&lt;br&gt;
        {&lt;br&gt;            cout &amp;lt;&amp;lt; &amp;quot;Required leaf false alarm rate achieved. &amp;quot;&lt;br&gt;                 &amp;quot;Branch training terminated.&amp;quot; &amp;lt;&amp;lt; endl;&lt;br&gt;            break;&lt;br&gt;        }&lt;br&gt;&lt;br&gt;        CvCascadeBoost* tempStage = new CvCascadeBoost;&lt;br&gt;
        tempStage-&amp;gt;train( (CvFeatureEvaluator*)featureEvaluator,&lt;br&gt;                           curNumSamples, _precalcValBufSize, _precalcIdxBufSize,&lt;br&gt;                          *((CvCascadeBoostParams*)stageParams) );&lt;br&gt;
        stageClassifiers.push_back( tempStage );&lt;br&gt;&lt;br&gt;        cout &amp;lt;&amp;lt; &amp;quot;END&amp;gt;&amp;quot; &amp;lt;&amp;lt; endl;&lt;br&gt;        &lt;br&gt;        // save params&lt;br&gt;        String filename;&lt;br&gt;        if ( i == 0) &lt;br&gt;        {&lt;br&gt;            filename = dirName + CC_PARAMS_FILENAME;&lt;br&gt;
            FileStorage fs( filename, FileStorage::WRITE);&lt;br&gt;            if ( !fs.isOpened() )&lt;br&gt;                return false;&lt;br&gt;            fs &amp;lt;&amp;lt; FileStorage::getDefaultObjectName(filename) &amp;lt;&amp;lt; &amp;quot;{&amp;quot;;&lt;br&gt;
            writeParams( fs );&lt;br&gt;            fs &amp;lt;&amp;lt; &amp;quot;}&amp;quot;;&lt;br&gt;        }&lt;br&gt;        // save temp stage&lt;br&gt;        char buf[10];&lt;br&gt;        sprintf(buf, &amp;quot;%s%d&amp;quot;, &amp;quot;stage&amp;quot;, i );&lt;br&gt;        filename = dirName + buf + &amp;quot;.xml&amp;quot;;&lt;br&gt;
        FileStorage fs( filename, FileStorage::WRITE );&lt;br&gt;        if ( !fs.isOpened() )                                                                          // where the loops jumped out.&lt;br&gt;            return false;&lt;br&gt;
        fs &amp;lt;&amp;lt; FileStorage::getDefaultObjectName(filename) &amp;lt;&amp;lt; &amp;quot;{&amp;quot;;&lt;br&gt;        tempStage-&amp;gt;write( fs, Mat() );&lt;br&gt;        fs &amp;lt;&amp;lt; &amp;quot;}&amp;quot;;&lt;br&gt;    }&lt;br&gt;////////////////////////////////////////////////////////////////////////////////////////////&lt;br&gt;
...&lt;br&gt;}&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;Best Regards&lt;br&gt;JIA&lt;br&gt;&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648526&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Welcome to Vision Open
&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-does-CvCascadeClassifier%3A%3Atrain-work--tp26648526p26648526.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26647042</id>
	<title>Re: Python interface and Ipython</title>
	<published>2009-12-04T10:31:08Z</published>
	<updated>2009-12-04T10:31:08Z</updated>
	<author>
		<name>Jorge Scandaliaris-3</name>
	</author>
	<content type="html">Vadim Pisarevsky &amp;lt;vadim.pisarevsky@...&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; what's the OS?
&lt;br&gt;&amp;gt; In Linux, where highgui is built on GTK+ 2.x, there is a way to create a 
&lt;br&gt;separate thread that will manage window events:
&lt;br&gt;&amp;gt; cvStartWindowThread();
&lt;br&gt;&amp;gt; I think, it should be available from Python. Try to call it.
&lt;br&gt;&lt;br&gt;Yes, it's Linux. I can't seem to find the function you mention, though. Not in
&lt;br&gt;the python interface nor in any of the docs. Maybe it got dropped when moving
&lt;br&gt;from 1.1 to 2.0? This is OpenCV-2.0, not svn.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Actually, highgui window system has never been properly tested in interactive
&lt;br&gt;environments. That is, if it works well in a standard Python shell, that's
&lt;br&gt;already great news :)
&lt;br&gt;&lt;br&gt;It didn't seem good news to me at the time, but considering what you say, I
&lt;br&gt;should probably be happy now.
&lt;br&gt;&lt;br&gt;&amp;gt; We normally just run small programs in C/C++ or Python and see what's
&lt;br&gt;happening in debugger, or add printf statements.
&lt;br&gt;&lt;br&gt;Well, me too, all the time, but images are a bit of pain to debug that with
&lt;br&gt;printfs ;) Jokes aside, I am really glad I have libraries like opencv which make
&lt;br&gt;my work a lot easier, even if sometimes I find some bumps on the road.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Jorge
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647042&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Python-interface-and-Ipython-tp26645993p26647042.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26646345</id>
	<title>Re: Python interface and Ipython</title>
	<published>2009-12-04T09:47:07Z</published>
	<updated>2009-12-04T09:47:07Z</updated>
	<author>
		<name>Vadim Pisarevsky</name>
	</author>
	<content type="html">Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;what&amp;#39;s the OS?&lt;/div&gt;&lt;div&gt;In Linux, where highgui is built on GTK+ 2.x, there is a way to create a separate thread that will manage window events:&lt;/div&gt;&lt;div&gt;cvStartWindowThread();&lt;/div&gt;&lt;div&gt;I think, it should be available from Python. Try to call it.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Actually, highgui window system has never been properly tested in interactive environments. That is, if it works well in a standard Python shell, that&amp;#39;s already great news :)&lt;/div&gt;&lt;div&gt;We normally just run small programs in C/C++ or Python and see what&amp;#39;s happening in debugger, or add printf statements.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Vadim&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Dec 4, 2009 at 7:57 PM, Jorge Scandaliaris &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26646345&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jorgesmbox-ml@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Hi,&lt;br&gt;
I just started using opencv-2.0 from the python interface. I use Ipython for all&lt;br&gt;
my python work, so that&amp;#39;s what I used with opencv. There is strange issue,&lt;br&gt;
however, when using Ipython and highgui features like windows. They appear ok&lt;br&gt;
but they won&amp;#39;t close later on. I manage to open and close windows as long as I&lt;br&gt;
don&amp;#39;t call cv.WaitKey(). In the standard python shell, all seems fine, although&lt;br&gt;
I just made a couple of tests.&lt;br&gt;
Does anyone using the python interface experienced this? Any ideas of what&lt;br&gt;
causes this and how to fix it/avoid it? If I have to, I&amp;#39;ll switch to python&lt;br&gt;
shell, but it makes everything harder.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Jorge&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Join us December 9, 2009 for the Red Hat Virtual Experience,&lt;br&gt;
a free event focused on virtualization and cloud computing.&lt;br&gt;
Attend in-depth sessions from your desk. Your couch. Anywhere.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Opencvlibrary-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26646345&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26646345&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Python-interface-and-Ipython-tp26645993p26646345.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26645993</id>
	<title>Python interface and Ipython</title>
	<published>2009-12-04T08:57:41Z</published>
	<updated>2009-12-04T08:57:41Z</updated>
	<author>
		<name>Jorge Scandaliaris-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I just started using opencv-2.0 from the python interface. I use Ipython for all
&lt;br&gt;my python work, so that's what I used with opencv. There is strange issue,
&lt;br&gt;however, when using Ipython and highgui features like windows. They appear ok
&lt;br&gt;but they won't close later on. I manage to open and close windows as long as I
&lt;br&gt;don't call cv.WaitKey(). In the standard python shell, all seems fine, although
&lt;br&gt;I just made a couple of tests.
&lt;br&gt;Does anyone using the python interface experienced this? Any ideas of what
&lt;br&gt;causes this and how to fix it/avoid it? If I have to, I'll switch to python
&lt;br&gt;shell, but it makes everything harder.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Jorge
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645993&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Python-interface-and-Ipython-tp26645993p26645993.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26643076</id>
	<title>Re: Problems with the new svn service...</title>
	<published>2009-12-04T06:10:23Z</published>
	<updated>2009-12-04T06:10:23Z</updated>
	<author>
		<name>Vadim Pisarevsky</name>
	</author>
	<content type="html">Hi!&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;1. Did you try to login directly at &lt;a href=&quot;https://code.ros.org/gf/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/gf/&lt;/a&gt; ?&lt;/div&gt;&lt;div&gt;   May be this way it will work.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;2. For the code you do not have to use ViewVC,&lt;/div&gt;
&lt;div&gt;    you may point your svn client directly to &lt;a href=&quot;https://code.ros.org/svn/opencv/trunk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/svn/opencv/trunk&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;    I&amp;#39;m not behind a corporate firewall (though there is local firewall on my machine) and checkouts/checkins proceed fine.&lt;/div&gt;
&lt;div&gt;    So it should be fine on your machine too, including the anonymous access. In fact, I&amp;#39;m only prompted for a password when I commit things.&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;    On Monday I can ask my friend to try to load the latest opencv from within a corporate network.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Vadim&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Dec 4, 2009 at 10:22 AM, hyblade &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643076&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;schmieder.matthias@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;br&gt;
I just tried to get a acquainted with the new service but failed enormously.&lt;br&gt;
I&lt;br&gt;
tried to summit a bug by following the link posted in the wiki&lt;br&gt;
(&lt;a href=&quot;https://code.ros.org/trac/opencv&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/trac/opencv&lt;/a&gt;). After that I followed the text on the&lt;br&gt;
homepage and registered at &lt;a href=&quot;http://code.ros.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://code.ros.org&lt;/a&gt;, which by the way seems like&lt;br&gt;
a&lt;br&gt;
really nice page for all of our needs! After completing the registration&lt;br&gt;
process&lt;br&gt;
by clicking the link that comes with the registration email I tried to log&lt;br&gt;
me in&lt;br&gt;
at &lt;a href=&quot;https://code.ros.org/trac/opencv&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/trac/opencv&lt;/a&gt;. It failed every time I tried – my&lt;br&gt;
username&lt;br&gt;
and password only works on &lt;a href=&quot;http://code.ros.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://code.ros.org&lt;/a&gt;. This should probably be the&lt;br&gt;
problem way I can&amp;#39;t commit a bug. The text on the homepage says:&lt;br&gt;
&lt;br&gt;
&amp;quot;Click on &amp;quot;new ticket&amp;quot; to file a new bug report or feature request, or&lt;br&gt;
submit a&lt;br&gt;
patch.&amp;quot;&lt;br&gt;
&lt;br&gt;
But this &amp;quot;new ticket&amp;quot; isn&amp;#39;t shown for me ;(&lt;br&gt;
&lt;br&gt;
Could you please tell me how to log in there so I can commit my thoughts?!&lt;br&gt;
&lt;br&gt;
There&amp;#39;s also something else. With the old svn service there had always been&lt;br&gt;
the&lt;br&gt;
possibility to download the latest svn snapshot as a tar ball. Since you&amp;#39;re&lt;br&gt;
using ViewVC this should still be possible. I would be great if you would&lt;br&gt;
(re)enable this option because some of us out there can&amp;#39;t get beyond our&lt;br&gt;
firewalls with svn clients.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
THX!&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/Problems-with-the-new-svn-service...-tp26635800p26635800.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Problems-with-the-new-svn-service...-tp26635800p26635800.html&lt;/a&gt;&lt;br&gt;

Sent from the opencvlibrary-devel mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Join us December 9, 2009 for the Red Hat Virtual Experience,&lt;br&gt;
a free event focused on virtualization and cloud computing.&lt;br&gt;
Attend in-depth sessions from your desk. Your couch. Anywhere.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Opencvlibrary-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643076&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643076&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-the-new-svn-service...-tp26635800p26643076.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26641900</id>
	<title>How does &quot;traincascade&quot; work?</title>
	<published>2009-12-04T04:30:06Z</published>
	<updated>2009-12-04T04:30:06Z</updated>
	<author>
		<name>jiapei100</name>
	</author>
	<content type="html">&lt;br&gt;Hi, sorry for my disturbance guys.&lt;br&gt;&lt;br&gt;I&amp;#39;m trying to train my own cascade files for face detection by using OpenCV application &amp;quot;traincascade&amp;quot;.&lt;br&gt;It&amp;#39;s seriously painful that I can&amp;#39;t figure out how &amp;quot;traincascade&amp;quot;  works.&lt;br&gt;
&lt;br&gt;&lt;br&gt;In the function&lt;br&gt;&lt;br&gt;bool CvCascadeClassifier::train( const String _cascadeDirName,&lt;br&gt;                                const String _posFilename,&lt;br&gt;                                const String _negFilename, &lt;br&gt;
                                int _numPos, int _numNeg, &lt;br&gt;                                int _precalcValBufSize, int _precalcIdxBufSize,&lt;br&gt;                                int _numStages,&lt;br&gt;                                const CvCascadeParams&amp;amp; _cascadeParams,&lt;br&gt;
                                const CvFeatureParams&amp;amp; _featureParams,&lt;br&gt;                                const CvCascadeBoostParams&amp;amp; _stageParams,&lt;br&gt;                                bool baseFormatSave )&lt;br&gt;&lt;br&gt;&lt;br&gt;
if ( !load( dirName ) )  // around line 148 of file..\opencv\apps\traincascade\cascadeclassifier.cpp&lt;br&gt;&lt;br&gt;Seriously can&amp;#39;t understand thoroughly what has been loaded by the function load() ???&lt;br&gt;&lt;br&gt;&lt;br&gt;In file ..\opencv\apps\traincascade\cascadeclassifier.cpp&lt;br&gt;
&lt;br&gt;FileNode node = fs.getFirstTopLevelNode();&lt;br&gt;seems to be very important for the following function&lt;br&gt;bool CvCascadeClassifier::load( const String cascadeDirName )&lt;br&gt;{&lt;br&gt;    FileStorage fs( cascadeDirName + CC_PARAMS_FILENAME, FileStorage::READ );&lt;br&gt;
    if ( !fs.isOpened() )&lt;br&gt;        return false;&lt;br&gt;    FileNode node = fs.getFirstTopLevelNode();&lt;br&gt;&lt;br&gt;...&lt;br&gt;} &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;We can see that&lt;br&gt;&lt;br&gt;bool CvCascadeBoost::read( const FileNode &amp;amp;node,&lt;br&gt;                           const CvFeatureEvaluator* _featureEvaluator,&lt;br&gt;
                           const CvCascadeBoostParams&amp;amp; _params )&lt;br&gt;{&lt;br&gt;...&lt;br&gt;node[CC_STAGE_THRESHOLD] &amp;gt;&amp;gt; threshold;&lt;br&gt;...&lt;br&gt;}&lt;br&gt;threshold was assigned by node[CC_STAGE_THRESHOLD] .&lt;br&gt;&lt;br&gt;Therefore, &amp;quot;node&amp;quot; must be first assigned in function&lt;br&gt;
bool CvCascadeClassifier::load( const String cascadeDirName )&lt;br&gt;by    FileNode node = fs.getFirstTopLevelNode();&lt;br&gt;&lt;br&gt;&lt;br&gt;I&amp;#39;m just wondering where and when &amp;quot;node&amp;quot; has been assigned the value &amp;quot;node[CC_STAGE_THRESHOLD]&amp;quot;, for later threshold assignment?&lt;br&gt;
&lt;br&gt;Since node[CC_STAGE_THRESHOLD] has been assigned some value, I&amp;#39;m wondering does this assignment contain some training inside?&lt;br&gt;Because, obviously, we can&amp;#39;t randomly assign a threshold. Threshold must be a well-designed/well-trained one.&lt;br&gt;
&lt;br&gt;&lt;br&gt;So, can anybody please help on how, when and where node[CC_STAGE_THRESHOLD]  is assigned?&lt;br&gt;&lt;br&gt;Best Regards&lt;br&gt;JIA&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;

&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26641900&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Welcome to Vision Open
&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-does-%22traincascade%22-work--tp26641900p26641900.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26635800</id>
	<title>Problems with the new svn service...</title>
	<published>2009-12-03T23:22:29Z</published>
	<updated>2009-12-03T23:22:29Z</updated>
	<author>
		<name>hyblade</name>
	</author>
	<content type="html">I just tried to get a acquainted with the new service but failed enormously. I
&lt;br&gt;tried to summit a bug by following the link posted in the wiki
&lt;br&gt;(&lt;a href=&quot;https://code.ros.org/trac/opencv&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/trac/opencv&lt;/a&gt;). After that I followed the text on the
&lt;br&gt;homepage and registered at &lt;a href=&quot;http://code.ros.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.ros.org&lt;/a&gt;, which by the way seems like a
&lt;br&gt;really nice page for all of our needs! After completing the registration process
&lt;br&gt;by clicking the link that comes with the registration email I tried to log me in
&lt;br&gt;at &lt;a href=&quot;https://code.ros.org/trac/opencv&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/trac/opencv&lt;/a&gt;. It failed every time I tried – my username
&lt;br&gt;and password only works on &lt;a href=&quot;http://code.ros.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.ros.org&lt;/a&gt;. This should probably be the
&lt;br&gt;problem way I can't commit a bug. The text on the homepage says:
&lt;br&gt;&lt;br&gt;&amp;quot;Click on &amp;quot;new ticket&amp;quot; to file a new bug report or feature request, or submit a
&lt;br&gt;patch.&amp;quot;
&lt;br&gt;&lt;br&gt;But this &amp;quot;new ticket&amp;quot; isn't shown for me ;(
&lt;br&gt;&lt;br&gt;Could you please tell me how to log in there so I can commit my thoughts?!
&lt;br&gt;&lt;br&gt;There's also something else. With the old svn service there had always been the
&lt;br&gt;possibility to download the latest svn snapshot as a tar ball. Since you're
&lt;br&gt;using ViewVC this should still be possible. I would be great if you would
&lt;br&gt;(re)enable this option because some of us out there can't get beyond our
&lt;br&gt;firewalls with svn clients.
&lt;br&gt;&lt;br&gt;&lt;br&gt;THX!</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-the-new-svn-service...-tp26635800p26635800.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26627323</id>
	<title>Re: Win64 build errors in SVN and proposed resolution</title>
	<published>2009-12-03T06:58:53Z</published>
	<updated>2009-12-03T06:58:53Z</updated>
	<author>
		<name>Jan Wassenberg</name>
	</author>
	<content type="html">&amp;gt; Your patches are applied in SVN 2353
&lt;br&gt;Thank you! I can confirm that r2353 builds without any workarounds on
&lt;br&gt;the above-mentioned configuration.
&lt;br&gt;&lt;br&gt;Best Regards
&lt;br&gt;Jan Wassenberg
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26627323&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Win64-build-errors-in-SVN-and-proposed-resolution-tp26611165p26627323.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26626950</id>
	<title>Re: Win64 build errors in SVN and proposed resolution</title>
	<published>2009-12-03T06:36:49Z</published>
	<updated>2009-12-03T06:36:49Z</updated>
	<author>
		<name>Vadim Pisarevsky</name>
	</author>
	<content type="html">Thanks!&lt;div&gt;Your patches are applied in SVN 2353&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Vadim&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Dec 2, 2009 at 6:51 PM, Jan Wassenberg &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626950&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jan.wassenberg@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Dear developers,&lt;br&gt;
&lt;br&gt;
I&amp;#39;d like to report x64 build issues and a possible resolution. Steps taken:&lt;br&gt;
. checkout from svn on 2009-12-02T14:37:00&lt;br&gt;
. configure with default options;&lt;br&gt;
. generate VC2008 project for Win64, native compiler;&lt;br&gt;
. build entire solution in debug mode.&lt;br&gt;
&lt;br&gt;
Building src\cxcore\cxsystem.cpp fails (MSVC doesn&amp;#39;t allow inline asm&lt;br&gt;
in x64 builds, but there&amp;#39;s _asm _emit for RDTSC because WIN32 is&lt;br&gt;
defined).&lt;br&gt;
Proposed resolution is:&lt;br&gt;
-#elif defined _MSC_VER &amp;amp;&amp;amp; defined WIN32&lt;br&gt;
+#elif defined _MSC_VER &amp;amp;&amp;amp; defined WIN32 &amp;amp;&amp;amp; !defined _WIN64&lt;br&gt;
(MSDN says _WIN32 and _WIN64 are predefined macros, and _WIN32 is also&lt;br&gt;
automatically defined in 64-bit builds, which causes your WIN32 macro&lt;br&gt;
to be defined by _cxcore.h) It may be preferable to change the&lt;br&gt;
definition of WIN32 if you are intending that it really mean&lt;br&gt;
32-bit-only Windows (unlike the predefined macro).&lt;br&gt;
&lt;br&gt;
Another issue is due to IPP, I am using the x64 version packaged with&lt;br&gt;
ICC 11.0.075 Professional. The linker is complaining that&lt;br&gt;
&amp;quot;ippcorelem64t.lib&amp;quot; isn&amp;#39;t found. The second directory in the&lt;br&gt;
CMake-generated project linker path correctly points to the IPP lib&lt;br&gt;
directory, but that specified file doesn&amp;#39;t exist. Instead, the only&lt;br&gt;
ippcore*.lib are ippcoreem64tl.lib and ippcoreem64t_t.lib . Looking at&lt;br&gt;
the other referenced libraries, it does not appear to be the intent to&lt;br&gt;
use *t_t (static linking without dispatching), so I&amp;#39;ve replaced all&lt;br&gt;
instances of ippcorelem64t.lib in every .vcproj with ippcoreem64tl.lib&lt;br&gt;
.&lt;br&gt;
&lt;br&gt;
After this, all projects except ffopencv (which is apparently missing&lt;br&gt;
FFPMEG, I don&amp;#39;t have it installed) build.&lt;br&gt;
&lt;br&gt;
Hope this helps.&lt;br&gt;
Cheers&lt;br&gt;
Jan Wassenberg&lt;br&gt;
&lt;br&gt;
———————————————————————————————————————————————————————————&lt;br&gt;
Dipl.-Inform. Jan Wassenberg&lt;br&gt;
Fraunhofer FOM&lt;br&gt;
Forschungsinstitut für Optronik und Mustererkennung Gutleuthausstr. 1,&lt;br&gt;
76275 Ettlingen, Germany Telefon +49 7243 992-319 Fax +49 7243 992-299&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626950&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wassenberg@...&lt;/a&gt; &lt;a href=&quot;http://www.fom.fgan.de&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.fom.fgan.de&lt;/a&gt;&lt;br&gt;
———————————————————————————————————————————————————————————&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Join us December 9, 2009 for the Red Hat Virtual Experience,&lt;br&gt;
a free event focused on virtualization and cloud computing.&lt;br&gt;
Attend in-depth sessions from your desk. Your couch. Anywhere.&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Opencvlibrary-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626950&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26626950&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Win64-build-errors-in-SVN-and-proposed-resolution-tp26611165p26626950.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26623289</id>
	<title>Re: About OpenCV 2.x Decision Tree</title>
	<published>2009-12-03T01:42:01Z</published>
	<updated>2009-12-03T01:42:01Z</updated>
	<author>
		<name>Vadim Pisarevsky</name>
	</author>
	<content type="html">Hello,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;We are working on improving documentation of the newly added functionality.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;CvCascadeBoostTree does not support trimming, and it does not need it probably. In boosting (as well as in random trees and extremely random trees) the idea is to have many-many decision trees, where each tree is quite small, usually 1 or 2 levels (not counting leaves). Such trees do not need to be pruned, so this functionality is not implemented in OpenCV.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Vadim&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Dec 2, 2009 at 5:35 AM, JIA Pei &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26623289&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jp4work@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;br&gt;Hi, all:&lt;br&gt;&lt;br&gt;It looks like the current OpenCV 2.x downloaded from &lt;a href=&quot;https://code.ros.org/svn/opencv/trunk/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/svn/opencv/trunk/&lt;/a&gt;&lt;br&gt;doesn&amp;#39;t actually afford an up-to-date documentation.&lt;br&gt;

&lt;br&gt;For example, I couldn&amp;#39;t find any documentation about &lt;br&gt;CvCascadeBoostTree  etc.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Is there any documentation about how OpenCV&amp;#39;s decision tree works? How does it determine to carry out trimming?&lt;br&gt;

&lt;br&gt;&lt;br&gt;Best Regards&lt;br&gt;JIA&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26623289&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/About-OpenCV-2.x-Decision-Tree-tp26602632p26623289.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26611165</id>
	<title>Win64 build errors in SVN and proposed resolution</title>
	<published>2009-12-02T07:51:02Z</published>
	<updated>2009-12-02T07:51:02Z</updated>
	<author>
		<name>Jan Wassenberg</name>
	</author>
	<content type="html">Dear developers,
&lt;br&gt;&lt;br&gt;I'd like to report x64 build issues and a possible resolution. Steps taken:
&lt;br&gt;. checkout from svn on 2009-12-02T14:37:00
&lt;br&gt;. configure with default options;
&lt;br&gt;. generate VC2008 project for Win64, native compiler;	
&lt;br&gt;. build entire solution in debug mode.
&lt;br&gt;&lt;br&gt;Building src\cxcore\cxsystem.cpp fails (MSVC doesn't allow inline asm
&lt;br&gt;in x64 builds, but there's _asm _emit for RDTSC because WIN32 is
&lt;br&gt;defined).
&lt;br&gt;Proposed resolution is:
&lt;br&gt;-#elif defined _MSC_VER &amp;&amp; defined WIN32
&lt;br&gt;+#elif defined _MSC_VER &amp;&amp; defined WIN32 &amp;&amp; !defined _WIN64
&lt;br&gt;(MSDN says _WIN32 and _WIN64 are predefined macros, and _WIN32 is also
&lt;br&gt;automatically defined in 64-bit builds, which causes your WIN32 macro
&lt;br&gt;to be defined by _cxcore.h) It may be preferable to change the
&lt;br&gt;definition of WIN32 if you are intending that it really mean
&lt;br&gt;32-bit-only Windows (unlike the predefined macro).
&lt;br&gt;&lt;br&gt;Another issue is due to IPP, I am using the x64 version packaged with
&lt;br&gt;ICC 11.0.075 Professional. The linker is complaining that
&lt;br&gt;&amp;quot;ippcorelem64t.lib&amp;quot; isn't found. The second directory in the
&lt;br&gt;CMake-generated project linker path correctly points to the IPP lib
&lt;br&gt;directory, but that specified file doesn't exist. Instead, the only
&lt;br&gt;ippcore*.lib are ippcoreem64tl.lib and ippcoreem64t_t.lib . Looking at
&lt;br&gt;the other referenced libraries, it does not appear to be the intent to
&lt;br&gt;use *t_t (static linking without dispatching), so I've replaced all
&lt;br&gt;instances of ippcorelem64t.lib in every .vcproj with ippcoreem64tl.lib
&lt;br&gt;.
&lt;br&gt;&lt;br&gt;After this, all projects except ffopencv (which is apparently missing
&lt;br&gt;FFPMEG, I don't have it installed) build.
&lt;br&gt;&lt;br&gt;Hope this helps.
&lt;br&gt;Cheers
&lt;br&gt;Jan Wassenberg
&lt;br&gt;&lt;br&gt;———————————————————————————————————————————————————————————
&lt;br&gt;Dipl.-Inform. Jan Wassenberg
&lt;br&gt;Fraunhofer FOM
&lt;br&gt;Forschungsinstitut für Optronik und Mustererkennung Gutleuthausstr. 1,
&lt;br&gt;76275 Ettlingen, Germany Telefon +49 7243 992-319 Fax +49 7243 992-299
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26611165&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wassenberg@...&lt;/a&gt; www.fom.fgan.de
&lt;br&gt;———————————————————————————————————————————————————————————
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26611165&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Win64-build-errors-in-SVN-and-proposed-resolution-tp26611165p26611165.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26603413</id>
	<title>OpenCV R2348 DOC won't compile...</title>
	<published>2009-12-01T20:30:18Z</published>
	<updated>2009-12-01T20:30:18Z</updated>
	<author>
		<name>jiapei100</name>
	</author>
	<content type="html">&lt;br&gt;Hi, all:&lt;br&gt;&lt;br&gt;I noticed that OpenCV 2.x is dramatically updating the documentation, which is absolutely what I expected.&lt;br&gt;However, I&amp;#39;m not able to compile DOC of OpenCV  R2348. Just wonder when the most up-to-date documentation will be ready??&lt;br&gt;
&lt;br&gt;[ 79%] Generating CxCore.tex&lt;br&gt;cd /home/jiapei/Tools/CV/opencv-svn-R2348/opencv/doc &amp;amp;&amp;amp; /usr/bin/cmake -E copy CxCore.tex /home/jiapei/Tools/CV/opencv-svn-R2348/opencv/build/doc/CxCore.tex&lt;br&gt;Error copying file &amp;quot;CxCore.tex&amp;quot; to &amp;quot;/home/jiapei/Tools/CV/opencv-svn-R2348/opencv/build/doc/CxCore.tex&amp;quot;.&lt;br&gt;
make[2]: *** [doc/CxCore.tex] Error 1&lt;br&gt;make[2]: Leaving directory `/home/jiapei/Tools/CV/opencv-svn-R2348/opencv/build&amp;#39;&lt;br&gt;make[1]: *** [doc/CMakeFiles/ReferenceManual.dir/all] Error 2&lt;br&gt;make[1]: Leaving directory `/home/jiapei/Tools/CV/opencv-svn-R2348/opencv/build&amp;#39;&lt;br&gt;
make: *** [all] Error 2&lt;br&gt;&lt;br&gt;Best Regards&lt;br&gt;JIA&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26603413&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Welcome to Vision Open
&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenCV-R2348-DOC-won%27t-compile...-tp26603413p26603413.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26602632</id>
	<title>About OpenCV 2.x Decision Tree</title>
	<published>2009-12-01T18:35:47Z</published>
	<updated>2009-12-01T18:35:47Z</updated>
	<author>
		<name>jiapei100</name>
	</author>
	<content type="html">&lt;br&gt;Hi, all:&lt;br&gt;&lt;br&gt;It looks like the current OpenCV 2.x downloaded from &lt;a href=&quot;https://code.ros.org/svn/opencv/trunk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.ros.org/svn/opencv/trunk/&lt;/a&gt;&lt;br&gt;doesn&amp;#39;t actually afford an up-to-date documentation.&lt;br&gt;
&lt;br&gt;For example, I couldn&amp;#39;t find any documentation about &lt;br&gt;CvCascadeBoostTree  etc.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Is there any documentation about how OpenCV&amp;#39;s decision tree works? How does it determine to carry out trimming?&lt;br&gt;
&lt;br&gt;&lt;br&gt;Best Regards&lt;br&gt;JIA&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Welcome to Vision Open&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26602632&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;Welcome to Vision Open
&lt;br&gt;&lt;a href=&quot;http://www.visionopen.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.visionopen.com&lt;/a&gt;&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/About-OpenCV-2.x-Decision-Tree-tp26602632p26602632.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26599202</id>
	<title>Re: blas opencl</title>
	<published>2009-12-01T13:16:59Z</published>
	<updated>2009-12-01T13:16:59Z</updated>
	<author>
		<name>Vadim Pisarevsky</name>
	</author>
	<content type="html">Hello Stafano,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;While scanning through my e-mail I noticed this post that I somehow forgot to reply to. Sorry.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;We are looking at using GPUs for OpenCV acceleration, and OpenCL though probably be the best API.&lt;/div&gt;
&lt;div&gt;On the other hand, optimizing BLAS with OpenCL is not that interesting for us - we&amp;#39;d better have faster stereo correspondence or faster object tracking or another computer-vision-specific algorithm. That is, that&amp;#39;s great of course if GPU can compute 1000x1000 matrix product much faster than CPU, but it does not matter much for us until we figure out how to solve our practical problems using this feature.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Vadim&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 26, 2009 at 1:58 AM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26599202&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bluefuture@...&lt;/a&gt; &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26599202&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bluefuture@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Hello Vadim,&lt;br&gt;
is there any plan or interest about opencl support in opencv?&lt;br&gt;
I see that there is an initial blas opencl code on sourceforge[¹].&lt;br&gt;
&lt;br&gt;
[¹]&lt;a href=&quot;http://sourceforge.net/projects/openclblas/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/openclblas/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
Stefano&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Opencvlibrary-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26599202&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26599202&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/blas-opencl-tp26521777p26599202.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26598752</id>
	<title>my email id</title>
	<published>2009-12-01T12:43:40Z</published>
	<updated>2009-12-01T12:43:40Z</updated>
	<author>
		<name>Ankit096</name>
	</author>
	<content type="html">&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26598752&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ankit.096@...&lt;/a&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26598752&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/my-email-id-tp26598752p26598752.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26598181</id>
	<title>Re: patch for JPEG errors</title>
	<published>2009-12-01T12:02:26Z</published>
	<updated>2009-12-01T12:02:26Z</updated>
	<author>
		<name>Ankit096</name>
	</author>
	<content type="html">Hi developers,
&lt;br&gt;&lt;br&gt;My name is Ankit and I am new to openCV development and hope to learn a lot in this forum. 
&lt;br&gt;I need to the patch file (or any other way :) ) to fix the jpeg decode errors in opencv. The error is -
&lt;br&gt;&amp;quot;Corrupt JPEG data: premature end of data segment&amp;quot; .
&lt;br&gt;I am using latest version of ubuntu 9.10 . 
&lt;br&gt;Also can you please let me know how to install it. My email id is ankit.096@gmail.com 
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ankit
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Mikhail-11 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; I have discovered the bug in OpenCV from CVS, on Linux. When reading data
&lt;br&gt;from V4L2 cameras, the buffer is released too early and therefore sometimes it
&lt;br&gt;gets overridden. This is probably OK for non-compressed camera, but it causes
&lt;br&gt;JPEG decode errors and horrible image damage on JPEG cameras (like low-cost
&lt;br&gt;2-megapixels USB webcams from Logitech/Microsoft).
&lt;br&gt;&lt;br&gt;&lt;br&gt;The attached patch fixes the following:
&lt;br&gt;&amp;nbsp; &amp;nbsp; (1) When reading from camera, JPEG decode warnings become decode errors
&lt;br&gt;&amp;nbsp; &amp;nbsp; (2) JPEG decode errors are handled by the camera, thus user-app can detect
&lt;br&gt;damaged data
&lt;br&gt;&amp;nbsp; &amp;nbsp; (3) Better buffer management ensures that the data will not be damaged in
&lt;br&gt;the first place.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Mikhail
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Index: ./otherlibs/highgui/cvcap_v4l.cpp
&lt;br&gt;===================================================================
&lt;br&gt;RCS file: /cvsroot/opencvlibrary/opencv/otherlibs/highgui/cvcap_v4l.cpp,v
&lt;br&gt;retrieving revision 1.64
&lt;br&gt;diff -u -r1.64 cvcap_v4l.cpp
&lt;br&gt;--- ./otherlibs/highgui/cvcap_v4l.cpp	9 May 2008 06:01:52 -0000	1.64
&lt;br&gt;+++ ./otherlibs/highgui/cvcap_v4l.cpp	2 Jul 2008 08:51:48 -0000
&lt;br&gt;@@ -146,6 +146,15 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;some drivers working, but not fully with V4L2. (so, we do not know when we
&lt;br&gt;&amp;nbsp; &amp;nbsp;need to switch from V4L2 to V4L.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+10th patch: July 02, 2008, Mikhail Afanasyev fopencv@theamk.com
&lt;br&gt;+Fix reliability problems with high-resolution UVC cameras on linux
&lt;br&gt;+the symptoms were damaged image and 'Corrupt JPEG data: premature end of data segment' on stderr
&lt;br&gt;+- V4L_ABORT_BADJPEG detects JPEG warnings and turns them into errors, so bad images
&lt;br&gt;+ &amp;nbsp;could be filtered out
&lt;br&gt;+- USE_TEMP_BUFFER fixes the main problem (improper buffer management) and
&lt;br&gt;+ &amp;nbsp;prevents bad images in the first place
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;make &amp; enjoy!
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;@@ -225,6 +234,18 @@
&lt;br&gt;&amp;nbsp;#define CHANNEL_NUMBER 1
&lt;br&gt;&amp;nbsp;#define MAX_CAMERAS 8
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+
&lt;br&gt;+// default and maximum number of V4L buffers, not including last, 'special' buffer
&lt;br&gt;+#define MAX_V4L_BUFFERS 10
&lt;br&gt;+#define DEFAULT_V4L_BUFFERS 4
&lt;br&gt;+
&lt;br&gt;+// if enabled, copies data from the buffer. this uses a bit more memory,
&lt;br&gt;+// &amp;nbsp;but much more reliable for some UVC cameras
&lt;br&gt;+#define USE_TEMP_BUFFER
&lt;br&gt;+
&lt;br&gt;+// if enabled, then bad JPEG warnings become errors and cause NULL returned instead of image
&lt;br&gt;+#define V4L_ABORT_BADJPEG
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#define MAX_DEVICE_DRIVER_NAME 80
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;/* Device Capture Objects */
&lt;br&gt;@@ -275,7 +296,7 @@
&lt;br&gt;&amp;nbsp;#ifdef HAVE_CAMV4L2
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* V4L2 variables */
&lt;br&gt;- &amp;nbsp; buffer buffers[10];
&lt;br&gt;+ &amp;nbsp; buffer buffers[MAX_V4L_BUFFERS + 1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; struct v4l2_capability cap;
&lt;br&gt;&amp;nbsp; &amp;nbsp; struct v4l2_input inp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; struct v4l2_format form;
&lt;br&gt;@@ -862,7 +883,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; CLEAR (capture-&amp;gt;req);
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;- &amp;nbsp; unsigned int buffer_number = 4;
&lt;br&gt;+ &amp;nbsp; unsigned int buffer_number = DEFAULT_V4L_BUFFERS;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; try_again:
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;@@ -894,6 +915,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buffer_number--;
&lt;br&gt;+	 fprintf (stderr, &amp;quot;Insufficient buffer memory on %s -- decreaseing buffers\n&amp;quot;, deviceName);
&lt;br&gt;&amp;nbsp;	 
&lt;br&gt;&amp;nbsp;	 goto try_again;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;@@ -932,6 +954,13 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; icvCloseCAM_V4L (capture);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return -1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;+
&lt;br&gt;+#ifdef USE_TEMP_BUFFER
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; if (n_buffers == 0) {
&lt;br&gt;+	 capture-&amp;gt;buffers[MAX_V4L_BUFFERS].start = malloc( buf.length );
&lt;br&gt;+	 capture-&amp;gt;buffers[MAX_V4L_BUFFERS].length = buf.length;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; };
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* Set up Image data */
&lt;br&gt;@@ -1155,7 +1184,16 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; assert(buf.index &amp;lt; capture-&amp;gt;req.count);
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;+#ifdef USE_TEMP_BUFFER
&lt;br&gt;+ &amp;nbsp; memcpy(capture-&amp;gt;buffers[MAX_V4L_BUFFERS].start, 
&lt;br&gt;+	 &amp;nbsp;capture-&amp;gt;buffers[buf.index].start, 
&lt;br&gt;+	 &amp;nbsp;capture-&amp;gt;buffers[MAX_V4L_BUFFERS].length );
&lt;br&gt;+ &amp;nbsp; capture-&amp;gt;bufferIndex = MAX_V4L_BUFFERS;
&lt;br&gt;+ &amp;nbsp; //printf(&amp;quot;got data in buff %d, len=%d, flags=0x%X, seq=%d, used=%d)\n&amp;quot;, 
&lt;br&gt;+ &amp;nbsp; //	 &amp;nbsp;buf.index, buf.length, buf.flags, buf.sequence, buf.bytesused);
&lt;br&gt;+#else
&lt;br&gt;&amp;nbsp; &amp;nbsp; capture-&amp;gt;bufferIndex = buf.index;
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; if (-1 == xioctl (capture-&amp;gt;deviceHandle, VIDIOC_QBUF, &amp;buf))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; perror (&amp;quot;VIDIOC_QBUF&amp;quot;);
&lt;br&gt;@@ -1265,6 +1303,12 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+#ifdef V4L_ABORT_BADJPEG
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;// skip first frame. it is often bad -- this is unnotied in traditional apps,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp;but could be fatal if bad jpeg is enabled
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;mainloop_v4l2(capture);
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* preparation is ok */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;capture-&amp;gt;FirstCapture = 0;
&lt;br&gt;@@ -1692,6 +1736,19 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;longjmp( err_mgr-&amp;gt;setjmp_buffer, 1 );
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#ifdef V4L_ABORT_BADJPEG
&lt;br&gt;+void emit_message (j_common_ptr cinfo, int msg_level) {
&lt;br&gt;+ &amp;nbsp;char buffer[JMSG_LENGTH_MAX];
&lt;br&gt;+ &amp;nbsp;GrFmtJpegErrorMgr* err_mgr = (GrFmtJpegErrorMgr*)(cinfo-&amp;gt;err);
&lt;br&gt;+ &amp;nbsp;if (msg_level &amp;gt;= 0) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return;
&lt;br&gt;+ &amp;nbsp;};
&lt;br&gt;+ &amp;nbsp;(*cinfo-&amp;gt;err-&amp;gt;format_message) (cinfo, buffer);
&lt;br&gt;+ &amp;nbsp;fprintf(stderr, &amp;quot;Camera decode error (%d): %s\n&amp;quot;, msg_level, buffer);
&lt;br&gt;+ &amp;nbsp;longjmp( err_mgr-&amp;gt;setjmp_buffer, 1 );
&lt;br&gt;+};
&lt;br&gt;+#endif
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;/////////////////////// MyMJpegReader ///////////////////
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;/* constructor just call the parent constructor, but without real filename */
&lt;br&gt;@@ -1715,6 +1772,9 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;cinfo-&amp;gt;err = jpeg_std_error(&amp;jerr-&amp;gt;pub);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;jerr-&amp;gt;pub.error_exit = error_exit;
&lt;br&gt;+#ifdef V4L_ABORT_BADJPEG
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;jerr-&amp;gt;pub.emit_message = emit_message;
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;m_cinfo = cinfo;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;m_jerr = jerr;
&lt;br&gt;@@ -1744,18 +1804,27 @@
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;/* convert from mjpeg to rgb24 */
&lt;br&gt;-static void 
&lt;br&gt;+static bool
&lt;br&gt;&amp;nbsp;mjpeg_to_rgb24 (int width, int height,
&lt;br&gt;&amp;nbsp;		unsigned char *src, int length,
&lt;br&gt;&amp;nbsp;		unsigned char *dst)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/* use a MyMJpegReader reader for doing the conversion */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;MyMJpegReader* reader = 0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;bool ok;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;reader = new MyMJpegReader (src, length);
&lt;br&gt;- &amp;nbsp; &amp;nbsp;reader-&amp;gt;ReadHeader ();
&lt;br&gt;- &amp;nbsp; &amp;nbsp;reader-&amp;gt;ReadData (dst, width * 3, 1 );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;ok = reader-&amp;gt;ReadHeader ();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (ok) { 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;ok = reader-&amp;gt;ReadData (dst, width * 3, 1 );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;};
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;delete reader;
&lt;br&gt;-
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return ok;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/*
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (!ok) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;fprintf(stderr, &amp;quot;Camera returned bad header\n&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;memset(dst, 0, width * 3 * height);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;};
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;@@ -2092,12 +2161,13 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; because it's use libjepg and fmemopen()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (PALETTE_MJPEG == 1)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;mjpeg_to_rgb24(capture-&amp;gt;form.fmt.pix.width,
&lt;br&gt;-		 &amp;nbsp; &amp;nbsp; capture-&amp;gt;form.fmt.pix.height,
&lt;br&gt;-		 &amp;nbsp; &amp;nbsp; (unsigned char*)(capture-&amp;gt;buffers[capture-&amp;gt;bufferIndex]
&lt;br&gt;-				 &amp;nbsp; &amp;nbsp; &amp;nbsp;.start),
&lt;br&gt;-		 &amp;nbsp; &amp;nbsp; capture-&amp;gt;buffers[capture-&amp;gt;bufferIndex].length,
&lt;br&gt;-		 &amp;nbsp; &amp;nbsp; (unsigned char*)capture-&amp;gt;frame.imageData);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!mjpeg_to_rgb24(capture-&amp;gt;form.fmt.pix.width,
&lt;br&gt;+			 &amp;nbsp;capture-&amp;gt;form.fmt.pix.height,
&lt;br&gt;+			 &amp;nbsp;(unsigned char*)(capture-&amp;gt;buffers[capture-&amp;gt;bufferIndex]
&lt;br&gt;+					 &amp;nbsp; .start),
&lt;br&gt;+			 &amp;nbsp;capture-&amp;gt;buffers[capture-&amp;gt;bufferIndex].length,
&lt;br&gt;+			 &amp;nbsp;(unsigned char*)capture-&amp;gt;frame.imageData))
&lt;br&gt;+	return 0;
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
&lt;br&gt;Studies have shown that voting for your favorite open source project,
&lt;br&gt;along with a healthy diet, reduces your potential for chronic lameness
&lt;br&gt;and boredom. Vote Now at &lt;a href=&quot;http://www.sourceforge.net/community/cca08&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sourceforge.net/community/cca08&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;Opencvlibrary-devel@lists.sourceforge.net
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patch-for-JPEG-Decode-errors-tp18372422p26598181.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575692</id>
	<title>Re: OpenCV rev 2336 build failed in MinGW 4.4</title>
	<published>2009-11-30T06:32:53Z</published>
	<updated>2009-11-30T06:32:53Z</updated>
	<author>
		<name>asm23</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Nicolas Chauvet wrote:
&lt;blockquote cite=&quot;mid:e1760170911300609k4e2a5d08q7dc53171394a92bb@mail.gmail.com&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;2009/11/30 Asm_gmail &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575692&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;asmwarrior@...&lt;/a&gt;:
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;I try to build the latest SVN code under TDM-GCC 4.4.1 and Cmake 2.8.0

There is the build error, it seems the type is not declared it seems
this is introduces in the commit 2336.

Building CXX object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_stream.obj
cd F:\test1\3rdparty\libtiff &amp;amp;&amp;amp; D:\MinGW\bin\g++.exe &amp;nbsp; -DHAVE_CONFIG_H
-Wall -ffunction-sections &amp;nbsp;-g &amp;nbsp;-O0 -DDEBUG -D_DEBUG &amp;nbsp;-IF:\opencv\.
-IF:\test1 -IF:\opencv\include -IF:\opencv\include\opencv
-IF:\opencv\3rdparty\libtiff -IF:\opencv\3rdparty\libtiff\..\include
-o CMakeFiles\libtiff.dir\tif_stream.obj -c
F:\opencv\3rdparty\libtiff\tif_stream.cxx
In file included from F:\opencv\3rdparty\libtiff\tiffio.h:33,
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from F:\opencv\3rdparty\libtiff\tiffiop.h:53,
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from F:\opencv\3rdparty\libtiff\tif_stream.cxx:32:
F:\opencv\3rdparty\libtiff\tiff.h:68: error: 'TIFF_INT8_T' does not name
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;Basically, there is no reason to bundle internal copy of libtiff if
the fix is already present in a more recent copy.

  &lt;/pre&gt;
&lt;/blockquote&gt;
Thanks for the hint!&lt;br&gt;
&lt;br&gt;
Oh, my God, there are two &quot;tiff.h&quot; in my working copy.&lt;br&gt;
&lt;br&gt;
One is &quot;F:\opencv\3rdparty\libtiff\tiff.h&quot; I copied from the libtiff
code, hence this is not belong to SVN code,&amp;nbsp; the other is
&quot;F:\opencv\3rdparty\include\tiff.h&quot;. So the first one should be
removed. &lt;br&gt;
&lt;br&gt;
After that, I can successfully bulild OpenCV library. &lt;br&gt;
&lt;br&gt;
Sorry for the noise to the mail list.&lt;br&gt;
&lt;pre wrap=&quot;&quot;&gt;

&lt;/pre&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575692&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenCV-rev-2336-build-failed-in-MinGW-4.4-tp26575220p26575692.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575220</id>
	<title>OpenCV rev 2336 build failed in MinGW 4.4</title>
	<published>2009-11-30T05:57:54Z</published>
	<updated>2009-11-30T05:57:54Z</updated>
	<author>
		<name>asm23</name>
	</author>
	<content type="html">I try to build the latest SVN code under TDM-GCC 4.4.1 and Cmake 2.8.0
&lt;br&gt;&lt;br&gt;There is the build error, it seems the type is not declared it seems 
&lt;br&gt;this is introduces in the commit 2336.
&lt;br&gt;&lt;br&gt;Building CXX object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_stream.obj
&lt;br&gt;cd F:\test1\3rdparty\libtiff &amp;&amp; D:\MinGW\bin\g++.exe &amp;nbsp; -DHAVE_CONFIG_H 
&lt;br&gt;-Wall -ffunction-sections &amp;nbsp;-g &amp;nbsp;-O0 -DDEBUG -D_DEBUG &amp;nbsp;-IF:\opencv\. 
&lt;br&gt;-IF:\test1 -IF:\opencv\include -IF:\opencv\include\opencv 
&lt;br&gt;-IF:\opencv\3rdparty\libtiff -IF:\opencv\3rdparty\libtiff\..\include &amp;nbsp; 
&lt;br&gt;-o CMakeFiles\libtiff.dir\tif_stream.obj -c 
&lt;br&gt;F:\opencv\3rdparty\libtiff\tif_stream.cxx
&lt;br&gt;In file included from F:\opencv\3rdparty\libtiff\tiffio.h:33,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from F:\opencv\3rdparty\libtiff\tiffiop.h:53,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from F:\opencv\3rdparty\libtiff\tif_stream.cxx:32:
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:68: error: 'TIFF_INT8_T' does not name 
&lt;br&gt;a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:69: error: 'TIFF_UINT8_T' does not 
&lt;br&gt;name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:71: error: 'TIFF_INT16_T' does not 
&lt;br&gt;name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:72: error: 'TIFF_UINT16_T' does not 
&lt;br&gt;name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:74: error: 'TIFF_INT32_T' does not 
&lt;br&gt;name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:75: error: 'TIFF_UINT32_T' does not 
&lt;br&gt;name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:77: error: 'TIFF_INT64_T' does not 
&lt;br&gt;name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:78: error: 'TIFF_UINT64_T' does not 
&lt;br&gt;name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:94: error: 'uint16' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:95: error: 'uint16' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:98: error: 'uint16' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:99: error: 'uint16' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:100: error: 'uint32' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:103: error: 'uint16' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:104: error: 'uint16' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:105: error: 'uint16' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:106: error: 'uint16' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiff.h:107: error: 'uint64' does not name a type
&lt;br&gt;In file included from F:\opencv\3rdparty\libtiff\tiffiop.h:53,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from F:\opencv\3rdparty\libtiff\tif_stream.cxx:32:
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:67: error: 'TIFF_SSIZE_T' does not 
&lt;br&gt;name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:68: error: 'uint64' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:71: error: 'uint32' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:72: error: 'uint16' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:73: error: 'uint16' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:74: error: 'uint32' does not name a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:75: error: 'tstrile_t' does not name 
&lt;br&gt;a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:76: error: 'tstrile_t' does not name 
&lt;br&gt;a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:77: error: 'tmsize_t' does not name 
&lt;br&gt;a type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:145: error: 'uint32' does not name a 
&lt;br&gt;type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:146: error: 'uint32' does not name a 
&lt;br&gt;type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:147: error: 'uint32' does not name a 
&lt;br&gt;type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:160: error: ISO C++ forbids 
&lt;br&gt;declaration of 'int32' with no type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:160: error: expected ';' before '*' 
&lt;br&gt;token
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:161: error: ISO C++ forbids 
&lt;br&gt;declaration of 'int32' with no type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:161: error: expected ';' before '*' 
&lt;br&gt;token
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:162: error: ISO C++ forbids 
&lt;br&gt;declaration of 'int32' with no type
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:162: error: expected ';' before '*' 
&lt;br&gt;token
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:191: error: 'uint32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:191: error: 'uint32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:191: error: 'uint32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:191: error: 'uint32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:191: error: 'uint32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:191: error: 'int32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:191: error: 'int32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:194: error: 'uint32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:194: error: 'uint32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:194: error: 'uint32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:194: error: 'uint32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:194: error: 'uint32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:194: error: 'int32' has not been 
&lt;br&gt;declared
&lt;br&gt;F:\opencv\3rdparty\libtiff\tiffio.h:194: error: 'int32' has not been 
&lt;br&gt;declared
&lt;br&gt;Process terminated with status 2 (3 minutes, 56 seconds)
&lt;br&gt;50 errors, 29 warnings
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;Asmwarrior
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575220&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenCV-rev-2336-build-failed-in-MinGW-4.4-tp26575220p26575220.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26552019</id>
	<title>proforma - Probabilistic Feature-based On-line Rapid Model Acquisition</title>
	<published>2009-11-28T02:46:38Z</published>
	<updated>2009-11-28T02:46:38Z</updated>
	<author>
		<name>Bluefuture</name>
	</author>
	<content type="html">Hello all,
&lt;br&gt;i think this link about PRoforma with video+paper is quite interesting:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://mi.eng.cam.ac.uk/~qp202/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mi.eng.cam.ac.uk/~qp202/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Stefano
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26552019&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/proforma---Probabilistic-Feature-based-On-line-Rapid-Model-Acquisition-tp26552019p26552019.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26521777</id>
	<title>blas opencl</title>
	<published>2009-11-25T14:58:26Z</published>
	<updated>2009-11-25T14:58:26Z</updated>
	<author>
		<name>Bluefuture</name>
	</author>
	<content type="html">Hello Vadim,
&lt;br&gt;is there any plan or interest about opencl support in opencv?
&lt;br&gt;I see that there is an initial blas opencl code on sourceforge[¹].
&lt;br&gt;&lt;br&gt;[¹]&lt;a href=&quot;http://sourceforge.net/projects/openclblas/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/openclblas/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Stefano
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521777&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/blas-opencl-tp26521777p26521777.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26513878</id>
	<title>Re: libraries compiled with OMP on face recognition</title>
	<published>2009-11-25T06:45:21Z</published>
	<updated>2009-11-25T06:45:21Z</updated>
	<author>
		<name>giusdisa</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Vadim Pisarevsky wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hello,
&lt;br&gt;&lt;br&gt;sorry for a long delay. We also get problems with facedetection built with
&lt;br&gt;OpenMP support. We are now studying the problem.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Vadim
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Thank you.
&lt;br&gt;I wonder if the reason is always the corruption of parameter &amp;quot;minNeighbors&amp;quot; in void detectMultiScale(...). 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libraries-compiled-with-OMP-on-face-recognition-tp26428013p26513878.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26512503</id>
	<title>Re: StarDetector code error</title>
	<published>2009-11-25T05:19:32Z</published>
	<updated>2009-11-25T05:19:32Z</updated>
	<author>
		<name>Vadim Pisarevsky</name>
	</author>
	<content type="html">&lt;div&gt;Hello,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;The current code is correct. If the row width is not divisible by 4, you will need to process the tail using a scalar code. That is actually implemented in the code (note that &amp;quot;x&amp;quot; is only set once in line 214).&lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Vadim&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 4:05 PM, Pierre Moulon &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512503&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pmoulon@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div&gt;Hello,&lt;/div&gt;&lt;div&gt;I want to notice you that in src/StarDetector I have spotted an error :&lt;/div&gt;&lt;div&gt;The loop to compute BiLevel responses is done two time IF you enable SSE2 support.&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Notice that in line 261 you have put a #ENDIF. But it must be a #else ... and the else must finish in line 289 (after the &amp;#39;}&amp;#39; ).&lt;br&gt;

&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So when you are in SS2 mode you compute two time the Bi-level response !!&lt;/div&gt;&lt;div&gt;I do not have tested yet. But i&amp;#39;m sure that some code are duplicated if you use SSE2 define...&lt;/div&gt;&lt;div&gt;&lt;div&gt;

&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks to consider my opinion.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;We have to test it before do any commit.&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;&lt;div&gt;


&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Best Regards,&lt;/div&gt;&lt;div&gt;Pierre M&lt;/div&gt;&lt;/div&gt;
&lt;br&gt;------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
Opencvlibrary-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512503&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Opencvlibrary-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512503&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Opencvlibrary-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-StarDetector-code-error-tp26512309p26512503.html" />
</entry>

</feed>
