FINDING THE NO-PARALLAX POINT

 

1. PARALLAX AND THE ENTRANCE PUPIL

Hold up a pen in front of you, close one eye, and focus your attention on the background scene as you move your head sideways from left to right. The pen will be seen to move to the left, relative to the background.  Like this:

 

This apparent change in position of the near pen is an effect called parallax. It's plain to see that if you overlay these two photos to align corresponding features, you can either align the background features OR the pen.  You cannot align both at the same time.    Ideally, therefore, when taking the photographs for a stitched panorama you need to take all the shots from a single viewpoint so that near objects don't change their position against the background in successive shots.  This will greatly ease the task of  joining the images seamlessly to form a perfect panorama image.  Hence, the "eye" of the camera needs to be kept in a constant position when the camera is rotated to point in a different direction for each shot.  

Just as the pupil of your eye is the centre of the world it sees, so it is that the entrance pupil of the camera lens is the centre of the scene it sees.  It is about this point that you want to rotate the camera The point is sometimes referred to as the no-parallax point (NPP). Formerly, it was generally thought that the ideal point to rotate the camera about was the front nodal point of the lens.  This has now been shown to be incorrect (see link below), but as the methods generally devised for finding the "nodal point" actually locate the entrance pupil, the results are fine.  It's just wrong to call the point so found the "nodal point", which is a completely different point in the lens system and in another position altogether.  A rose by any other name .....

NB. While the above applies strictly to standard rectilinear lenses, fisheye lenses don't conform exactly to this model, as explained in the note at the end of this tutorial.  However, the panohead adjustment procedures are similar.

 

2. STITCHING ERRORS AND PARALLAX

Failure to rotate the camera about the entrance pupil is very likely to result in visible stitching errors. However, do not assume that if you are seeing stitching errors in your panoramas, that these are necessarily due to parallax.  You can have your camera perfectly mounted to avoid parallax and still have stitching errors.  The cause of the stitching errors may be poor correction of lens distortions or badly placed control points in PTGui.  Movement of clouds and tree branches etc. can also cause problems. You may be able to minimise the stitching errors or even hide them altogether by intelligent blending - either manually (by editing the layer masks in a layered .psd file), or automatically (by using a blender such as Smartblend).

The bottom line is that if you want to check if your camera is correctly set up to avoid parallax, then you should do some tests designed specifically to reveal the presence of parallax.

 

3. A DIRECT APPROACH - FOR SLRs ONLY

