<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/867" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2020-11-22T02:09:25+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/867</id>

		<entry>
		<author><name><![CDATA[tuannm]]></name></author>
		<updated>2020-10-25T04:20:50+00:00</updated>

		<published>2020-10-25T04:20:50+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2320#p2320</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2320#p2320"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2320#p2320"><![CDATA[
The reason is from the inverted images.<br>Thank you so much.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=596">tuannm</a> — Sun Oct 25, 2020 4:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stereomaton]]></name></author>
		<updated>2020-10-24T21:29:08+00:00</updated>

		<published>2020-10-24T21:29:08+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2319#p2319</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2319#p2319"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2319#p2319"><![CDATA[
Tuannm, first let me point out that your images are reversed (left on right and right on left).<br><br>I did not played seriously with the calibration part, but several problems reported on the forum were due to bad input data. In particular, you can set drawCorners to True to check if all detected chessboards are at the right position and in the same orientation in each image (seems good). If I am right, the chessboard also needs to be tilted (one side closer to the camera, with different angles) so that the perspective is detectable by the algorithm. I do not know if this is the reason, but you can maybe try to add more images with tilted chessboards and with more accentuated angles (ill-conditioned matrix means roughly that small input [corner position] errors will lead to large output [calibration data] errors, probably because the data are not distinct enough to get a significative result).<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=101">stereomaton</a> — Sat Oct 24, 2020 9:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tuannm]]></name></author>
		<updated>2020-11-22T02:09:25+00:00</updated>

		<published>2020-10-24T05:50:11+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2314#p2314</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2314#p2314"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2314#p2314"><![CDATA[
hello Realizator,<br><br>Can you help me check the code "4_calibration_fisheye.py" for my images?<br>I do not know what happens when I received an error " (-3 internal error) calib_check_cond - ill-conditioned matrix for input array 35 in function 'cv::internal::calibrate extrinsic'". I used the latest code in your repository.<br>I did not use "cv2.fisheye.CALIB_CHECK_COND" in the code.<br><br>The desired output is rectified images for both the left and right images.<br>Please help me how to solve this issue. <br>Thank you.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=596">tuannm</a> — Sat Oct 24, 2020 5:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-02-21T12:10:00+00:00</updated>

		<published>2020-02-21T12:10:00+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1659#p1659</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1659#p1659"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1659#p1659"><![CDATA[
Ok, great!<br>Now, when your global settings are appropriate, you can do a fine tune of all other parameters.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Fri Feb 21, 2020 12:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bpe]]></name></author>
		<updated>2020-02-21T10:14:27+00:00</updated>

		<published>2020-02-21T10:14:27+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1658#p1658</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1658#p1658"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1658#p1658"><![CDATA[
Hi Eugene,<br><br>we noticed that our version of the code was slightly older than the one on your repository, so we updated it, reran the calibration and dm tuning with the images and your settings. Below is the result, which is very consistent with what you get.<br><br>Thanks a lot for the help!<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://forum.stereopi.com/download/file.php?id=61" class="postimage" alt="dm.png" onclick="viewableArea(this);" /></dt></dl></div><p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=349">bpe</a> — Fri Feb 21, 2020 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-02-20T08:43:01+00:00</updated>

		<published>2020-02-20T08:43:01+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1649#p1649</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1649#p1649"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1649#p1649"><![CDATA[
Hi Bpe,<br>My 3dmap_set.txt and dm-tune.jpg are in attached ZIP. I used downscaled scene_1280x480_7.png file for making this dm-tune.jpg<dl class="file"><dt><span class="imageset icon_topic_attach"></span> <a class="postlink" href="https://forum.stereopi.com/download/file.php?id=58">3dmap-set-dm-tune-jpg.zip</a></dt></dl><p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Thu Feb 20, 2020 8:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bpe]]></name></author>
		<updated>2020-02-19T14:57:32+00:00</updated>

		<published>2020-02-19T14:57:32+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1647#p1647</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1647#p1647"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1647#p1647"><![CDATA[
If it helps - I tried switching back imgLeft and imgRight, and I got this result. It's relatively close to what you got, only switched (red = far away, blue = close).<dl class="file"><dt class="attach-image"><img src="https://forum.stereopi.com/download/file.php?id=57" class="postimage" alt="dm_new.JPG" onclick="viewableArea(this);" /></dt></dl><p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=349">bpe</a> — Wed Feb 19, 2020 2:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bpe]]></name></author>
		<updated>2020-02-19T14:43:36+00:00</updated>

		<published>2020-02-19T14:43:36+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1646#p1646</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1646#p1646"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1646#p1646"><![CDATA[
Yes, I did it with the exact same images I provided you with, so I thought by having the same DM settings I would get the same result. I tried a lot of tiny adjustments but got nowhere near your results.<br>I have not yet taken any new pictures.<br><br>Cool! Looking forward, thanks!<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=349">bpe</a> — Wed Feb 19, 2020 2:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-02-19T14:40:27+00:00</updated>

		<published>2020-02-19T14:40:27+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1645#p1645</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1645#p1645"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1645#p1645"><![CDATA[
