<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jaysen Marais &#187; panorama</title>
	<atom:link href="http://www.jaysenmarais.com/blog/category/panorama/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jaysenmarais.com/blog</link>
	<description>Making it happen, bit by bit</description>
	<lastBuildDate>Tue, 10 Jan 2012 06:50:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Spherical panoramas: photographs without edges</title>
		<link>http://www.jaysenmarais.com/blog/20090410/spherical-panoramas</link>
		<comments>http://www.jaysenmarais.com/blog/20090410/spherical-panoramas#comments</comments>
		<pubDate>Fri, 10 Apr 2009 19:52:00 +0000</pubDate>
		<dc:creator>jaysen</dc:creator>
				<category><![CDATA[panorama]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[pangeaVR]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[ptgui]]></category>

		<guid isPermaLink="false">http://jaysenmarais.com/blog/?p=134</guid>
		<description><![CDATA[Most lay-people see photography as the cut-and-dried act of capturing the world &#8220;as it is&#8221;. Ironically, the simple and necessary action of framing a photograph instantly renders the result subjective (&#8216;un-photogenic&#8217; subjects are typically pushed out-of-frame). This creative choice built into the camera&#8217;s design is part of the appeal of photography. However, we occasionally encounter [...]]]></description>
			<content:encoded><![CDATA[<p>Most lay-people see photography as the cut-and-dried act of capturing the world &#8220;as it is&#8221;. Ironically, the simple and necessary action of framing a photograph instantly renders the result subjective (&#8216;un-photogenic&#8217; subjects are typically pushed out-of-frame). This creative choice built into the camera&#8217;s design is part of the appeal of photography. However, we occasionally encounter entirely photogenic scenes that we wish to convey in their entirety. Luckily, there is a type of photograph that has no edges at all; the <a href="/blog/panoramas/">spherical panorama</a>.</p>
<p><object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="500" height="280" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"><param name="src" value="/panoramas/posters/poster_01_sand_blow_summit.mov"><param name="href" value="http://panoramas.jaysenmarais.com.s3.amazonaws.com/01_1800_500_sand_blow_summit.mov"><param name="autoplay" value="true"><param name="controller" value="false"><param name="target" value="myself"><param name="pluginspage" value="http://www.apple.com/quicktime/download/"><param name="type" value="video/quicktime"><embed src="/panoramas/posters/poster_01_sand_blow_summit.mov" width="500" height="280" autoplay="true" controller="false" href="http://panoramas.jaysenmarais.com.s3.amazonaws.com/01_1800_500_sand_blow_summit.mov" pluginspage="http://www.apple.com/quicktime/" target="myself"></embed></object><center><a href="/blog/panoramas/#moreton_sand_blow_summit" style="margin-right:5px;">Moreton island sand-blow (summit)</a><span style="background:url(/blog_media/time.png) left center no-repeat; padding-left: 21px; margin-right: 5px;">29th <abbr title="December">Dec</abbr> 08</span> <a href="http://maps.google.com/maps?t=h&amp;hl=en&amp;ie=UTF8&amp;ll=-27.193047,153.419059&amp;spn=0.005611,0.008765&amp;z=17" title="view in google maps" style="background:url(/blog_media/200904/google_maps_16x16.gif) left center no-repeat;padding-left:21px;margin-right:5px;">map</a> <a href="http://panoramas.jaysenmarais.com.s3.amazonaws.com/01_6500_sand_blow_summit.mov" rel="nofollow" style="background: url(/blog_media/quicktime_16x16.gif) left center no-repeat; padding-left: 21px;">HD (2.6<abbr title="mega-bytes">MB</abbr>)</a> </center>
<p>This spherical panorama captures the complete scene; from the zenith (above my head) to the complete horizon to the the nadir (under my feet). No photographic paraphernalia (camera, tripod, photographer) distracts the viewer from the scene. What kind of magical camera does this? Well, with the right know-how, software and technique any camera will do. This is because spherical panoramas are simply an amalgamation of many regular photographs. Here&#8217;s the kit I used to make my example panorama.</p>
<p><center><img src="/blog_media/200904/rig.jpg" width="500" height="222" alt="tripod, nodal ninja panoramic head and Canon 5D mark II" /><br/><em>Tripod fitted with a <a href="http://store.nodalninja.com/category_s/31.htm">Nodal Ninja 5</a> panoramic tripod head supporting  a <a href="http://www.dpreview.com/reviews/canoneos5dmarkii/">Canon 5D mark II</a> with <a href="http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&amp;fcategoryid=148&amp;modelid=7487">Canon 16 &#8211; 35mm f2.8L</a> lens</em></center>
<p>To get started we need a sequence of regular photographs which cover the entire scene. Typically this involves taking several &#8216;rows&#8217; of images, each containing a constant number of images (columns). The number of rows and columns required depends on the lens used but nevertheless the angle between rows should be consistent, as should that between each column (made easy by using a <a href="http://en.wikipedia.org/wiki/Panoramic_tripod_head">panoramic tripod head</a>, e.g. <a href="http://store.nodalninja.com/category_s/31.htm">Nodal Ninja 5</a>). In addition, a zenith shot (directly up) and two (complimentary) &#8216;nadir&#8217; shots (directly down) are required. Here&#8217;s the sequence of images I used to produce my sample panorama.</p>
<p><center><img src="/blog_media/200904/array_zenith.jpg" width="82" height="125" alt="zenith row" /><em style="display:block;">zenith</em><img src="/blog_media/200904/array_sky.jpg" width="500" height="125" alt="sky row" /><em style="display:block;">sky row</em><img src="/blog_media/200904/array_horizon.jpg" width="500" height="125" alt="zenith row" /><em style="display:block;">horizon row</em><img src="/blog_media/200904/array_ground.jpg" width="500" height="125" alt="zenith row" /><em style="display:block;">ground row</em><img src="/blog_media/200904/array_nadir.jpg" width="166" height="125" alt="zenith row" /><em style="display:block;">nadir (taking two at opposites enables later removal of feet &amp; shadows)</em></center>
<p>The rest of the spherical panorama creation process is all in software. I plan to cover the details in a future screen-cast, but for now here&#8217;s a quick overview:</p>
<ol>
<li><img src="/blog_media/200904/dpp_logo_75.jpg" alt="Canon Digitial Photo Professional (needs a better logo)" width="75" height="79" align="right" style="margin-left:10px;" />Ensure &#8216;consistent colour&#8217; across shots by correcting white-balance discrepancies (tip: remember to lock white-balance, exposure, shutter-speed, focal length and focus while shooting). Also correct any <a href="http://en.wikipedia.org/wiki/Vignetting">vignetting</a> (dark edges) and <a href="http://en.wikipedia.org/wiki/Chromatic_aberration">chromatic aberration</a> (coloured fringing on detail). For these tasks I use Canon&#8217;s bundled <a href="http://www.canon.co.uk/for_home/product_finder/cameras/digital_slr/eos30d/software/index.asp">DPP</a> software (if <a href="http://www.adobe.com/products/photoshoplightroom/">Lightroom</a>&#8216;s vignetting correction tools were better, I&#8217;d use it instead).</li>
<li><img src="/blog_media/200904/ptgui_logo_75.jpg" alt="PTGui" width="75" height="98" align="right" style="margin-left:10px;" />Import the corrected images into a stitching tool (after trying a few apps I finally ponied up for a copy of <a href="http://www.ptgui.com/">PTGui</a>). By creating control-point pairs (i.e. locating similar features in different photographs) I give PTGui the necessary information to correctly align, warp, composite and blend the all images (except for the zenith and nadir) into a single &#8216;stitched&#8217; equirectilinear result.</li>
<li>In photoshop I work a little magic to combine the two original nadir shots (which both contain my legs and feet) into a single feet-free nadir image</li>
<li>Using PTGui again I produce another equirectilinear image, this time containing only the warped ground (from the composited nadir) and sky (from the zenith shot)</li>
<li><img src="/blog_media/200904/photoshop_logo_75.jpg" alt="Photoshop logo" width="75" height="73" align="right" style="margin-left:10px;" />Back in photoshop I combine both equirectilinear images into a single image (&#8216;patching&#8217;) and apply any necessary retouching (e.g. making horizons dead-level and apply colour-corrections) to produce the <em>pièce de résistance</em>: the final (70+ megapixel) image.</li>
</ol>
<p><center><img src="/blog_media/200904/nadir_patching.jpg" width="500" height="387" alt="patching the warped nadir and zenith onto the stitched panorama in photoshop" /><br/><em>patching the warped nadir and zenith onto the stitched panorama in photoshop</em></center>
<p>At first glance this appears to be a regular photo, but in fact it covers 360&deg; horizontally and 180&deg; vertically (i.e. the entire scene). So how does it justify the &#8216;spherical&#8217; and &#8216;edge-less&#8217; tags? Well, the most effective way to present such an image is to wrap the rectangular image around an imaginary sphere and give the viewer control of a virtual camera placed at the orb&#8217;s centre. Rotating the camera simulates &#8216;looking&#8217; in the original scene. There are no limits on where the camera may look and no visible edges or seams.</p>
<p><center><img src="/blog_media/200904/wrap-sequence.jpg" width="500" height="80" alt="the distortion in the equirectilinear image disappears when the image is wrapped around a sphere" /><br/><em>the distortion in the equirectilinear image disappea<br />
rs when the image is wrapped around a sphere (inside which the viewer&#8217;s virtual &#8216;camera&#8217; rotates)</em></center>
<p>Spherical panoramas really take on a new dimension when combined with software like the <a href="http://jaysenmarais.com/blog/20080825/immersive-photographs-on-the-iphone-with-pangeavr/">PangeaVR iPhone app</a> I&#8217;ve mentioned before. Wherever I am I can show friends exactly what my favourite places are like by handing them the phone and saying &#8220;drag the image with your finger&#8221;. No other explanation, instruction or intervention is required for me to show friends overseas what the beach I learned to surf at is &#8220;really like&#8221;. Of course, the panoramas can also be viewed in a web browser. Below are links to a few panoramas I&#8217;ve created in the past few months from images taken on my Christmas holiday back home.</p>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="padding-right:10px;padding-bottom:10px;"><a href="http://jaysenmarais.com/blog/panoramas/#moreton_sand_blow_summit"><img src="/blog_media/200904/panorama_poster_01.jpg" width="160" height="90" alt="view 'moreton island sand blow (summit)' panorama" border="0" /></a></td>
<td style="padding-right:10px;padding-bottom:10px;"><a href="http://jaysenmarais.com/blog/panoramas/#moreton_sand_blow_saddle"><img src="/blog_media/200904/panorama_poster_02.jpg" width="160" height="90" alt="view 'moreton island sand blow (saddle)' panorama" border="0" /></a></td>
<td style="padding-bottom:10px;"><a href="http://jaysenmarais.com/blog/panoramas/#moreton_sand_blow_north"><img src="/blog_media/200904/panorama_poster_03.jpg" width="160" height="90" alt="view 'Moreton island sand blow (crest, north)' panorama" border="0" /></a></td>
</tr>
<tr>
<td style="padding-right:10px;padding-bottom:10px;"><a href="http://jaysenmarais.com/blog/panoramas/#moreton_sand_blow_middle"><img src="/blog_media/200904/panorama_poster_04.jpg" width="160" height="90" alt="view 'Moreton island sand blow (crest, middle)' panorama" border="0" /></a></td>
<td style="padding-right:10px;padding-bottom:10px;"><a href="http://jaysenmarais.com/blog/panoramas/#moreton_sand_blow_south"><img src="/blog_media/200904/panorama_poster_05.jpg" width="160" height="90" alt="view 'Moreton island sand blow (crest, south)" border="0" /></a></td>
<td style="padding-bottom:10px;"><a href="http://jaysenmarais.com/blog/panoramas/#moreton_beach_dune"><img src="/blog_media/200904/panorama_poster_06.jpg" width="160" height="90" alt="view 'Moreton island eastern beach (dune)' panorama" border="0" /></a></td>
</tr>
<tr>
<td style="padding-right:10px;padding-bottom:10px;"><a href="http://jaysenmarais.com/blog/panoramas/#moreton_beach_shore"><img src="/blog_media/200904/panorama_poster_07.jpg" width="160" height="90" alt="view 'Moreton island eastern beach (shore)' panorama" border="0" /></a></td>
<td style="padding-right:10px;padding-bottom:10px;"><a href="http://jaysenmarais.com/blog/panoramas/#palm_beach_avenue_beach_1"><img src="/blog_media/200904/panorama_poster_08.jpg" width="160" height="90" alt="view 'Palm beach avenue beach (1)' panorama" border="0" /></a></td>
<td style="padding-bottom:10px;"><a href="http://jaysenmarais.com/blog/panoramas/#palm_beach_avenue_beach_2"><img src="/blog_media/200904/panorama_poster_09.jpg" width="160" height="90" alt="view 'Palm beach avenue beach (2)' panorama" border="0" /></a></td>
</tr>
</table>
<p>Hopefully I&#8217;ll have more to add to my <a href="http://jaysenmarais.com/blog/panoramas/">panoramas page</a> soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaysenmarais.com/blog/20090410/spherical-panoramas/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://panoramas.jaysenmarais.com.s3.amazonaws.com/01_6500_sand_blow_summit.mov" length="2720186" type="video/quicktime" />
<enclosure url="http://panoramas.jaysenmarais.com.s3.amazonaws.com/01_1800_500_sand_blow_summit.mov" length="326740" type="video/quicktime" />
		</item>
	</channel>
</rss>

