|
|
|
|
![]() Geometry before |
![]() Geometry after |
![]() Corner detail before |
![]() Corner detail after |
|
Whenever a lens designed for use in air is used underwater, some
degree of image distortion is inevitable due to the air-water
boundary (which is, in effect, a crude lens). If the boundary
is flat, there will be pincusion distortion, the severity of
which increases with the angle of coverage. This distortion (being
classed as a type of 'radial distortion') occurs because the
image magnification increases with distance from the centre of
the picture. In addition to the obvious large-scale effect, the boundary has the property that the degree of radial distortion is a function of wavelength. This means that the amount by which the magnification changes as a function of radial distance will be different in the red green and blue colour channels. The result will be colour fringing in off-centre detail, otherwise known as 'chromatic aberration'. If a lens is perfectly rectilinear in air, i.e., it has been designed to preseve straight lines and right angles in the picture; its rectilinearity can be maintained underwater by mounting it behind a dome port and placing the entrance pupil at the centre of curvature of the dome. In practice however, the placement of the entrance pupil is unlikely to be exact; because dome port extensions are only manufactured in fixed lengths and the entrance pupil may be difficult to locate. Moreover, if a zoom lens is used, the entrance pupil position will change with focal length. If the entrance pupil is too close to the port, some pincushion distortion will be introduced; and if too far away, the converse effect, 'barrel distortion' will occur. Furthermore, although the dome port can give some measure of geometric compensation overall, it will still introduce a small amount of chromatic aberration. Notwithstanding the effect of ports, the camera lens itself may be far from perfect. This is particularly the case with zoom lenses of the type which offer a wide focal length variation range. Such lenses are usually only rectilinear at one particular focal length setting (if at all), and the overall geometry is sometimes actually improved when the lens is used with an underwater port. The unwitting introduction of chromatic aberration is highly undesirable because it degrades image quality. The uncontrollability of image geometry is also annoying in general, and deleterious to the scientific and technical applications of photography. With the advent of digital photography however, these privations are completely avoidable by the use of software radial-correction techniques. Various image editing programs now offer radial correction facilities, but the discussion here relates to a set of software utilities called 'Panorama Tools' (or 'PanoTools' for short), which were written by Prof. Helmut Dersch and released under the GNU Public Licence (GPL). PanoTools, as is suggested by the name, is a set of utilities designed to aid in the construction of panoramas from multiple photographs. The main functionality of relevance to underwater photographers however lies in a module called 'correct', which has a radial-shift function which can be used to remove barrel and pincushion distortion. 'Correct' also works on red, green, and blue channels independently, and so can remove chromatic aberration. The remarkable consequence is that even a far-from-ideal optical arrangement such as a 97° lens (35mm equivalent of 19mm) placed behind a flat port can turn in a performance comparable to that of a fully water-corrected lens. The correction determined for a particular lens + port combination and zoom setting moreover can be applied to all photographs so produced (there is no need to find corrections for individual pictures) and so after an initial experimentation phase the correction process is reasonably quick and easy. This means that the physical measures which might be taken to preserve image rectilinearity are no-longer strictly necessary (although dome-ports have other advantages as we will see). Getting started: PanoTools is available for various operating systems and can be used on its own or as a set of plugins for popular image-editing packages. To find out more, read the articles at wiki.panotools.org and panotools.sourceforge.net. For a 16-bit PanoTools installer for Windows, including automatic installation of Photoshop plugins, see the website of Jim Watters: photocreations.ca/panotools. The discussion to follow refers to the use of PanoTools with Adobe Photoshop on a Windows platform. |
|
Image Files Best results will be obtained by working with image files which have 48 bit-per-pixel (bpp) colour depth, i.e., converted RAW files saved as 16 bit-per-channel RGB TIFF or PSD files. If the camera will only output JPEG files, use the highest available output resolution and quality settings and convert to TIFF or PSD for intermediate adjustment. Be careful not to save adjusted versions over the original file, always use 'Save As...' and change the filename. There is a quality loss on applying JPEG compression, so only save as JPEG as the final step in working on an image. GIF and PNG formats are unsuitable for high quality photographs, due to restricted colour depth. The required correction for a particular image is largely dictated by the focal length of the lens used. It is therefore useful to have some means for reading EXIF data. |
|
Video Monitor Performance You will not be able to evaluate your corrections properly if your video monitor suffers from geometric distortion or poor colour convergence (i.e., inaccurate superimposition of the red, green, and blue pictures). LCD monitors do not suffer from such defects, and so are ideal for performing radial shift corrections; but they are not necessarily not so good for adjusting contrast (gamma varies with viewing direction). |
| To test your monitor convergence, click this link to launch a convergence test picture. Ensure that the window in which the picture appears is resizable (see right), and resize the window so that it is only slightly larger than the picture. Now move the little window around the screen and note any colour fringes which appear at the boundaries between black and white. If the monitor is set up correctly, best convergence (least colour fringing) should occur in the centre of the screen. |
![]() |
| When correcting for chromatic aberration, you should open the picture you are working on in a resizable window, and move the feature you are examining to a region of the screen which showed no, or at least minimal, colour fringing in the convergence test carried out above. If you cannot find a region of the screen which has good colour convergence, it may be time to upgrade |
|
Using Radial Shift |
|
Inages must be in RGB mode (not CMYK). Assuming that you have
loaded an image which requires correction, when you select the
'Filter / Panorama Tools / Correct' menu item you will see an
applet box like this: → Select 'Radial shift' (tick the box as per the illustration), and click the Options button. The applet box shown below will then appear. |
|

