<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 3D Vision with Stereo Disparity</title>
	<atom:link href="http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/</link>
	<description>life, business, consulting, and computer vision</description>
	<lastBuildDate>Tue, 07 Feb 2012 12:43:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Fadel</title>
		<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/comment-page-2/#comment-2021</link>
		<dc:creator>Fadel</dc:creator>
		<pubDate>Tue, 07 Feb 2012 12:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/#comment-2021</guid>
		<description>i have window7 64 bit</description>
		<content:encoded><![CDATA[<p>i have window7 64 bit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fadel</title>
		<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/comment-page-2/#comment-2020</link>
		<dc:creator>Fadel</dc:creator>
		<pubDate>Tue, 07 Feb 2012 12:43:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/#comment-2020</guid>
		<description>hi, please i need help, when i run demo, i get this error,

Error in ==&gt; modefilt2 at 34
  f = modefilt2_mex(img,win,ignore);

Error in ==&gt; stereo at 48
  fdsp = modefilt2(dsp,[win_size,win_size],2);

Error in ==&gt; demo at 10
[d p] = stereo(i1,i2, maxs);

Thanks</description>
		<content:encoded><![CDATA[<p>hi, please i need help, when i run demo, i get this error,</p>
<p>Error in ==&gt; modefilt2 at 34<br />
  f = modefilt2_mex(img,win,ignore);</p>
<p>Error in ==&gt; stereo at 48<br />
  fdsp = modefilt2(dsp,[win_size,win_size],2);</p>
<p>Error in ==&gt; demo at 10<br />
[d p] = stereo(i1,i2, maxs);</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: villett</title>
		<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/comment-page-2/#comment-1994</link>
		<dc:creator>villett</dc:creator>
		<pubDate>Sat, 10 Dec 2011 22:49:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/#comment-1994</guid>
		<description>Dear Shawn,

Im working on the depth map estimation by using motion parallax, I got the motion vectors(x and y) with matlab. I&#039;m having some problem on getting the absolute value of the horizontal component(Mvx) to get the disparity and also depth map. could you help me with this?</description>
		<content:encoded><![CDATA[<p>Dear Shawn,</p>
<p>Im working on the depth map estimation by using motion parallax, I got the motion vectors(x and y) with matlab. I&#8217;m having some problem on getting the absolute value of the horizontal component(Mvx) to get the disparity and also depth map. could you help me with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/comment-page-2/#comment-1993</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Wed, 07 Dec 2011 22:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/#comment-1993</guid>
		<description>&lt;a href=&quot;#comment-1991&quot; rel=&quot;nofollow&quot;&gt;@Don &lt;/a&gt; 

Ugg... I spoke too soon.  When I run the demo.m script it segfaults...

:^(

I renew my plea for advice/smack upside the head.

-D</description>
		<content:encoded><![CDATA[<p><a href="#comment-1991" rel="nofollow">@Don </a> </p>
<p>Ugg&#8230; I spoke too soon.  When I run the demo.m script it segfaults&#8230;</p>
<p>:^(</p>
<p>I renew my plea for advice/smack upside the head.</p>
<p>-D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/comment-page-2/#comment-1992</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Wed, 07 Dec 2011 22:39:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/#comment-1992</guid>
		<description>&lt;a href=&quot;#comment-1986&quot; rel=&quot;nofollow&quot;&gt;@Poo &lt;/a&gt; 

Hey dude, I was having compiler trouble in windows.  One of the non-windows specific things I had to do was in line 386 of BgEdgeDetect.cpp, the “pow” command is used and my compiler complains that it is ambiguous because it doesn’t know what type the numbers are inside it. So change the line from this:

w = pow(2,(-2*WL_))*factorial(2*WL_)/(factorial(WL_-i)*factorial(WL_+i));

to this:

w = pow(2.,(-2*WL_))*factorial(2*WL_)/(factorial(WL_-i)*factorial(WL_+i));

notice there is a decimal point added after the first “2? . Now it knows to not treat 2 as an integer or whatever it was thinking.

If you haven&#039;t tried this yet maybe it will help!

-D</description>
		<content:encoded><![CDATA[<p><a href="#comment-1986" rel="nofollow">@Poo </a> </p>
<p>Hey dude, I was having compiler trouble in windows.  One of the non-windows specific things I had to do was in line 386 of BgEdgeDetect.cpp, the “pow” command is used and my compiler complains that it is ambiguous because it doesn’t know what type the numbers are inside it. So change the line from this:</p>
<p>w = pow(2,(-2*WL_))*factorial(2*WL_)/(factorial(WL_-i)*factorial(WL_+i));</p>
<p>to this:</p>
<p>w = pow(2.,(-2*WL_))*factorial(2*WL_)/(factorial(WL_-i)*factorial(WL_+i));</p>
<p>notice there is a decimal point added after the first “2? . Now it knows to not treat 2 as an integer or whatever it was thinking.</p>
<p>If you haven&#8217;t tried this yet maybe it will help!</p>
<p>-D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/comment-page-2/#comment-1991</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Wed, 07 Dec 2011 22:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/#comment-1991</guid>
		<description>&lt;a href=&quot;#comment-1990&quot; rel=&quot;nofollow&quot;&gt;@Don &lt;/a&gt; 

OH I got it to work.

So what I did was:
1.  change all of those slashes to match windows filename convention
2.  open all of the source files in visual studio.  for many of them it a message pops up about some kind of file format inconsistency, do I want it fixed.  Click yes, save file, exit.
3.  in line 386 of BgEdgeDetect.cpp, the &quot;pow&quot; command is used and my compiler complains that it is ambiguous because it doesn&#039;t know what type the numbers are inside it.  So change the line from this:

 w = pow(2,(-2*WL_))*factorial(2*WL_)/(factorial(WL_-i)*factorial(WL_+i));

to this:

 w = pow(2.,(-2*WL_))*factorial(2*WL_)/(factorial(WL_-i)*factorial(WL_+i));

notice there is a decimal point added after the first &quot;2&quot;  .  Now it knows to not treat 2 as an integer or whatever.

it now compiles successfully in windows using the compile_edison_wrapper_mex.m script in matlab!

-D</description>
		<content:encoded><![CDATA[<p><a href="#comment-1990" rel="nofollow">@Don </a> </p>
<p>OH I got it to work.</p>
<p>So what I did was:<br />
1.  change all of those slashes to match windows filename convention<br />
2.  open all of the source files in visual studio.  for many of them it a message pops up about some kind of file format inconsistency, do I want it fixed.  Click yes, save file, exit.<br />
3.  in line 386 of BgEdgeDetect.cpp, the &#8220;pow&#8221; command is used and my compiler complains that it is ambiguous because it doesn&#8217;t know what type the numbers are inside it.  So change the line from this:</p>
<p> w = pow(2,(-2*WL_))*factorial(2*WL_)/(factorial(WL_-i)*factorial(WL_+i));</p>
<p>to this:</p>
<p> w = pow(2.,(-2*WL_))*factorial(2*WL_)/(factorial(WL_-i)*factorial(WL_+i));</p>
<p>notice there is a decimal point added after the first &#8220;2&#8243;  .  Now it knows to not treat 2 as an integer or whatever.</p>
<p>it now compiles successfully in windows using the compile_edison_wrapper_mex.m script in matlab!</p>
<p>-D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/comment-page-2/#comment-1990</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Wed, 07 Dec 2011 22:22:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/#comment-1990</guid>
		<description>Hi Shawn,

I too am trying to compile this code but am having trouble.  I have located the updated website for EDISON:

http://coewww.rutgers.edu/riul/research/code/EDISON/

and put the segm\ and edge\ directories where the compile_edison_wrapper.m expects them to be.  

I was getting an error about mac vs windows file format... I&#039;m on windows and I think I needed to change the &quot;/&quot; to &quot;\&quot; so I did:

mex -O edison_wrapper_mex.cpp ...
    segm\ms.cpp  segm\msImageProcessor.cpp segm\msSysPrompt.cpp segm\RAList.cpp segm\rlist.cpp ...
    edge\BgEdge.cpp edge\BgImage.cpp edge\BgGlobalFc.cpp edge\BgEdgeList.cpp edge\BgEdgeDetect.cpp

Also in BgEdgeDetect.h, I changed the &quot;/&quot; to &quot;\&quot; in the #include statements.

I still get this error from Matlab:

edison_wrapper_mex.cpp 
c:\users\donald j. natale iii\desktop\lankton range image\lankton_stereo\msseg\edge\BgEdgeList.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format 
edison_wrapper_mex.cpp(134) : warning C4018: &#039;&lt;&#039; : signed/unsigned mismatch 
edison_wrapper_mex.cpp(168) : warning C4018: &#039;&lt;&#039; : signed/unsigned mismatch 
edison_wrapper_mex.cpp(179) : warning C4018: &#039;&lt;&#039; : signed/unsigned mismatch

I could really use advice or maybe a smack upside the head... am I doing something silly here?

-D</description>
		<content:encoded><![CDATA[<p>Hi Shawn,</p>
<p>I too am trying to compile this code but am having trouble.  I have located the updated website for EDISON:</p>
<p><a href="http://coewww.rutgers.edu/riul/research/code/EDISON/" rel="nofollow">http://coewww.rutgers.edu/riul/research/code/EDISON/</a></p>
<p>and put the segm\ and edge\ directories where the compile_edison_wrapper.m expects them to be.  </p>
<p>I was getting an error about mac vs windows file format&#8230; I&#8217;m on windows and I think I needed to change the &#8220;/&#8221; to &#8220;\&#8221; so I did:</p>
<p>mex -O edison_wrapper_mex.cpp &#8230;<br />
    segm\ms.cpp  segm\msImageProcessor.cpp segm\msSysPrompt.cpp segm\RAList.cpp segm\rlist.cpp &#8230;<br />
    edge\BgEdge.cpp edge\BgImage.cpp edge\BgGlobalFc.cpp edge\BgEdgeList.cpp edge\BgEdgeDetect.cpp</p>
<p>Also in BgEdgeDetect.h, I changed the &#8220;/&#8221; to &#8220;\&#8221; in the #include statements.</p>
<p>I still get this error from Matlab:</p>
<p>edison_wrapper_mex.cpp<br />
c:\users\donald j. natale iii\desktop\lankton range image\lankton_stereo\msseg\edge\BgEdgeList.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format<br />
edison_wrapper_mex.cpp(134) : warning C4018: &#8216;&lt;&#039; : signed/unsigned mismatch<br />
edison_wrapper_mex.cpp(168) : warning C4018: &#039;&lt;&#039; : signed/unsigned mismatch<br />
edison_wrapper_mex.cpp(179) : warning C4018: &#039;&lt;&#039; : signed/unsigned mismatch</p>
<p>I could really use advice or maybe a smack upside the head&#8230; am I doing something silly here?</p>
<p>-D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Poo</title>
		<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/comment-page-2/#comment-1986</link>
		<dc:creator>Poo</dc:creator>
		<pubDate>Mon, 05 Dec 2011 18:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/#comment-1986</guid>
		<description>I were trying to run code on the lankton_stereo but i can not complie edison_wrapper_mex (mac). Can you help me pls?</description>
		<content:encoded><![CDATA[<p>I were trying to run code on the lankton_stereo but i can not complie edison_wrapper_mex (mac). Can you help me pls?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taozi</title>
		<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/comment-page-2/#comment-1920</link>
		<dc:creator>taozi</dc:creator>
		<pubDate>Thu, 22 Sep 2011 09:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/#comment-1920</guid>
		<description>Hi Shawn, I am a chinese student,sorry for my bad english, i hope that you can understand it. I have read your WebSite recently, I am trying to get the depth map from a real pair L-R images using the binocular vision stereo matching algorithm,I have download you matlab code and run it ,bu when i use it to another picture pairs, it doesn&#039;t work perfectly,the image was download from the website,
http://vision.middlebury.edu/stereo/,even the same Tsukuba image, it doesn&#039;t work the same, even couldn’t see the outlines, i don&#039;t know why, can you tell me where is the difference? Now i really want to do my subject well, but i have no ideo, i don&#039;t what should i do? I really hope that you can help me, when i can get the disparity map, if i want to get the depth map, is the camera focus and the baseline distance i need know, how could i convert these data to pixel,you know,the focus and the baseline is measured by meter, but the disparity is measured by pixel,how could i convert them?  and there is another data that i need to know? or something must be done before i could get the depth map. Best regards. thaks again.</description>
		<content:encoded><![CDATA[<p>Hi Shawn, I am a chinese student,sorry for my bad english, i hope that you can understand it. I have read your WebSite recently, I am trying to get the depth map from a real pair L-R images using the binocular vision stereo matching algorithm,I have download you matlab code and run it ,bu when i use it to another picture pairs, it doesn&#8217;t work perfectly,the image was download from the website,<br />
<a href="http://vision.middlebury.edu/stereo/,even" rel="nofollow">http://vision.middlebury.edu/stereo/,even</a> the same Tsukuba image, it doesn&#8217;t work the same, even couldn’t see the outlines, i don&#8217;t know why, can you tell me where is the difference? Now i really want to do my subject well, but i have no ideo, i don&#8217;t what should i do? I really hope that you can help me, when i can get the disparity map, if i want to get the depth map, is the camera focus and the baseline distance i need know, how could i convert these data to pixel,you know,the focus and the baseline is measured by meter, but the disparity is measured by pixel,how could i convert them?  and there is another data that i need to know? or something must be done before i could get the depth map. Best regards. thaks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vimal</title>
		<link>http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/comment-page-2/#comment-1897</link>
		<dc:creator>Vimal</dc:creator>
		<pubDate>Fri, 02 Sep 2011 09:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnlankton.com/2007/12/3d-vision-with-stereo-disparity/#comment-1897</guid>
		<description>Hi shawn some picture work perfectly but other pictures not. I calibrated  that 20 pixel is the maximum disparity still not working. Can i get another pair of images?</description>
		<content:encoded><![CDATA[<p>Hi shawn some picture work perfectly but other pictures not. I calibrated  that 20 pixel is the maximum disparity still not working. Can i get another pair of images?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