Finding the no-parallax point is not difficult, especially in the case of most single lens reflex cameras,  for which the entrance pupil can be readily seen as a bright spot or disc when you point the viewfinder (i.e. the back of the camera) at a bright light and simply look into the lens.  Stop down the lens to f/16, say, and hold down the depth of field preview button on the camera (if there is one).  With the 3D vision provided by your two eyes, it is easy to judge the approximate position of the bright spot:  just move a finger along the lens barrel to a point where it seems to be the same distance away. If you have difficulty seeing a bright spot or disc, just point the back of the camera up at the sky and look into the front of the lens.  (With a fisheye lens, it isn't really necessary to stop down the aperture as the spot will be quite small even with the aperture wide open).

This leads to a novel method of adjusting the camera position on a panorama head - simply watch the entrance pupil as you rotate the camera and check for sideways movement of the spot. It works well for short focus lenses such as fisheyes.

 

 

 

But first, you need to set the position of the camera on the horizontal arm of the head so that the entrance pupil is laterally aligned with the rotation axis.  To do this, you can rotate the camera to point vertically down.  Then, the axis point of the head (such as the central adjustment screw on the Nodal Ninja 3 head) should be centered in the image frame. You may not be able to focus sufficiently closely with some lenses to make this adjustment, but you could temporarily switch to a different lens. Alternatively, with the head levelled, you can make a visual check of the entrance pupil spot using a plumb line held in front of the lens. The spot and centre of the adjustment screw should be vertically aligned, as shown here.  (The thread was taped to the top of the lens simply to take the photograph. You can just hold the thread in a steady hand).

 

An indication that the lateral position is not quite right is a broken, sawtooth edge to the head at the nadir in a stitched panorama (an unpatched nadir, of course).  The example on the right is a typical example:

The top of the head looks somewhat like a circular saw. In this case, the "teeth" are set for cutting with a clockwise rotation of the saw.  This indicates that the entrance pupil is offset to the left of the pano head axis, as viewed from the back of the camera, so the camera needs to be shifted a little to the right. If the saw is set for cutting with a counter-clockwise rotation, then the camera needs to be shifted to the left.

 

 

Next, you will need to devise some sort of sighting device to provide a fixed reference point when checking for movement of the bright spot of the entrance pupil.  This shows a simple sight that can be made in a couple of minutes with a needle and a strip of cardboard:

 

I have also used an empty ball point pen barrel set up in front of the lens so that the bright spot appears centered in the hole at the end when you peer through it.  If the spot moves to the left when you rotate the camera clockwise, then the entrance pupil is in front of the rotation axis and you need to move the camera back a little. If it moves to the right, then you want to move the camera forwards. If the spot remains stationary, the entrance pupil is at the no-parallax point. This shows what you see when the camera is too far back on the top rail:

Nudge the camera position forwards and backwards until there's no difference in entrance pupil position when the camera is rotated from one normal shooting position to the next, e.g. at yaw -30 and +30 degrees if you take 6 shots at 60 degree increments to cover 360 degrees.  A quick way to adjust the camera is to first centre the entrance pupil in the sight for the yaw=0 position.  Then rotate the camera to the yaw=30 position and slide the camera along the top rail to bring the entrance pupil back into alignment with the sight. Check the yaw=-30 position and you're done:

The important thing is that the entrance pupil is in the same position at each angle of yaw, e.g. +30 and -30.  Any shift of the entrance pupil between the two angles is not important, particularly in the case of fisheye lenses, as explained in the note at the end.

To check that the entrance pupil is positioned on the axis of the top rotator, rotate the top rail by 180 degrees and the bottom rail by 180 degrees so that the camera points straight ahead again - like this (a different head this time):

Use a sight as before to check that the vertical position of the spot remains the same.  It's a good way of checking that the horizontal position is correct too.

 

4. A MORE TRADITIONAL METHOD

The most accurate method I have found is basically the same as many others described elsewhere. You just take two overlapping shots as you would for a panorama, but shoot through a window looking out onto a distant scene. Stick a short piece of tape onto the window in the middle of the overlap area, with the camera about 50cm away and stopped down to f/22.  (Make sure that the tripod is on a firm footing to avoid wobble of the camera and head).  All you have to do then is check the position of the tape against the background in the two shots.  These are crops showing the overlap in two fisheye images:

 

Comparing the images in Photoshop is generally straightforward. It helps if you layer the images and align them so that switching the top layer on and off reveals the movement of the tape.  The camera was rotated L-R for these shots. It is clear that the entrance pupil moved to the right, for you can see a bit more around the right hand side of the tape, and less on the left hand side.  This means the entrance pupil was in front of the rotation axis, so the camera needs to be moved back a bit.  Take another two shots and repeat as necessary until no parallax shift can be discerned.

A further refinement:

The close distance of the tape means that it can appear somewhat out of focus with some lenses, making accurate judgement difficult, especially if you also have to contend with the strong edge distortion of a fisheye lens.  That problem can be solved by a quick stitch of the two images in PTGui, putting control points only on the background. For output, select only the small central area that shows the tape and generate a layered PSD file. Again, view the file in Photoshop, switching the top layer on and off to reveal any parallax movement.

This is what I got on my first stitch when calibrating a 70mm lens after initially roughly estimating the entrance pupil position by eye (just by looking into the lens):

 

The tape is 25mm wide, so the shift is quite small.  Understand that the size of this apparent shift of the tape is virtually the same as the sideways movement of the entrance pupil and is independent of the distance of the tape to the camera. The camera setup is already probably good enough for many purposes. Note that it's very easy to judge the shift despite the tape being somewhat fuzzy, the camera being focused on the background.  But let's now correct the camera position to get the best possible result.
 

 

As before, from the direction the tape moved as the camera was rotated clockwise, I decided which way I needed to shift the camera to move the entrance pupil closer to the rotation axis. I nudged the camera a few mm and repeated the test, using the PTGui project file from the previous test as a template and assigning 4 or 5 control points. After four attempts in all, taking three quarters of an hour, I ended up with this result:

This looks well nigh perfect, with no discernable parallax shift.
 

Some will regard the stitching process as overkill, but the tests only have to be performed once for a given lens and it's both satisfying and reassuring to know that parallax has been more-or-less eliminated completely.  But as already mentioned, you can dispense with the stitching and simply compare the images in Photoshop, or even check for parallax movement just by looking through the viewfinder.  If your camera has LiveView, zoom in for a magnified view.  It's up to you to be as accurate as you want.  The basic method remains the same.
 

 

5 RING MOUNT HEADS

Most ring mounts are not adjustable, being set up to suit a particular lens.  The Nodal Ninja Ultimate R1 and R10 heads are different in accommodating different lenses and having a fore and aft adjustment mechanism, as well as tilt in the case of the R1.  This makes it possible to set the no-parallax point by sliding the camera backwards and forwards, just as is done by adjusting the position on the upper rail of a spherical head like the NN3/5.  The techniques for finding the NPP are therefore virtually the same. The only difference is that there is no horizontal and vertical positioning to worry about. Simply select the angle of tilt required and check for parallax as the head is rotated between detent positions. Move the camera backwards and forwards until the parallax is eliminated, or at least minimised. NB. This position will vary according to the angle of tilt selected.

 

 

 

NOTE - FISHEYE LENS CONSIDERATIONS:  On the subject of accuracy, you need to be aware that the entrance pupil in a fisheye lens is not centred on a single point. Its apparent position varies for light rays entering the lens at different angles to the optical axis.  See Michel Thoby's page, which shows how the entrance pupil for the Sigma 8mm f/4 lens ranges over a distance of about 20mm for rays at different angles. The entrance pupil is therefore centred on a floating point that moves about over a surface shaped rather like the flared end of a trumpet, according to the direction of the light rays.  It's for this reason that you should adjust the no-parallax position to suit the angles that correspond to the seams in your panorama, where parallax errors are likely to show up.  The camera is not rotated about the entrance pupil itself, but about a point which makes the entrance pupil appear to occupy the same position when viewed in the direction at which consecutive shots will be joined - e.g. at 45 degrees to the lens axis for a 4 shots around panorama.  

While this will be fine for the horizontal parts of the scene, rays from the nadir and zenith regions will be entering the lens at angles approaching 90 degrees to the lens axis, which implies a different entrance pupil location and hence theoretically necessitating a different no-parallax rotation point.  The choice of rotation point must therefore be a compromise, but stitchers can usually cope well enough to avoid serious stitching errors.  The problem is largely avoided when taking 4 around plus nadir and zenith and joining at 45 degrees vertically and horizontally like a cube.

To see the variation in position of the entrance pupil at different angles to the lens axis, all you need do is first view the entrance pupil from the front of the lens. It will appear to be located well inside the lens, roughly at the position of the gold band in the case of the Sigma 8mm lens. Now move slowly round to the side of the lens, keeping the entrance pupil in view. It will move forwards so that it still remains easily visible almost up to 90 degrees, but evidently it's no longer at the gold band, because that position is completely hidden by the lens barrel.  You can see the bright spot of the entrance pupil just in front of the lens barrel on this photo taken from the side, almost at 90 degrees to the lens axis:


 

LINKS

PanoTools wiki: Entrance pupil database

Rik Littlefield: Theory of the No-Parallax Point in Panorama Photography

Hans Nyberg: Finding the NPP of fisheye lenses

Pierre Toscani: Fisheye lenses

Alain Hamblenne: The Grid method for finding the NPP

Michel Thoby: The Least-Parallax Point (LPP) theory

 

John Houghton - 10/08/13
Email: j.houghton@ntlworld.com