<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>kosara.net</title>
  <link rel="alternate" type="text/html" href="http://kosara.net"/>
  <link rel="self" type="application/atom+xml" href="http://kosara.net/atom/feed"/>
  <id>http://kosara.net/atom/feed</id>
  <updated>2008-08-02T23:15:37-04:00</updated>
  <entry>
    <title>The Git and the Bazaar</title>
    <link rel="alternate" type="text/html" href="http://kosara.net/programming/the-git-and-the-bazaar.html" />
    <id>http://kosara.net/programming/the-git-and-the-bazaar.html</id>
    <published>2008-08-17T23:44:44-04:00</published>
    <updated>2008-08-18T10:11:42-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="Article" />
    <category term="Programming" />
    <summary type="html"><![CDATA[<p>When looking for an alternative way of doing source code management, I came across a number of distributed version control systems, among them <em>git</em> and <em>Bazaar</em> (or <em>bzr</em>). While the former may be technologically the most elegant and efficient system around, Bazaar is so far ahead in usability, documentation, and support that the choice is really quite easy.    ]]></summary>
    <content type="html"><![CDATA[<p>When looking for an alternative way of doing source code management, I came across a number of distributed version control systems, among them <em>git</em> and <em>Bazaar</em> (or <em>bzr</em>). While the former may be technologically the most elegant and efficient system around, Bazaar is so far ahead in usability, documentation, and support that the choice is really quite easy.<!--break--></p>
<p>I've been using Subversion for several years now, but I was never really happy with it. The potential for problems when updating code on different machines or when several people work together in a loose way is very high. I am also about to release a program we are working on as open source, and would like to do that in a way that encourages people to mess with it, rather than put lots of roadblocks in their way (like having to sign up for sourceforge, getting permission from me to be able to contribute, etc.).</p>
<p>Also, I want to encourage my students to check in their work more often to have a more fine-grained history of changes, and be able to do that when they're not connected to the net or only through our WLAN, which blocks most ports, including SVN. Since we are using Eclipse, and some of my students are not very comfortable with using the command line, integration with that particular IDE is very important.</p>
<p>So I came across <a href="http://git.or.cz/">git</a> and started reading, and it sounded great. A very efficient model, in use for the Linux kernel (which means it must be stable), and a storage system that made a lot of sense to me. The problems started when I wanted to actually use it. The program itself has an installer for the Mac and packages for Linux, but Windows is only supported through Cygwin (and they essentially warn people not to use it). Apart from the very technical documentation about how it is implemented, I did not find a clear explanation how to actually use it for practical work. An <a href="http://git.or.cz/gitwiki/EclipsePlugin">Eclipse plugin</a> is in the works, but it's only available as source, and it didn't even compile on my machine. The git <a href="http://repo.or.cz/w/egit.git">web interface</a>&nbsp;is also annoying and hard to navigate (another hosting service is <a href="https://github.com/">github</a>, which is a huge improvement).</p>
<p>When looking for more information, I found <a href="http://bazaar-vcs.org/">Bazaar</a>. Bazaar (or bzr) has is based on very similar model but was clearly developed with users in mind.&nbsp;It is used by the Ubuntu project, and follows many of the same ideas that have made Ubuntu so successful.&nbsp;There is ample documentation (a short tutorial, a long tutorial, a user guide, development guides, etc.) included with the installation package. There are installers not only for the Mac, but also for Windows, and there is an <a href="http://bazaar-vcs.org/BzrEclipse">Eclipse plugin</a> that is still alpha, but that works quite well (and it can be installed using the standard Eclipse way, rather than having to compile, export, and then add manually). There is also a hosting service for Bazaar projects called <a href="https://launchpad.net/">Launchpad</a>, which is very comprehensive: in addition to code hosting, there is bug tracking, translations, discussions, and feature to-dos called blueprints.</p>
<p>Bazaar's command-line user interface is quite easy to learn and makes a lot of sense. This is in contrast to git, which has around 150 commands that may all be very powerful, but that are frankly impossible to figure out. When introducing Linus Torvalds (who wrote git) for a <a href="http://www.youtube.com/watch?v=4XpnKHJAok8">talk at Google</a>, the introducer called git "a version control system only he can understand" - well put!</p>
<p>While I have found no mention of this in the git documentation (that really doesn't talk a lot about usage), Bazaar supports a number of <a href="http://bazaar-vcs.org/Workflows">different collaboration styles</a>, from the single developer who keeps his files locally to centralized svn-style repositories to completely decentralized open-source style development - as well as many hybrids. Another thing that works for my students and me in particular is that Bazaar uses sftp for communication with a repository (it also has its own server and protocol, but use of that is currently discouraged), which works well over restrictive WLANs.</p>
<p>So while I won't argue about the technical merits, I think that what I have described shows how important documentation and support are for the success of a system. Both work very well and are in use with large software projects, but for somebody who wants to use them without caring about the nitty gritty, documentation, user interface, and support make all the difference. With the backing of Ubuntu and Canonical, Bazaar is poised to become the most used distributed source control system once people start realizing what they're missing with Subversion.</p>    ]]></content>
  </entry>
  <entry>
    <title>A New Beginning ...</title>
    <link rel="alternate" type="text/html" href="http://kosara.net/blog/a-new-beginning.html" />
    <id>http://kosara.net/blog/a-new-beginning.html</id>
    <published>2008-04-07T21:12:32-04:00</published>
    <updated>2008-08-02T23:11:50-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="blog" />
    <category term="Meta/Site News" />
    <summary type="html"><![CDATA[<p>This website has been in existence for over eight years, and has seen few changes in that time. Looking at some of my writing (some of which goes back more than ten years) makes me cringe, and I had been planning a new website for a long, long time. It is finally time to flip the switch and look at an (almost) entirely new kosara.net.    ]]></summary>
    <content type="html"><![CDATA[<p>This website has been in existence for over eight years, and has seen few changes in that time. Looking at some of my writing (some of which goes back more than ten years) makes me cringe, and I had been planning a new website for a long, long time. It is finally time to flip the switch and look at an (almost) entirely new kosara.net.<!--break--></p>
<p>Some of the articles on this website are quite popular and receive a steady 100 visits per day, so doing away with them entirely seemed like a bad decision. So the more popular and relevant ones have been slightly updated but relegated to <a href="/topics/Archive">the archive</a>, where they will stay.</p>
<p>Some articles, especially the ones on language, have been deleted and will be replaced by a series of blog postings to come over the next months. The old blog is also gone, as it was deemed of very low quality and interest. Instead, the blog is now integrated into the site, and updates will be either blog postings (which will be generally short and of a more personal nature) or articles (longer and more general).</p>
<p>The topics of this website will largely stay the same, but the scope and amount of material will be greatly increased. There will be more on my research in information visualization (though look at <a href="http://eagereyes.org/">EagerEyes.org</a> for more on that), photography, language, and other topics that interest me (like Lego Mindstorms NXT robots).</p>
<p>What is also new is that most pages will allow visitors to comment. I received a steady stream of emails even from my old, horrible website, so I hope that this feature will prove to be useful. Also, feel free to use the contact form to let me know if things don't work the way they should.</p>
<p>And finally, the design has been updated to look more clean and calm than what it was like before. I hope to have made the site a lot more readable, and also created a bit of a visual identity that ties this site and eagereyes.org together. The design will continue to be tweaked and updated.</p>    ]]></content>
  </entry>
  <entry>
    <title>Information Visualization (InfoVis)</title>
    <link rel="alternate" type="text/html" href="http://kosara.net/research/infovis.html" />
    <id>http://kosara.net/research/infovis.html</id>
    <published>2008-04-06T10:14:40-04:00</published>
    <updated>2008-08-02T23:13:55-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="Article" />
    <category term="Research" />
    <summary type="html"><![CDATA[<p>Information Visualization (InfoVis) is a field of research that       deals with the visual display 	of data. By looking at images of the data, we can use the immense power of our visual 	system to detect patterns or outliers, and quite generally come to 	a better understanding of our data. To achieve this, the visualization 	method must be suitable for the data and the task in question.    ]]></summary>
    <content type="html"><![CDATA[<p>Information Visualization (InfoVis) is a field of research that       deals with the visual display 	of data. By looking at images of the data, we can use the immense power of our visual 	system to detect patterns or outliers, and quite generally come to 	a better understanding of our data. To achieve this, the visualization 	method must be suitable for the data and the task in question.<!--break--></p>
<p>Making abstract numbers visible is not a new idea. Everybody knows 	line, bar, and pie charts. These give you a better 	overview of the data, because they make it possible to see trends or 	relationships immediately. It takes a very long time to read a column 	of numbers, and even longer to decide the overall trend of these 	numbers. Looking at a simple line chart, you can tell immediately.         Such qualitative impressions of the data (e.g., does the trend point         up or down, which company has the largest market share and how do         the others compare, etc.) are often much more useful than the exact         numbers. Of course, charts don't replace the numbers, they just         show them in a way that is easy to grasp.</p>
<p>InfoVis goes into a similar direction, but goes much further. It 	allows you to look at millions of data items at the same time, 	and to interact with it. It thus makes it possible to visually 	analyze your data, not just draw a pretty graph of the results that 	you obtained by statistical (or other) means.</p>
<h2>An Example</h2>
<p>This example uses a dataset about car models from 1970-82. It contains       about 380 records, and about 10 values per record. For this example,       only five values are used: MPG (miles per gallon), cylinders, horsepower,       weight (in kg), year (two digits). The following table shows you the       first five records:</p>
<table border="0" align="center">
<tbody>
<tr>
<th>MPG</th><th>Cylinders</th><th>Horsepower</th><th>Weight</th><th>Year</th>
</tr>
<tr>
<td align="right">18</td>
<td align="right">8</td>
<td align="right">130</td>
<td align="right">3504</td>
<td align="right">70</td>
</tr>
<tr>
<td align="right">15</td>
<td align="right">8</td>
<td align="right">165</td>
<td align="right">3693</td>
<td align="right">70</td>
</tr>
<tr>
<td align="right">18</td>
<td align="right">8</td>
<td align="right">150</td>
<td align="right">3436</td>
<td align="right">70</td>
</tr>
<tr>
<td align="right">16</td>
<td align="right">8</td>
<td align="right">150</td>
<td align="right">3433</td>
<td align="right">70</td>
</tr>
<tr>
<td align="right">17</td>
<td align="right">8</td>
<td align="right">140</td>
<td align="right">3449</td>
<td align="right">70</td>
</tr>
<tr>
<td align="right">...</td>
<td align="right">...</td>
<td align="right">...</td>
<td align="right">...</td>
<td align="right">...</td>
</tr>
</tbody>
</table>
<p>The following image shows the dataset using a visualization method       called parallel coordinates (click it to get a bigger image).       Imagine the following steps for constructing the image from the       table: replace each column by a vertical line,       which represents the whole range of values for "its" column.       Then, for each row of the table (i.e., each record), draw a point       on each of the axes representing its values, and connect all the points       belonging to the same record with lines. The result looks like this:</p>
<p><img src="/files/images/cars_unbrushed_small.png" border="0" width="335" height="227" /></p>
<p>At first glance, this is just some line chaos. But when you look       closer, you can see some structure already: there are axes with       many different values, and axes with just a few. The <em>cylinder</em> axis only has five different values on it, and the <em>year</em> axis has a thirteen. For the others, you can get an idea of the       distribution of the values (even though this is not very accurate,        because lines can cover other lines). Especially on the <em>MPG</em> axis, you can see three large groups of values that seem to correspond       with certain values on the <em>cylinders</em> axis.</p>
<p>But what makes parallel coordinates (and, in fact, most InfoVis       techniques) useful, is interaction. You can zoom into parts of some       of the axes, rearrange them, throw some of them out and bring other       information in (e.g., the country of origin). Perhaps the most useful       and most direct interaction is called <em>brushing</em>. The idea is       that you mark certain values as interesting, and then look for other       properties of the selected data. The following images show the results       of brushing the above data set based on the year. In the left image,       cars that were introduced from 1970-72 are brushed, while in the right       image, the years brushed are 1980-82.</p>
<table border="0" align="center">
<tbody>
<tr>
<td align="center"><img src="/files/images/PC_70er_small.png" border="0" width="334" height="226" /><br /><em>Brushing 1970-72</em></td>
<td align="center"><img src="/files/images/PC_80er_small.png" border="0" width="335" height="226" /><br /><em>Brushing 1980-82</em></td>
</tr>
</tbody>
</table>
<p>Even at first glance, the two images look quite different. On closer       inspection, several interesting facts can be seen in the data.       First, in the 70s (left image), the weight of cars was spread over       a much wider range than in the 80s (right image): cars in the       80s were in the lower half of the weight range of the 70s. The same       is also true of the engine power (<em>horsepower</em> axis). Looking at the       MPG scale, you can also see that cars in the 70s had a much lower       mileage than in the 80s (for Europeans: low values are bad here, because       the MPG gives you the number of miles you can drive with one gallon       of gas, as opposed to the amount of gas the car uses per kilometer).</p>
<p>An interesting detail is that in the 1980-82 range, there was only       one car model with eight cylinders. If you follow the line from       the <em>cylinders</em> to the <em>horsepower</em> axis, you can see       that there is another line leading to the same value. Following that       line back to the <em>cylinders</em> axis, we find a four-cylinder car.       So the last remaining eight-cylinder had only as much power as one       of the four-cylinders, and definitely needed more gas than that car       (this is not really visible in this image without some more       interaction). The eight-cylinder was also much heavier than the       four-cylinder of the same power (this, again would need more       interaction).</p>
<p>This was just a very simple example, but (hopefully) one that was       easy to follow. InfoVis can in fact do much more, with larger data,       more dimensions, and higher data complexity.</p>
<h2>Why is InfoVis interesting?</h2>
<p>InfoVis brings together several interesting aspects. First of all,       it is graphical. That in itself is much more interesting than       statistics ;). And that also means that much of the research and       experience from perceptual psychology can be used to understand       why some visualization methods are better than others. Examples are       the Gestalt laws and preattentive vision: we see objects as groups       and in certain constellations because of these phenomena.</p>
<p>Another field that is relevant to InfoVis are the visual arts.       Visual communication was not invented by InfoVis people, and we       certainly can learn a lot about how to use colors, etc. Some work       has already been done in building new visualization methods on ideas       from the arts, like the layering used in oil painting. Much more       can still be done, though.</p>
<p>All this is not to say that InfoVis does not also pose technical       challenges - even though this is a particularly weak spot of most       InfoVis research (quite in contrary to volume and flow visualization).       Especially when dealing with large datasets on the order of magnitude       of one million items, it becomes crucial to design systems with       speed in mind. To be really useful, InfoVis methods need to respond       quickly to user input - only then, interactivity makes sense.</p>
<h2>Conclusions</h2>
<p>InfoVis is a fascinating application of computer graphics to real-world       problems and data. It unites artistic and technical aspects in a way       that is both useful and interesting.</p>
<h2>&nbsp;</h2>
<p>&nbsp;</p>    ]]></content>
  </entry>
  <entry>
    <title>The Loch-Lomo, A Pinhole Camera</title>
    <link rel="alternate" type="text/html" href="http://kosara.net/photo/lochlomo.html" />
    <id>http://kosara.net/photo/lochlomo.html</id>
    <published>2008-03-03T00:06:00-05:00</published>
    <updated>2008-08-02T23:15:03-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="Article" />
    <category term="Photography" />
    <summary type="html"><![CDATA[<p>The Loch-Lomo is a <a href="/photo/pinhole.html">pinhole camera</a> I built from an old Agfa Clack 6x9 box camera.    ]]></summary>
    <content type="html"><![CDATA[<p>The Loch-Lomo is a <a href="/photo/pinhole.html">pinhole camera</a> I built from an old Agfa Clack 6x9 box camera.<!--break--></p>
<p>My interest in pinhole cameras is in the pictures, not the "technology". Experiments with building cameras out of soda cans, matchboxes, or railway cars are fun, but as long as they don't deliver interesting pictures (and not just blurry ones), I don't find them very interesting.</p>
<p>I wanted to build a pinhole camera that would be simple and fun to use. And with that, I mean the following:</p>
<ul>
<li><em>Use film.</em> It's quite common to use photographic paper in 	pinhole cameras, and there are good reasons to do so. But I wanted to 	use film so that I have larger tolerances for exposure (which you 	really need for pinhole cameras) and can make prints much more 	easily. Using film is also necessary for at least the first two of the following requirements.</li>
<li><em>Easy film advance.</em> I wanted to be able to take several 	pictures without having to go to the darkroom 	between them. The Loch-Lomo takes eight pictures per roll of 120 film.</li>
<li><em>Easy film change.</em> I wanted to change films in broad daylight, 	again without having to find a completely dark place. This is 	especially important if you want to take your pinhole camera with 	you when travelling.</li>
<li><em>The color option.</em> It's fun to use color film in a pinhole 	camera for a change (see my <a href="http://www.flickr.com/photos/eagereyes/sets/72057594048464731/">pinhole pictures from Portugal on Flickr</a>). And that is much easier with film than with 	photographic paper. Yes, it would be possible in principle to use Ilfochrome or even color negative 	paper, but that simply wasn't an option for me. It is so much easier to get the film developed and printed in a lab.</li>
<li><em>Shutter mechanism.</em>&nbsp;I wanted to have a real shutter, rather than having to put a dark slide in front 	of the pinhole. That also makes keeping time much easier and 	is just plain more convenient: a standard cable release fits on the camera, which lets me take pictures from one second to many hours with great precision and convenience.&nbsp;</li>
<li><em>Resistance against wind.</em> Building pinhole cameras from 	cardboard boxes is all good and well, but when you use them outside, 	the image is easily blurred due to wind shaking the camera. I actually had a pinhole camera made from a kit that was made from cardboard, and I had it tip over from the wind on several occasions. The weight of the Clack (which is still quite light in comparison with other cameras) is enough to keep it from doing that.</li>
</ul>
<h2>The Loch-Lomo</h2>
<p>The name is a little play on words. "Loch," in German, means "hole"&nbsp;&ndash;&nbsp;the German word for "pinhole camera" is "Lochkamera." "Loch" is also Scottish for "lake" (you may have heard of <em>Loch Ness</em>). The <a href="http://en.wikipedia.org/wiki/Lomography">Lomo</a>, is a small 35mm point&amp;shoot type camera made in Russia. It doesn't take very sharp images, and its users don't seem to be concerned with what is on their pictures.</p>
<p>So the name "Loch-Lomo" is kind of a joke, putting these two words together that sound similar, and that also have some kind of meaning. And if the name seems familiar, it may be because you've heard of <a href="http://en.wikipedia.org/wiki/Loch_Lomond_%28disambiguation%29">Loch Lomond</a>, which can be found in Scotland, Canada, the US and Australia.</p>
<p>The Loch-Lomo is a modified Agfa Clack, which is a box camera that was made in the 1950s and '60s. The Clack's "optical system" consists of a single lens that is able to produce a usable picture due to the fact that the back of the camera is slightly curved. I bought mine for the equivalent of about 15 US$ at a flea market in Austria (where they are quite common and cheap), to play around with 120 film a bit. But the pictures never satisfied me (they were blurry, even on the contact sheets), and so I developed a plan to modify it.</p>
<h2>Converting the Clack into a Loch-Lomo</h2>
<p><strong>Please Note:</strong> I do not sell Agfa Clacks or Loch-Lomos. This page  is meant to show how it's done, but you have to do it yourself. It's also much more fun this way. Believe me, it's a totally different experience to see the first image you took with a camera you built yourself.</p>
<p>Making a pinhole camera out of an Agfa Clack is fairly easy. First, you have to remove a screw at the bottom part of the "lens" and remove the metal strap. Then you remove the that part that has "Clack" written on it by unscrewing it. Now you can remove the lens (two screws hold the metal lensholder in place). The only thing you really want to keep is the part that has "Clack" written on it, I use it as a kind of lens cap to protect the shutter mechanism when the camera is in my photo bag. If you leave it on during exposure, you get an elliptical frame around the image, though.</p>
<p>Under the lens there is a piece of metal with three holes: One with a small plastic lens in it, one with a yellow filter, and one a simple hole. I simply broke that off, because I couldn't find any other way to remove it. It needs to be removed because it would cause vignetting.</p>
<p>Now you can see the shutter, which is mounted onto a round metal plate. It will have to be removed to put the pinhole into place, but don't break it! After removing two screws, you will find that the round plate is also attached to two wires that connect the shutter to the flash contacts on the top of the camera. I simply cut these wires, because even if I ever want to use a flash with the camera, I will have to build in my own terminals and thus will need new wires.</p>
<p>Between the shutter plate and the plastic body, there is a thin felt ring. Remove that carefully, so that you can later use it to make the space between the shutter and the pinhole light-proof. Now simply stick a piece of metal foil (or whatever you like to use) with a small hole in it, put the felt ring on it, and screw the shutter plate back on. Voil&agrave;, you are now the proud owner of a Loch-Lomo!</p>
<p>While the description might make this sound like a lot of work, this can be easily done in about 20 minutes (including making the pinhole, if you have some experience doing that). I went from the idea of doing this to having my first printed pinhole pictures in a single day: I thought about doing it in the morning, converted the camera around noon, went out to shoot my first pictures in the early afternoon, processed the film and made prints in my small darkroom in the evening.</p>
<p>In the picture at the top of the page, you can see a white area on the top of the camera. That is a table with corrected exposure times for  long exposures that you can find on <a href="http://kosara.net/photo/pinhole.html#schwarzschild"> my pinhole camera page</a>.</p>
<h2>Making the Pinhole</h2>
<p>I studied Medicine for about two years (when I got bored with computer science), and from that I still had a set of scalpels and blades for them. The blades come in a thick tin foil that is very nice to handle. I cut out a piece that would be big enough for the Loch-Lomo, and then made a pinhole by putting the tip of the scalpel blade on the metal and slowly rotating it. This gives a very nice, round hole and good control over the size of the hole. I set my slide caliper to 0.3mm, and compared the hole to the gap between the parts of the caliper by moving it about behind the gap, and holding both parts against the light. Any thicker aluminum or other metal foil should work, or even a piece of metal from a soda can.</p>
<p>The only problem I have are reflections&nbsp;that cause bright areas near the middle of the image. I painted the inside of the tin foil black, which reduced the problem significantly, but hasn't solved it completely.</p>
<p>Here is a table with the Loch-Lomo's specs.</p>
<table border="0" align="center">
<tbody>
<tr>
<td><strong>Pinhole Diameter</strong></td>
<td align="right">0.3mm</td>
</tr>
<tr>
<td><strong>Focal Length</strong></td>
<td align="right">about 72mm</td>
</tr>
<tr>
<td><strong>Aperture (rounded)</strong></td>
<td align="right">1:256</td>
</tr>
<tr>
<td><strong>Film used</strong></td>
<td align="right">"120" Roll Film</td>
</tr>
<tr>
<td><strong>Negative Format</strong></td>
<td align="right">6x9cm</td>
</tr>
</tbody>
</table>
<h2>Pictures, Experiences</h2>
<p>Since I built the camera about five years ago, I have taken this camera with me on several travels and have been able to take some <a href="http://www.flickr.com/photos/eagereyes/sets/72057594048464731/">very interesting pictures</a> with it. Changing film is very easy, and having color negative film developed and printed is quite affordable and convenient. The cable release makes it easy to time exposures from a single second (which is about the shortest possible on a sunny day with ISO100 film) to several hours. I am even considering building a little Lego robot that can precisely time exposures, especially for long exposures overnight (that need to end before it gets too light).</p>
<p><img src="http://farm3.static.flickr.com/2299/2346124839_2a356c5fc8.jpg" border="0" width="500" height="320" /></p>
<p>The long exposure times make it possible to get some very interesting shots, especially when water is involved. The image above was taken before and during a recent total lunar eclipse, with an exposure time of about 2.5 hours. It nicely shows how the moon's brightness and color change over time as it more and more of its surface enter the shadow cast by the earth.</p>
<p>&nbsp;</p>
<table border="0" cellspacing="1" cellpadding="0" align="center">
<tbody>
<tr>
<td align="center"><img src="/files/images/pinholephoto5.jpg" border="0" alt="Pinhole" width="90" height="74" /></td>
<td align="center">This <a href="http://www.findon.info/photography/pinhole_photography/pinhole_photography_ring/pinhole_photography_ring.htm">Pinhole Photography</a> site <br /> owned by <a href="http://kosara.net/">Robert Kosara</a> <br /> hosted by <a href="http://www.ringsurf.com">RingSurf</a> <br /> <a href="http://www.ringsurf.com/netring?ring=pinholephotography;id=20;action=next">Next</a> | <a href="http://www.ringsurf.com/netring?ring=pinholephotography;id=20;action=prev">Previous</a> <br /> <a href="http://www.ringsurf.com/netring?ring=pinholephotography;id=20;action=rand">Random Site</a> | <a href="http://www.ringsurf.com/netring?ring=pinholephotography;id=20;action=list">List Sites</a></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>    ]]></content>
  </entry>
  <entry>
    <title>Pinhole Photography</title>
    <link rel="alternate" type="text/html" href="http://kosara.net/photo/pinhole.html" />
    <id>http://kosara.net/photo/pinhole.html</id>
    <published>2008-03-02T23:28:04-05:00</published>
    <updated>2008-08-02T23:15:37-04:00</updated>
    <author>
      <name>Robert Kosara</name>
    </author>
    <category term="Article" />
    <category term="Photography" />
    <summary type="html"><![CDATA[<p>A pinhole camera is the most basic type of camera: a light-tight box, a piece of film or photographic paper, and a small hole to let light in. Pinhole cameras produce images like no other camera, and offer a lot of room for experimentation. They are also easy to make.    ]]></summary>
    <content type="html"><![CDATA[<p>A pinhole camera is the most basic type of camera: a light-tight box, a piece of film or photographic paper, and a small hole to let light in. Pinhole cameras produce images like no other camera, and offer a lot of room for experimentation. They are also easy to make.<!--break--></p>
<h2>What is a Pinhole Camera?</h2>
<p><a href="http://www.flickr.com/photos/eagereyes/86703625/"><img src="http://farm1.static.flickr.com/37/86703625_5307fdf53a.jpg" border="0" hspace="5px" width="500" height="333" align="right" /></a></p>
<p>The basic principle of the pinhole camera is a dark room (<em>camera obscura</em> in Latin) or light-tight box, with a small opening on one side to let light in which is projected onto the opposite wall. In an actual pinhole camera, this is where a piece of film or photographic paper is placed, but pinholes were and still are also used to project images like that of the sun. As early as the tenth century, experiments with pinholes were made, and in the Renaissance, the <a href="http://en.wikipedia.org/wiki/Camera_obscura">camera obscura</a> was a popular form of entertainment and also a tool for artists to better understand perspective.</p>
<p>The obvious difference between the usual cameras we use and pinhole cameras is the lack of a lens. A lens gathers a lot more light on its large surface than a tiny hole, and so a pinhole camera requires much longer exposure times. It also provides almost infinite depth-of-field, though, which makes images possible that would not otherwise be.</p>
<p>But the most interesting part is really building such a camera. While it is possible to buy one, I would strongly advise against that. Building a pinhole camera is easy, and taking pictures with a camera you built yourself has a completely different quality than using a bought camera.</p>
<h2>Building a Pinhole Camera</h2>
<p>A pinhole camera can be built from almost anything. Popular objects are shoe boxes, film canisters, tin cans, and old box cameras. The main questions to answer are:</p>
<p><em>Do you have a darkroom?</em> If yes, your options are really unlimited. If no, it makes sense to build a camera that takes roll film, which can then be processed by a lab. Also, loading and unloading the film should be possible in normal light conditions, which is not the case with most shoe box or tin can cameras, for example. A darkroom is certainly not required for building your own pinhole camera, but it does help being able to quickly process and print your first roll of film to see if there are light leaks, how well the exposure works, etc.</p>
<p><em>Film or paper?</em> Shoe box cameras are usually loaded with a piece of photographic paper, which needs to be loaded and removed in a room that is completely dark (perhaps with a safelight). The paper is then developed into a paper negative, that needs to be copied onto another sheet of photographic paper to get a positive. This process is easy to do when you have access to a darkroom and want to do some quick experiments, but is unworkable otherwise. Paper negatives also don't have nearly the dynamic range of film, and produce very flat images with little contrast.<br /> Film is a much better choice, but does require a more sophisticated camera. The exception here is a film canister that can be loaded with a piece of film cut from a roll, but which essentially requires the same infrastructure as using paper. Roll film is much more practical, because it is possible to take many pictures and change film in the field, rather than having to head back to the darkroom after every shot.</p>
<p>Once you have decided on the type of camera to build, it is easy to find materials to make it from. I made a camera out of an old Agfa Clack box camera, which I call the <a href="/photo/lochlomo.html">Loch-Lomo</a>. A camera made from an iPhone box (which is black, and thus very well suited for this purpose), dubbed&nbsp;<a href="http://scothampton.com/ihole.html">iHole is a slightly&nbsp;</a>more stylish option. <a href="http://www.pinholephotography.org/">Justin Quinnell</a> makes cameras out of "pocket film" (110 type) cassettes, which he uses to great effect to shoot pictures from the inside of his mouth.</p>
<h2>A Different Perspective</h2>
<p><a href="http://www.flickr.com/photos/eagereyes/86699208/"><img src="http://farm1.static.flickr.com/43/86699208_da74298967.jpg" border="0" hspace="5px" width="500" height="349" align="right" /></a></p>
<p>The special properties of pinhole cameras make it possible to explore new perspectives that one would not otherwise have tried. The infinite depth of field and often wide angle of view make it interesting to put the camera on the ground, where it can see objects that are very close as well as ones far away.</p>
<p>Many pinhole cameras lack a viewfinder, and if they have one, it may not be very precise. Also, shoe boxes and film canisters don't have tripod mounts, so placing a camera precisely is difficult. Their low weight and negligible value makes it possible to put pinhole cameras where other cameras don't usually go: on <a href="http://www.flickr.com/photos/eagereyes/86703656/">top of bushes</a> or rocks, on the ground between walking people, <a href="http://www.pinholephotography.org/Nm14%20Boomerang.htm">mounted on boomerangs</a>, etc.&nbsp;</p>
<p>The inherently long exposure times also produce interesting results, though similar effects can of course be achieved with conventional cameras. A camera like the <a href="/photo/lochlomo.html">Loch-Lomo</a> has an effective f-stop of 1/256, so even in bright daylight, exposure times of less than one second are very rare. Because of reciprocity failure (see below), long exposure times become even longer, making exposures of hours, days, or months possible.</p>
<p>Water is especially interesting in this case, because its constant movement tends to create very pleasing effects with long exposures. Most images look as if the water was frozen, its surface looking like nacre.</p>
<p>Pinhole cameras provide a lot of room for experiments, and they really require experimentation. Simply making or buying a camera and trying to take the same pictures as with a regular camera won't lead to interesting results. But experimentation is what photography should really be all about!</p>
<h2>Examples</h2>
<p>Examples of pictures taken with pinhole cameras are easy enough to find, but one needs to be aware that one or even a set of pinhole pictures is not representative of all the things that can be done. There are different approaches, and the resulting images are quite different - just like with a regular camera!</p>
<p>A few examples are&nbsp;my own <a href="http://www.flickr.com/photos/eagereyes/sets/72057594048464731/">pinhole pictures on Flickr</a>, the&nbsp;<a href="http://www.pinholeday.org/gallery/">Worldwide Pinhole Day Gallery</a>&nbsp;and&nbsp;<a href="http://www.flickr.com/search/?q=pinhole&amp;s=int&amp;ss=2&amp;ct=5&amp;z=t">pictures tagged with <em>pinhole</em> on Flickr</a>, and of course <a href="http://www.pinholephotography.org/">Justin Quinnell's brilliant pictures</a>.</p>
<h2>Exposure Time Correction</h2>
<p>The long exposure times used in pinhole cameras require some extra attention. Starting from about one second, the exposure no longer increases in a linear fashion, but needs to be corrected to account for the <a href="http://en.wikipedia.org/wiki/Reciprocity_%28photography%29">reciprocity failure or Schwarzschild effect</a>. The following table gives the corrected numbers the Agfa Pan 100 (APX 100), but should work for any ISO 100 film, black&amp;white or color (I have used these times with APX 100 and Fujicolor 100).</p>
<table border="0">
<tbody>
<tr align="right">
<th>Measured Time</th> <th>Corrected Time</th> <th>&nbsp;</th> <th>Measured Time</th> <th>Corrected Time</th>
</tr>
<tr align="right">
<td align="right">1s</td>
<td>3s</td>
<td>&nbsp;</td>
<td>1m</td>
<td>16m</td>
</tr>
<tr align="right">
<td>2s</td>
<td>8s</td>
<td>&nbsp;</td>
<td>2m</td>
<td>43m</td>
</tr>
<tr align="right">
<td>4s</td>
<td>20s</td>
<td>&nbsp;</td>
<td>4m</td>
<td>1h45</td>
</tr>
<tr align="right">
<td>8s</td>
<td>55s</td>
<td>&nbsp;</td>
<td>8m</td>
<td>5h</td>
</tr>
<tr align="right">
<td>15s</td>
<td>3m10s</td>
<td>&nbsp;</td>
<td>15m</td>
<td>13h</td>
</tr>
<tr align="right">
<td>30s</td>
<td>5m50s</td>
<td>&nbsp;</td>
<td>30m</td>
<td>34h</td>
</tr>
</tbody>
</table>
<p>This table was prepared based on the following formula (thanks to Dieter Lefeling): tc =  0.1*(10*tm)^(1/(1 - lg 2)) (where tc is the corrected time, tm the measured time, and lg the base 10 logarithm).<span style="color: #2e162e;"><br /> </span></p>    ]]></content>
  </entry>
</feed>
