Friday 16 April 2010

Layer methods to aid dust/spot detection

These are a few simple methods using two techniques and a combined technique to help with the task of finding and cloning or spotting dust or dirt marks on an image file. Different ones work well for different parts of the image but I have shown them used on a high key image shot on white.

This is an example where some of the water spots/lubrication spots from a shutter as well as dirt can be made easier to find. I use a combination of a number of these various techniques at various stages of cleaning the image.

Normal image view (below).
This is the orginal high key image showing the base of a white sugar bowl at 100% (the base is not part of the zone of focus for the picture) and shows the view that would be seen when correcting an image. Some spots can be seen but there are others there that might not be obvious with this view.





Method 1. Basic USM (below).
This very simple method (below) shows the opening of the Unsharp Mask (USM) dialogue box and the application of USM to oversharpen the image. The amounts used here are 155/8.4/0 (they can be varied to suit the image) but the box remains open, the OK button is not clicked (1) and the image can only be scrolled around (2). Once a spot is detected the USM dialogue box is closed, the spot cloned and the process repeated. This simple method works well for checking very clean images or as a last check after other cleaning methods have been used.

Method 1A. Basic USM applied in a layer (below).
With this method a background duplicate layer is created either using the layer palette menu or the main layer menu. With the background copy layer active the same USM is applied as Method 1 but the USM is OK'ed (click the OK button). This applies the USM to the duplicate layer. Now click the original background layer to make it active and then you can use the cloning tool or patch tool to clean the image. To see the results you need to click the USM layer on/off. When finished the duplicate USM layer is deleted. One advantage to this over the previous method is that you can use the navigator to move around the image as well as the scroll bars. It also enables you to zoom in and magnify any areas which is not possible with the previous method. As with all layer methods the opacity and fill of the layer in any of these techniques can be altered to suit the image.



Method 2. Applying a black overlay layer (below).
A new layer is created and with this layer active it is filled with black, using in this case the paint bucket. The blending mode is set to overlay and the background layer is then made active and the spots cloned. This method is very effective in high key or light tonal areas. The great advantage over the USM methods is that the result of the cloning can be seen immediately: also the opacity of the black layer can be altered to suit the image. When all cloning is finished the new layer is deleted.

Method 2A. Applying two black overlay layers (below).
The same method as 2 except that a second layer is created in exactly the same way. This works well for high key areas where the spots may be very difficult to find. Both layers are deleted when finished.

Method 3. This is a simple combination of the two other methods (below).
A duplicate background layer is made as per Method 1A and a new layer is made on top of this using the black layer method - Method 2. It really makes the spots stand out but does not have the advantage of seeing the results without clicking off the USM layer (background copy layer). The USM layer can be occasionally deleted and a new one created to make sure all the spots are gone.


Since I do a lot of high key work I spend a lot of time checking for marks/spots/dust on the images but using these methods it is much easier to get a nice clean image. A combination of any of these techniques can be used for all types of images (especially for detecting problem spots in skies).

My preferred method is two black overlay layers with a USM background copy layer. The various layers can be clicked on and off depending on the tonal values of the image area being worked on. The USM layer is occasionally deleted and a new one created to check the progress of the spotting. My final check is the open USM dialogue box method 1.

The layer methods can be recorded as an action so that the initial creation of multiple/duplicate layers and the filling with black/USM can be done by simply playing the pre-recorded action. The black layer can be recorded using edit > fill > black as using the foreground colour, as shown in the pictures, it would have to be manually set to black if recorded using the paint bucket.

No comments:

Post a Comment