|
This dialogue box invites you to enter polynomial coefficients
for the correction, and the initial values presented when you
first use the tool are those which do nothing at all to the image.
You don't need to understand the maths to use the tool, but a
knowledge of what each of the coefficients does will ensure that
you adjust them in a sensible way. The coefficients, from left to right are known as a, b, c, and d. d is the first-order correction coefficient, c is the second-order coefficient, b is the third-order coefficient, and a is the fourth-order coefficient (the 'order' is the power to which the quantity rdest is raised). The first-order coefficient d changes only the size of the image without affecting the geometry. By expanding or contracting the red, green, and blue images independently about the lens axis you can perform a first-order correction for chromatic aberration. This is usually all you need. By changing the values of the higher-order coefficients, you can cause the image to expand or contract about its centre by an amount which depends on the distance from the centre to the pixel in question. Changing second and higher order coefficients therefore allows you to correct for barrel or pincushion distortion. Making the sum of the coefficients a+b+c+d=1 conserves the original image height at the centre. Making the sum greater than 1 reduces the height of the image, and making the sum less than 1 increases the height of the image. To correct for pincushion distortion, insert positive values for the second and higher-order coefficients. To correct for barrel distortion, use negative values. |
|
Interpolation Quality: If you click the 'Prefs' button of the Correct Options applet, and then click 'More', you will be given the various interpolator options shown right. Use polynomial interpolation for speed when determining correction coefficients, and use sinc interpolation for maximum quality when applying the correction finally. |
![]() |
|
Adjustment Strategy: Ideally, you should take a photograph of a rectangular test-card with white-on-black detail in at least one of the corners. Start by correcting only the image geometry, i.e., use the same coefficient values for the red, green, and blue channels. Simple barrel or pincushion distortion is an aberration that depends on the cube of the distance from the image centre, and so it is best to start by adjusting the 'b' (third order) coefficient. If the image has barrel distortion, try b= -0.1 and adjust 'd' so that the sum of coefficients is 1, i.e., d=1.1. If the image has pincushion distortion, try b=0.1 (and hence d=0.9). Look at the result and see if more or less correction is needed and adjust 'b' and 'd' accordingly. Hold down the [control] key and hit the Z key to revert to the original image before applying a new correction. To retain maximum image quality, the correction should always be carried out in a single operation, not incrementally. You can assess the straightness of straight lines by laying a plastic ruler against the monitor screen (assuming that your monitor is properly corrected. Don't use a steel ruler against a CRT monitor, magnetism may affect the geometry). Photoshop guides are only useful if the lines in the picture are exactly horizontal or vertical, which is unlikely. You can place a diagonal line on the picture with the Marquee tool, but a ruler is quicker. Note that it is important to use some instrumental means for determining straightness because an optical illusion occurs on comparing a distorted and an undistorted image, such that the corrected image may sometimes appear to be distorted in the opposite manner to the original. Adjust the coefficients until straight lines are on average straight. If a line appears to undulate after a third-order correction, then some second or fourth-order correction may be needed. Hence increase the magnitude of 'a' or 'c' while decreasing the magnitude of 'b' by a similar amount, and so-on until you have geometry as near perfect as you can be bothered to obtain. In general, even the most appalling lens-port combinations will succumb to a correction involving both 'b' and 'a' or 'c', and it is rarely necessary to use non-zero values for all three. With your geometrical correction parameters now determined, you can apply a first-order correction for chromatic aberration. For this, the green channel, being the middle colour in terms of wavelength, should be treated as the reference channel (i.e, the green channel is assumed to be correct and the others are brought into convergence with it). Hence adjust only the 'd' coefficients of the red and blue channels, leave green alone. Having reverted to the uncorrected image ([control]-Z), look for a white-on-black detail near one of the corners of the picture and note any lack of convergence of the red, green, and blue images. Magnify this detail and get it into the centre of the monitor (or wherever the monitor convergence is best). If you are just correcting for the effect of an air-water boundary (i.e., assuming that the camera lens does not make a major contribution to the aberration) you will find that the blue image is slightly too large, and the red image is slightly too small. If this is the case, then increase the 'd' coefficient for blue slightly, and reduce the 'd' coefficient for red. Note also that, for water, the difference in refractive index for green and blue light is about twice the difference for green and red, and the deviation observed is roughly proportional to this difference. Hence, presuming that you are correcting mainly for the underwater port, you will probably need to apply about twice as much correction to the blue channel as to the red channel. Start by increasing the blue 'd' coefficient by 0.003 and reducing the red 'd' coefficient by 0.0015. Fiddle with the parameters until you have exact convergence in your chosen corner feature. Toggle between the corrected and uncorrected versions of the image by hitting [control]-Z repeatedly. Notice that when convergence is obtained, there may be a slight blue haze around the feature: this is because lenses in general focus short-wavelength (blue-violet) light slightly less sharply than they focus red or green light (but the effect also depends on the filtration system used to separate red, green, and blue light in the camera). Once you have a first-order correction, inspect the image all over to see if chromatic aberration has reappeared in some regions. If it has you will need to make a second or higher-order correction, i.e., you will need to make tiny adjustments to the blue and red 'c' coefficients and so on; but the author has so far not found such corrections to be worthwhile. Always apply any correction you make to the completely uncorrected image, i.e., hit [control]-Z after every trial. PanoTools stores your last attempt in a preferences file, and gives it to you as a starting point for the next go. Hence you will quickly home in on a set of coefficients which performs both geometric and chromatic corrections in a single operation; and this formula will work for all subsequent photographs taken using the same lens, port, and zoom-setting combination. Use the 'Save' and 'Load' buttons at the bottom of the 'Correct Options' dialogue box to store and retrieve previously determined coefficients. Tip (Windows OS): If you hold down the [Alt] key and hit the [PrtSc] key when the correction coefficients dialogue box is on the screen, it will be saved to the clipboard. You can then create a new file (File / New) and paste the clipboard into it (Edit / Paste), then save this file with the images concerned. This is useful if you want to create documents explaining what you have done (and is the method used to show dialogue boxes here). |
|
27mm lens and flat port Olympus C-5060 camera (5.1Mp 1/1.8" RAW) in PT-020 housing with PPO-01 standard port. Zoom setting = maximum wide (35mm equiv: 27mm). Coverage: 77° in air, 56° underwater. |
![]() Pincushion distortion before |
![]() Geometry after |
![]() Chromatic aberration before |
![]() Residual aberration after |
|
Radial correction coefficients: |
![]() |
| To show the extent to which the optical effects demonstrated above are due to the air-water boundary, a photograph was taken of the test-card in air, using the bare C-5060 camera (no port) and the same zoom setting (max wide). |
![]() Geometry before correction. |
![]() Geometry after correction. |
![]() Chromatic aberration before correction. |
![]() Chromatic aberration after correction. |
|
Radial correction coefficients: |
![]() |
|
In this case, note that the lens on its own produces some barrel (fisheye) distortion at the widest setting, and so actually compensates for the distortion introduced by the air-water boundary when the camera is used underwater. The chromatic aberration is also minor, and quite different from that caused by an underwater port. Here we find that a white object has a magenta fringe on the outside, and a green fringe on the inside. The outer magenta fringe means that both the red and the blue images are too large. The inner green fringe means that the green image is too small, which is the same as saying that the red and blue images are too large, i.e., the inner green fringe is simply the colour complement of the outer magenta fringe. The upshot is that a small compensation can be achieved, in this case, by slightly reducing the sizes of both the blue and the red images. You will, of course, see different colour fringes with other lenses, and the fringe colours will change while you are working towards an optimum correction. Consequently, to work out the required direction of adjustment, you may find it helpful to memorise the complementary colours. These are as follows: |
| Secondary Colour | Complementary Colour |
| Cyan = Green + Blue | Red |
| Magenta = Red + Blue | Green |
| Yellow = Red + Green | Blue |
| The wedge-shape of the test-card in the final image above, incidentally, is simply due to the fact that the camera was not pointing directly at the card, i.e., it is an effect of perspective not lens distortion (you can pull-out this effect using the Photoshop Free-Transform tool). A slightly oblique camera angle does not affect the usefulness of a test shot because determining a geometric correction is merely a matter of making straight lines come out straight. |
|
Epoque DCL-20 wide converter and 27mm lens Epoque DCL-20 0.56x wide-angle converter attached to Olympus C-5060 camera in PT-020 housing with standard port . Zoom setting = maximum wide. |
![]() Barrel distortion before |
![]() Geometry after |
![]() Chromatic aberration before |
![]() Residual aberration after |
|
Radial correction coefficients: |
![]() |
| Note that the unprocessed image has a circular vignette, and that the correction process reduces its effect so that only a small amount of final cropping will be required. The vignette is due to the fact that the maximum angle of coverage of the camera lens exceeds that for which the DCL-20 conversion lens was designed. |
|
19mm lens and flat port Olympus C-5060 camera with WCON-07C 0.7x wide-angle converter in PT-020 housing with PPO-02 flat wide-port. Zoom setting = maximum wide, Coverage: 97° in air (35mm equiv: 19mm), 68° underwater.. |
![]() Pincushion distortion before |
![]() Geometry after |
![]() Chromatic aberration before |
![]() Residual aberration after. |
|
Radial correction coefficients: |
![]() |
| The use of a 19mm lens (35mm equivalent) behind a flat port is something no serious underwater photographer would consider. The PPO-02 packaging even had warnings about lens-distortion printed on it, and true to the laws of optics it gives chromatic aberration so bad that it can even be seen in the de-magnified image given above (top left picture). After correction however, the results are perfectly acceptable, as can be seen by the sharpness of the word "BLACK" in the bottom right-hand detail. |
| Once again, we can separate the effect of the underwater port from the performance of the optical system overall by photographing the test card in air using just the C-5060 camera and the WCON-07C wide converter. |
![]() Geometry before correction. |
![]() Geometry after correction. |
![]() Aberration before correction. |
![]() Aberration after correction. |
|
Radial correction coefficients: |
![]() |
|
As with the camera on its own, the camera with the Olympus wide-converter
also produces fisheye distortion and magenta-out, green-in, chromatic
aberration. Once again, a small amount of chromatic compensation
is possible, but the initial aberration is by no means problematic.
From the above investigation, we may conclude that, when used in conjunction with a wide-angle lens, a flat port introduces severe pincushion distortion and pronounced blue-out, red-in, chromatic aberration, both of which can be corrected in software. Evidently, when selecting a lens for use with a flat port underwater, it will be advantageous to choose one which exhibits a certain amount of barrel distortion when used in air. |
|
Limitations of the Correction Process: One issue which must be understood from this discussion is that the procedure outlined will turn a good air-corrected lens into a good underwater-corrected lens, but it cannot turn a bad lens into a good lens. The point here is that if the lens behind the port can produce sharp pictures when used in air, then the correction process will restore its ability to produce sharp pictures underwater; but if it gives fuzzy pictures in air, it will also produce fuzzy underwater pictures. At risk of repetition, we should also discuss the fact that the coefficients required for a particular lens and port vary according to the zoom setting. This however, will trouble old-school underwater photographers very little; since for pictures other than macro, they will all automatically wind the zoom to its widest angle and leave it there. The simplest operational policy is therefore to make test-card shots and determine coefficients for a set of easily repeatable focal-length settings, and stick to these settings when taking real pictures. Alternatively, make a set of test-card shots at reasonably closely spaced focal-length intervals and plot a graph of the way in which the coefficients vary with focal length. You can then use the zoom at will, and provided that you have a way to record the zoom setting with the image data, you can interpolate the graph for corrections at your randomly chosen focal lengths. If this sounds like hard work, observe that you should always try out a camera system in a swimming pool before venturing into the ocean, and that the initial, once and for all, acquisition of calibration shots will take about 10 minutes. The rest is messing around in Photoshop, which most photographers regard as fun. Unsharp Masking: Some of the lesss expensive digital cameras apply unsharp masking to the image by default. You should turn this feature off if at all possible, since it will interfere with any corrections you make for chromatic aberration and lead to an unsatisfactory result. The effect of unsharp masking is to increase the contrast at brightness transitions in the image (edges); sometimes with overshoot which creates black or white fringes around objects. If you apply a correction for chromatic aberration, these fringes will blur, and white fringes will split into three colours. The result is a picture which is notionally corrected, but has more colour fringing and softer edges than before; i.e., correction becomes pointless and reduces the subjective image quality. If you must use unsharp masking, use it only on the final image, use it only after the image has been re-sized to its final resolution, and never do it over a radius of more than about 0.7 pixels. The general rules for unsharp masking are very simple and easy to remember: Rule #1: Don't do it. Rule #2: If you must do it; don't do it yet. |
|
Why Aperture and Focus Settings Don't (usually) Matter: The correction procedure described above works regardless of the lens aperture setting because, for a reasonably well designed lens, the geometry of the image is not affected by the aperture. Likewise the geometries of the separated R G and B images are not affected by aperture, which is why you can't improve the chromatic performance of a lens and port by stopping down. What the aperture does is change the size of the circle of confusion (the extent to which a point is reproduced as a fuzzy circle), and so while the sharpness of a feature in the red green and blue channels may vary with aperture, its centre-point should always land on the film or sensor in the same place. Hence, once you have obtained exact convergence of the red green and blue images, changing aperture may alter the amount of coloured haze around a feature, but changing the correction will not result in better convergence. It is of course, possible to make a lens in which this convergence will wander, by failing to place the iris at the nodal point, but in the days of computer-aided design, such abominations are unlikely to be encountered. The focus setting, incidentally, does have an effect; but for a wide-angle lens, the difference between closest-focus and infinity is likely to be too trivial to warrant any adjustment of the correction coefficients. For a macro lens; there will, in principle, be a substantial difference, but good macro equipment should not require significant correction of the type being discussed here, and so the point is largely academic. Why Dome Ports are Still a Good Idea: Although the techniques outlined here make the expense of a dome-port system less necessary, a dome port has some very compelling advantages, which software correction cannot hope to match. The first point is that a flat-port increases the effective focal length of a lens, due to refraction at the air-water boundary, and hence reduces the angle of coverage. Since the idea in underwater photography is to use a wide-angle lens in order to put the minimum amount of water between the camera and the subject, a flat-port somewhat defeats this intention. The second point is that the dome-port was introduced in the 1960s as a way of avoiding port-vignetting with very wide-angle lenses (its optical advantages were actually discovered by accident) and it will obviously still fulfil this purpose. The third point is that a flat-port introduces pincushion distortion, and radial correction applies a compensatory barrel distortion. This means that there is barrel-shaped vignette in the corrected picture, which will have to be cropped-off before the picture is ready for presentation. The upshot is that you will lose up to about 10% of the format area in correcting a flat port, reducing the effective number of camera pixels and so causing a small reduction in the maximum available resolution. Thus the lens-port combination which gives the least distortion is the best starting point for radial correction, because it maximises the usable format area. |
|
19mm lens with 6" dome port Olympus C-5060 + WCON-07C 0.7x wide converter, in Ikelite 6130.61 housing with DP60 dome port (3" internal radius). Zoom setting = max. wide. Angle of coverage in air and water: 97° (nominal). |
![]() Geometry before correction. |
![]() Geometry after correction. |
![]() full-size detail before correction. |
![]() full-size detail after correction. |
|
Radial correction coefficients: |
![]() |
| Test pictures for the bare camera lens in air were given earlier, and show that the dome port introduces no additional geometric distortion. The barrel distortion in the uncorrected picture above is due entirely to the zoom lens (the centre of curvature of the dome is at the entrance pupil). The dome port does however introduce a small amount of chromatic aberration, this being a consequence of the extremely wide angle of coverage (97° nominal), but the result after correction is virtually perfect in this respect. The distance from the front of the dome to the test card was 256mm (calculated) to record a subject field width of 610mm after correction. The camera was set in macro focusing mode to cope with the proximity of the virtual image produced by the curved air-water boundary. The aperture setting was f/8. |
|
Olympus C-5060 in Ikelite housing with 3" dome port: Ikelite 6130.61 housing with DP60 dome port (no wide lens). Camera zoom setting = max wide. Angle of coverage: 77° in air (nominal), 73° underwater (actual, measured). |
![]() Geometry before correction. |
![]() Geometry after correction. |
![]() full-size detail before correction. |
![]() full-size detail after correction. |
|
Radial correction coefficients: |
![]() |
| Although the DP60 dome port was designed for the WCON-07C, it can still be used with the bare camera lens. In this case however, the lens entrance pupil ends up slightly behind the centre of curvature of the dome, and so the in air coverage of the lens (77°) is not exactly conserved. Actual coverage underwater (measured using a method described in the angle of coverage article), turned out to be 73.4±1.1° at a lens pupil to subject distance of 0.75m (but the fact that this figure is less then 77° is actually due to expansion of the diagonal in the correction for barrel distortion, rather than misconvergence of the entrance pupil and dome centre). Using a dome port on its own with the camera therefore gives wider coverage than when the camera is used with the WCON-07 and a flat port (only 68°); and the amount of chromatic aberration produced by the dome is effectively negligible at 73° coverage. A dome port for wide angle photography is evidently a very good idea. |
|
Using Radial Correction with Film Cameras: Although this article has so-far been about radial correction of digitally produced images, there is no reason why it cannot be applied to images scanned from film. Operational points to note are firstly: that the slide or negative must be scanned full-frame and cropped to the frame border (so that the lens-axis corresponds reasonably accurately to the centre of the picture); and secondly: any dirt specks on the film should be removed before correction (using the Photoshop cloning stamp or its equivalent) because they will acquire colour fringes after correction. Also note that the correction for chromatic aberration may not be quite so effective (it depends on the film), the reason being due to the spectral-bandwidth (wavelength spread) of the filters used to separate the three colour images. The filters used in digital cameras are usually fairly sharp, giving three almost discrete sampling wavelengths, which makes chromatic correction extremely effective. The dye-filters used in film, on the other hand, are often rather broad and prone to spurious responses, and the scanned RGB image must be synthesised from a CMY image; all of which means that there will be some dispersion within each colour channel, and hence more coloured haze around image features after correction. |
|
50mm Macro lens with Flat Port: Sigma 50mm f/2.8 macro lens (~46° coverage in air) with 3/8" thick acrylic flat port. Kodachrome 200 film. Port to subject distance (from memory) about 0.5m. |
![]() Raw scanned image, uncropped. |
![]() Corner detail before correction. ![]() Corner detail after correction. |
|
Radial correction coefficients |
![]() |
| In this case no geometric correction was applied for the simple reason that no test-card shots were available (and the camera system passed out of service long ago). If you can't see distortion moreover (and you don't need to make measurements from the photograph) there is arguably no point in correcting for it. Chromatic aberration in the original is not severe, as should be expected for the optical system used (the detail images are considerably more magnified than for the previous examples); but if you want to blow an image up to poster size, the radial correction is evidently worthwhile. |
|
35mm W-Nikkor Lens: Nikonos camera with W-Nikkor 35mm f/2.5 lens (air corrected underwater lens with flat glass front element), Coverage: 62° in air, 46.5° underwater. Kodachrome 200 film. |
![]() Uncropped image after correction. |
![]() Edge detail before correction. |
![]() Edge detail after correction. |
|
Radial correction coefficients |
![]() |
|
No geometric correction was applied for the same reason as before. The 35mm W-Nikkor used on its own is difficult to focus and consequently, for this author at least, produces a fair proportion of pictures destined for the wastebasket. The picture above is not particularly sharp (for the purposes of this demonstration, unsharp masking has not been applied), but it is one of the better examples from the few occasions on which the author decided to give the lens a try without its close-up attachment. In the off-centre detail of the picture shown above, blue light is considerably more out-of focus than green, and green is more out of focus than red. Hence there is a blue haze around details after correction. The coefficients for radial correction were determined using the detail shown, but the final coefficients are a compromise (best average) obtained by looking all over the picture. The author was intrigued to discover that the picture 'sprang to life' after correction: coloured patterns on the bodies of the fish suddenly fell into register, indicating that the general fuzziness of pictures taken with the W-Nikkor 35mm is as much due to chromatic aberration as it is due to inaccurate focusing. |
|
Collected Coefficients for a Flat Port: Shown in the table below are the shifts in the first order coefficient (d) which were used in order to correct for chromatic aberration in the flat port underwater picture examples given above. Where correction coefficient shifts for the lenses in air were known (27mm and 19mm) these have been subtracted from the values for the lens and underwater port combined. Also included is the theoretically required boundary condition that when the focal length becomes infinite, the required correction must be zero. |
|
|
|
||||
|
(19mm) |
(27mm) |
(~35mm) |
(50mm) |
(∞) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Obviously there is considerable scatter in these data, especially
in the shifts for blue light, and this can be accounted for in
two ways: Firstly there will be some deviation away from the
value required for the port alone in the cases where the coefficient
shifts for the lens in air are unavailable. Secondly, the final
choice of coefficients is always something of a compromise, and
the author tried to determine them without forcing them to agree
to some predetermined scheme (and there is considerable latitude
in choosing the blue coefficient when blue is less sharply focused
than red or green). There is a trend nonetheless, and it seems
that in the absence of any other information, and presuming that
the main lens is reasonably well corrected; any wide-angle picture
taken using a flat port can be improved by decreasing the red
coefficient by about 0.0015, and increasing the blue coefficient
by about 0.0025. To clarify a point made briefly earlier: it is also useful to note that if the chromatic aberration seen is entirely due to an air-water boundary, there is every reason to expect that the coefficient shift for blue will be about twice the shift for red, and that the shifts will be in opposite directions. This can be understood by presuming that the manufacturer of the sensor or film will have tried to choose primary colours at wavelengths corresponding reasonably closely to the peak spectral responses of the cone cells in the human eye. These peak response wavelengths are at 560nm (red), 530nm (green), and 424nm (blue), but most colour photography systems are based on old research which places than at about 600 (R), 540 (G) and 450nm (B) . Data from Kaye and Laby (ISBN 0-582-46354-8) give the refractive index for pure water at wavelengths close to the traditional primaries as follows: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Since the deviation between the red, green, and blue images at a particular point in the image is very small, the relationship between deviation and refractive index will be almost linear (i.e., directly proportional). Hence, since the magnitude of the refractive index difference between blue and green is about twice that between red and green, and one is positive while the other is negative; we expect the radial deviation to follow roughly the same pattern. |
|
Further information Correcting Wide Angle Distortion, by Peter Schulz. Splashdown Divers Eliminating color fringing, by Norman Koren (using Picture Window Pro): |
|
Dave Knight © Cameras Underwater 2004, 2006, 2011 |