{"id":783,"date":"2006-12-05T12:00:52","date_gmt":"2006-12-05T17:00:52","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=783"},"modified":"2006-12-05T07:30:21","modified_gmt":"2006-12-05T12:30:21","slug":"autostitch","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=783","title":{"rendered":"Autostitch"},"content":{"rendered":"<p>Via <a href=\"http:\/\/denbeste.nu\/Chizumatic\/\">Steven<\/a> I find <a href=\"http:\/\/www.dansdata.com\/quickshot031.htm\">Dan&#8217;s Data<\/a>, where in turn I find a link to <a href=\"http:\/\/www.cs.ubc.ca\/~mbrown\/autostitch\/autostitch.html\">Autostitch<\/a>, a program that will take a whole bunch of pictures of the same scene and stitch them together to make one big honkin&#8217; picture.<\/p>\n<p>The program claims that it does this automagically.  You just take a few dozen pics and Autostitch will fit them together, and at the same time weed out pictures that don&#8217;t belong to the set.  You don&#8217;t need to do anything. They also claim that you can can make spherical panoramas this way.  <\/p>\n<p>This sounded a bit too good to be true.  Spherical imaging is tough.  Imagine.  You&#8217;re standing on a hill.  You stay in place (most importantly, keep the camera in place) and shoot the whole scene: All around, up, down, everything.  Then you take those pics and give them to Autostitch, and it will piece them all together, correcting for varying levels of brightness, allowing for differering white-balance, correcting for slight parallaxing (because a human being is holding the camera and it&#8217;s bound to move a bit), and it will do it with no hints from the user as to how the images are supposed to fit together. <\/p>\n<p>I had to see this in action for myself, so this weekend I took a bunch of pictures of my home office and gave it a try.  It worked.  See the results below the fold.<\/p>\n<p><!--more--><\/p>\n<p><iframe SRC=\"http:\/\/www.shamusyoung.com\/scripts\/PTViewer.php?pano\" NAME=\"float1\" WIDTH=\"576\" HEIGHT=\"320\" ALIGN=\"center\"><\/iframe><br \/>\n<center><i>Click and drag on the image to rotate the view.<\/i><\/center><\/p>\n<p>To get this, I turned the camera around the full field of view, taking a picture every 20 to 30 degrees.  Then I aimed it up thirty degrees and went round again.    Then I aimed it up sixty and went around a third time.  Then I did that all over again, except aiming the camera down.  Then I took a few straight up and straight down pics.  When I was done I had exactly 100 pictures.  This was most likely overkill.   Maybe I could have gotten away with 45 degree turns. <\/p>\n<p>Obviously it worked really well, which I wasn&#8217;t expecting.  If I had known it would turn out this nice I would have picked a better subject!  The office is just a regular home office.  Books, games, a desk, a few computers, lots of dull clutter.  Meh.  <\/p>\n<p>There were some blacked-out regions in the resulting image, which I very sloppily covered up in Photoshop.  If you look straight down and straight up you can see the obvious hack work where I duplicated over the &#8220;holes&#8221;.  I&#8217;m not sure if the holes were the result of me not taking enough pictures of those areas, or if Autostitch couldn&#8217;t hack it.<\/p>\n<p>Assuming my monitor is &#8220;front&#8221; (which is obviously how I picture this room) then looking to your right you&#8217;ll see a large dry-erase board.  You can see some visual artifacts on the edges of this board and directly above it where the wall and the ceiling meet.  Looking left, there is a <em>really<\/em> bad seam along the edge of the desk.  <\/p>\n<p>To be fair, this isn&#8217;t the sort of thing autostitch was designed to do.  The program was written with outdoor vistas in mind, and I&#8217;m taking pictures of things less than two feet from the camera. I imagine that slight differences in the position of the lens become very important at these distances, and the way most tripods work you can&#8217;t aim a camera up and down wiothout moving it a bit.<\/p>\n<p>Still, I can&#8217;t believe how easy this was. It used to be you needed expensive lenses and expensive software to make full panoramas, and then you needed additional software to make it so that users could <em>view<\/em> those images. Once I had the software and understood it, I did all of this in less than two hours, for free.<\/p>\n<p>Amazing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Via Steven I find Dan&#8217;s Data, where in turn I find a link to Autostitch, a program that will take a whole bunch of pictures of the same scene and stitch them together to make one big honkin&#8217; picture. The program claims that it does this automagically. You just take a few dozen pics and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-783","post","type-post","status-publish","format-standard","hentry","category-pictures"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=783"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/783\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}