Am I right understand you, that you just try to repeat my experiment without taking any new photos? You’re using the same images set you provide me with your Google Drive? It’s a good idea to do this before taking the new images.<br>If you do it this way, have you try to adjust mindisp and numofdisp slightly? They are very sensitive.<br>Upd&gt; I’m out of my lab now. I can export my depth map settings and send you this file tomorrow.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Wed Feb 19, 2020 2:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bpe]]></name></author>
		<updated>2020-02-19T13:37:45+00:00</updated>

		<published>2020-02-19T13:37:45+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1644#p1644</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1644#p1644"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1644#p1644"><![CDATA[
So, I made sure the cameras are tightly in place, and they are. I re-screwed everything, just to be sure.<br>The cameras used to be unstuck, but that was fixed a while ago, so now there's no way they are moving.<br>I ran the calibration again with the exact same images, resized the image you used for the DM tuning and ran that, but with the exact same settings you have, it doesn't achieve the same results.<br>Any ideas?<dl class="file"><dt class="attach-image"><img src="https://forum.stereopi.com/download/file.php?id=56" class="postimage" alt="dm_new.JPG" onclick="viewableArea(this);" /></dt></dl><p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=349">bpe</a> — Wed Feb 19, 2020 1:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-02-19T11:47:04+00:00</updated>

		<published>2020-02-19T11:47:04+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1642#p1642</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1642#p1642"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1642#p1642"><![CDATA[
By the way, I mentioned your camera shift is vertical. V1 series camera has a small board with the sensor and optics, and sometimes this tiny board is not sticked to the green PCB. Try to move it slightly. As a rule, at the bottom of this sensor board it is 3M double-sided sticky tape with a protective layer. So you can remove this protective film and stick it to the PCB. Please check, if it is your issue.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Wed Feb 19, 2020 11:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bpe]]></name></author>
		<updated>2020-02-19T11:40:37+00:00</updated>

		<published>2020-02-19T11:40:37+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1641#p1641</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1641#p1641"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1641#p1641"><![CDATA[
Well, this is quite the improvement, thanks so much! I will try to replicate it on my end and will let you know, probably by tomorrow afternoon.<br><br>In terms of camera movement, they are both stabilized with a black board to which they are screwed to, so I'd be shocked if they moved a little or even at all. Still, I will fix the screws, make extra sure everything is in place, and re-do the calibration. I'll let you know!<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=349">bpe</a> — Wed Feb 19, 2020 11:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-02-19T11:12:01+00:00</updated>

		<published>2020-02-19T11:12:01+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1640#p1640</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1640#p1640"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1640#p1640"><![CDATA[
Ok, looks like I found a problem source.<br>To say briefly, you've taken calibration chessboard images with one camera setup, but image for your depth map with another setup. Under "setup" I mean the positions of the cameras with respect to each other on your camera mounting plate.<br>That's why it is recommended to fix cameras as robust as possible, because if you move one of them, you need to recalibrate your setup.<br><br>What am I did:<br>1. I did a calibration based on your images set<br>2. I used your image with the bottle and a keybiard for DM tune, But after calibration I noticed, that key points (like a top of the bottle) is not equalized horisontally.<br>3. So instead of your bottle-keyboard image I used one of your scenes photo for Depth Map calibration (resized it from 1280x480 to 640x240 before).<br><br><img src="https://stereopi.com/sites/default/files/2019-12-29-150607_1920x1080_scrot.png" class="postimage" alt="Image"><br><br>I used a "scenes" window on this screenshot as a ruler. You may compare the position of the bottle's cap on the left and right photos (left cap is higher), and the position of your hand on the chessboard photo (position on the right photo is higher).<br><br>So the idea is: fix cameras, so they can not move even slightly, after that do your calibration, and conduct your experiments. If you re-assemble your setup, or move one of your cameras, please do recalibration.<br>p.s. I decreased all DM settings to zero, except mindisp and numofdisp. THis helps to find appropriate settings faster. After that you can tune other parameters to get smoother DM.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Wed Feb 19, 2020 11:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-02-19T10:31:38+00:00</updated>

		<published>2020-02-19T10:31:38+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1637#p1637</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1637#p1637"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1637#p1637"><![CDATA[
I mean the distance between your cameras.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Wed Feb 19, 2020 10:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bpe]]></name></author>
		<updated>2020-02-19T10:25:10+00:00</updated>

		<published>2020-02-19T10:25:10+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1635#p1635</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1635#p1635"/>
		<title type="html"><![CDATA[Re: Depth map calibration/explanation]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1635#p1635"><![CDATA[
<blockquote class="uncited"><div>Bpe, what is the stereobase in your setup?</div></blockquote>Not sure what you mean, unfortunately :/<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=349">bpe</a> — Wed Feb 19, 2020 10:25 am</p><hr />
]]></content>
	</entry>
	</feed>
