on landscape The online magazine for landscape photographers

The Science and Aesthetics of the Hole

Testing Various Pinhole Sizes

Tim Parkin

Tim Parkin

Amateur Photographer who plays with big cameras and film when in between digital photographs.

Flickr, Facebook, Twitter

We’ve all heard of pinhole photography and many of us have no doubt had a go at it in some form or other, either by building a basic pinhole camera, sometimes by ‘pretending’ to demonstrate to a hand child, or through buying a very expensive “hole enclosure system” (commonly known as ‘a pinhole camera’).

And what could be simpler than a hole that lets the light through and forms an upside down image on a sensor or film surface? Well, it turns out that there is quite a bit of science going on that means getting the ‘right’ hole is more complicated than just poking a pin in some tin foil! As I’m a geeky sort, I figured it would be interesting to buy, and also make, some holes and test the results.

Firstly, a little bit of an explanation about the way that an image is formed when using a pinhole. If you take a look at the following diagram, you can see that light passes in direct lines from the letter G in front of the camera, through the pinhole and lands on the rear of the camera, inverted top to bottom and left to right.

However, this presumes that we have a hole with no width or height. If we introduce a ‘real’ hole, we can see that each ‘point’ in our letter gets ‘blurred’ because light from a single point projects to a circle.

If we make the circle smaller, the amount of blurring gets less and hence the image looks sharper.

This suggests that if we have a really small hole we get the sharpest image. However, sadly, science gets in the way. When light passes close to an edge, it is ‘bent’ by that edge*. This is called diffraction and is minimal for a large hole where the area of the hole away from an edge is a lot more than the area of the hole near the edge which is subject to diffraction. This means there is a transition point as the hole gets smaller where the image starts to blur again because of this diffraction.

The blurring from diffraction is actually a little more complicated than the simple geometric blurring of a large hole and the image formed is a central blurred spot surrounded by less and less bright ‘rings’ of light. This is called an Airy Disc and I’ve shown this in the diagram above.

*actually it’s a lot more complicated than that but quantum physics and wave/particle duality is a little beyond this article

So getting the sharpest image possible means trying to find the balance between geometric blurring because the hole is too large and diffraction blurring because the hole is too small.

Various scientists and undoubted geniuses have tried to work out what size this ‘perfect pinhole’ should be, most notably Prof. Joseph Petzval, Lord Rayleigh and Prof. Lommel. What is surprising is that they all came out with different answers! This is partly because our understanding of diffraction was still developing during their era but the most complicated problem is that have the highest resolution result and having a sharp picture are two different things. There are two different solutions for optimal pinhole size, larger holes for the best resolution, smaller holes for the best contrast, which is what we need for a picture to look sharp.

Finally, just to confuse matters further, our assumption that a pinhole camera renders everything in front of the camera equally sharp is also incorrect. As you can see from the following diagram, as an object gets closer to the pinhole camera, the blurring gets larger. In order to have sharp images up close, you need to have a smaller hole (but that can mean a softer image in the distance!).

I’ll add an appendix to the end of this article with the maths involved in some of these calculations but I think we need some practical results to look at. Tests Ahoy!!

Testing Pinholes

In order to test some of the topics discussed so far, I realised that I needed to get my hands on some pinholes of various sizes. Luckily, the kindly proprietor of Pinhole Solutions is a reader of the magazine and recognised my name and it was only a couple of days later when I received a set of complementary pin holes from size 0.1, 0.2, 0.3 and 0.5 mm (0.4mm was unavailable at the time).

Also, in order to find out if the quality of pinhole makes a difference (and to get the missing 0.4mm hole), I went back to one of the laboratory suppliers I had used when I was lecturing and ordered a 0.3mm and 0.4mm mounted pinhole (these holes are typically used in collimating beams of various sorts).

Untitled 22.tif

These pinholes are not only very accurately made (using high-intensity particle beams) but they are also made using a very a very thin support material that is tapered to almost nothing near the edge hole. To see why this makes a difference, have a look at the following diagram. You can see that the thick material shows less of a hole when light arrives at more acute angles and is completely blocked well before the thin hole making the vignetting greater and the image circle smaller. These holes are also pretty expensive too at £55 each!

In order to carry out the tests, I modified a Sony E-mount body cap so that I could tape each size hole to the end of the camera. I also used a set of extension tubes, Canon fit tubes on a Metabones Sony to Canon adapter, and a Canon body cap to allow different focal lengths to be tested (25mm, 65mm and 117mm). I then printed out some USAF resolution targets and positioned them at 15cm, 30cm, 60cm, 120cm and 240cm from the pinhole position. Here’s a photograph of the equipment used (I also had three other different size USAF res targets printed).

Here is a comparison of the different pinhole results at the 25mm focal length and 120cm distance.

pinhole photography - other articles to read:

In Praise of Film Pinhole Photography - David O'Brien

Paul Mitchell - Featured Photographer

Lensless Landscapes – Steve Gosling - Book Review


This is a premium article and requires a paid subscription to access. Please take a look at the subscribe page for more information on prices.

On Landscape is part of Landscape Media Limited , a company registered in England and Wales . Registered Number: 07120795. Registered Office: 1, Clarke Hall Farm, Aberford Road, WF1 4AL