AJR ARRS Member Benefits
HOME HELP FEEDBACK SUBSCRIPTIONS ARCHIVE SEARCH TABLE OF CONTENTS
 QUICK SEARCH:   [advanced]


     


This Article
Right arrow Figures Only
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Right arrow Citation Map
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in PubMed
Right arrow Alert me to new issues of the journal
Right arrow Download to citation manager
Right arrow reprints & permissions
Citing Articles
Right arrow Citing Articles via HighWire
Right arrow Citing Articles via Google Scholar
Google Scholar
Right arrow Articles by Taylor, G. A.
Right arrow Search for Related Content
PubMed
Right arrow PubMed Citation
Right arrow Articles by Taylor, G. A.
Social Bookmarking
 Add to CiteULike   Add to Complore   Add to Connotea   Add to Del.icio.us   Add to Digg   Add to Reddit   Add to Technorati  
What's this?
AJR 2003; 180:1533-1536
© American Roentgen Ray Society


Photoshop for Radiologists

Removal of Dust and Scratches from Electronic Image Files

George A. Taylor1

1 Department of Radiology, Children's Hospital, 300 Longwood Ave., Boston, MA 02115.

Received August 20, 2002; accepted after revision September 10, 2002.

 
Address correspondence to G. A. Taylor.


Introduction
Top
Introduction
Cloning Tool
History Brush
Conclusion
References
 
Thirty-five millimeter slides accumulate dust and scratches over time. Despite proper care and maintenance, dirt may get baked into the film emulsion during exposure to the intense light of slide projectors and may be difficult to remove before electronic scanning. The purpose of this article (the third in a series) is to describe two powerful tools for the removal of dust and scratches from electronic image files. The first two articles [1, 2] discussed conversion of multichannel RGB files to gray scale, removal of patient identification, repositioning of text, resizing of images, and ways to improve the contrast and dynamic range of the image.


Cloning Tool
Top
Introduction
Cloning Tool
History Brush
Conclusion
References
 
Two general methods can be used in Photoshop (Adobe Systems, Mountain View, CA) to clean up a scanned image. The first, and easiest to use, is the "Clone Stamp Tool." This tool takes a sample of the image, which you can then apply over another part of the same image [3]. By choosing a small area that is similar in density and texture to the dirty part of the image, you can use this method to replace the dirty area with a clean version.

In the example provided, there are dust particles throughout the image, but they are best seen over the dilated ventricles (Figs. 1A, 1B, 1C). Dust in the localized area of the ventricle will be removed by cloning that area of the ventricle with an adjacent selection that contains no dust. Begin by choosing the "Clone Stamp Tool" in the "Toolbox" menu and selecting a brush size that is slightly larger than the piece of dust you want to remove. The "Brush" menu is located on the top left-hand side of the Photoshop marquee. Position the pointer of the clone tool over a part of the ventricle that is free from dust. Use "Alt" and click (Windows [Microsoft, Redmond, WA]) or "Option" and click (Macintosh OS, Apple Computer, Cupertino, CA) to sample the region. Click and drag the tool over the dust motes to remove them. As the dust is removed from different parts of the image, you may need to resample dustfree areas and the repeat the process until the appearance of image is acceptable. If an unwanted area of the image is inadvertently cloned (e.g., soft tissue outside the ventricle), simply undo the last step by finding "Undo Clone Stamp Tool" under the "Edit" menu of the marquee.



View larger version (85K):
[in this window]
[in a new window]
[as a PowerPoint slide]
 
Fig. 1A. Use of "Clone Stamp Tool." Original coronal sonogram of newborn with postinfectious hydrocephalus is shown on left, and magnified sonogram of temporal horn is shown on right. Note dust motes scattered throughout dilated ventricle.

 


View larger version (160K):
[in this window]
[in a new window]
[as a PowerPoint slide]
 
Fig. 1B. Use of "Clone Stamp Tool." After selecting "Clone Stamp Tool" (black arrow) from "Toolbox," "Brush" is selected from Photoshop (Adobe Systems, Mountain View, CA) marquee. In this example, brush size of 45 pixels has been chosen. Brush is positioned over dark, dustfree area of ventricle next to white dust motes (white arrows). Select "Alt" and click (Windows [Microsoft, Redmond, WA) or "Option" and click (Macintosh OS, Apple Computer, Cupertino, CA) to sample region. Note brush changes into rubber stamp during this maneuver.

 


View larger version (133K):
[in this window]
[in a new window]
[as a PowerPoint slide]
 
Fig. 1C. Use of "Clone Stamp Tool." Brush (white circle) has been used to paint over and remove white dust particles in ventricle.

 

Although we removed a few dust motes easily, the image shown in Figures 1A, 1B, 1C is replete with white dust particles scattered throughout the ventricles. The "Clone Stamp Tool" works well for small touch ups but is cumbersome for images that require more extensive cleaning. The "History Brush" is the preferred method for dealing with this situation effectively. Although it requires a few more steps, the results can be rewarding.


History Brush
Top
Introduction
Cloning Tool
History Brush
Conclusion
References
 
Photoshop provides a "Dust & Scratches" filter under the Photoshop marquee (Filter -> Noise -> Dust & Scratches) that makes the removal of unwanted spots easier. Unfortunately, it creates an image that is soft and often unacceptable. By using the "History" palette and "History Brush," the "Dust & Scratches" filter can be selectively applied while maintaining the sharp image details. This technique has been described by Tapp as "Back to the Future" [4]. "Back to the Future" involves three steps: a filter is applied, then a snapshot is taken of the image in the filtered condition, and finally the filter is undone, returning the image to its original state. Then the "History Brush" and "History" state can be used to selectively paint the "Dust & Scratches" filter only over the areas containing unwanted spots (Figs. 2A, 2B, 2C, 2D, 2E).



View larger version (88K):
[in this window]
[in a new window]
[as a PowerPoint slide]
 
Fig. 2A. Use of "Dust & Scratches" filter and "History Brush." Original sonogram (Figs. 1A, 1B, 1C) shows multiple dust particles overlying ventricles. "Dust & Scratches" filter is selected by clicking "Filter" menu bar (Filter -> Noise -> Dust & Scratches) as shown in upper left corner. "Dust & Scratches" dialogue window is shown in lower left. Note "Radius" and "Threshold" settings are at left end of slider bar (arrows). (Fig. 2 continues on next page)

 


View larger version (82K):
[in this window]
[in a new window]
[as a PowerPoint slide]
 
Fig. 2B. Use of "Dust & Scratches" filter and "History Brush." "Radius" bar setting is moved to left until white dust particles disappear (setting of 8 pixels). "Threshold" slider bar is then moved to left until dust begins to reappear on image; then bar is nudged back to left so dust disappears (setting of 7 levels). Click "OK." Resulting sonogram shows no dust particles but appears unacceptably soft.

 


View larger version (91K):
[in this window]
[in a new window]
[as a PowerPoint slide]
 
Fig. 2C. Use of "Dust & Scratches" filter and "History Brush." "History" palette is selected by clicking "Window" menu bar (Window -> Show History). Click on "bent page" icon (arrow) on lower bar of "History" palette (lower left) to create snapshot of image in filtered state (lower right). Return to Photoshop (Adobe Systems, Mountain View, CA) menu bar and select "Undo" under "Edit" bar (Edit -> Undo Dust & Scratches Filter," [not shown]).

 


View larger version (97K):
[in this window]
[in a new window]
[as a PowerPoint slide]
 
Fig. 2D. Use of "Dust & Scratches" filter and "History Brush." Click on empty box (black arrow) to left of "Snapshot" icon in "History" palette. Select "History Brush" from "Toolbox" palette (white arrow) and go to "Brush" menu on Photoshop marquee. Select "Darken" for painting mode (Mode -> Darken) and brush of appropriate size to paint over dust particles. Brush size is depicted by dotted circle over lateral ventricle.

 


View larger version (140K):
[in this window]
[in a new window]
[as a PowerPoint slide]
 
Fig. 2E. Use of "Dust & Scratches" filter and "History Brush." Sonogram after painting ventricles with "History Brush" in "Darken" blending mode shows complete removal of white dust while echotexture of brain is preserved.

 

The "Dust & Scratches" filter can be found in the Photoshop marquee under "Filter" (Filter -> Noise -> Dust & Scratches). This sequence brings up a dialog box consisting of a preview box and slider bars for "Radius" and "Threshold" settings. The goal is to eliminate problem pixels while preserving pixel noise or grain [3]. Begin by moving the "Radius" slider to the right until the dust motes have disappeared from the "Preview" box. Then, adjust the "Threshold" bar until you see the image grain reappear without seeing dust spots. Click "OK." The resulting image will likely be too soft to be acceptable (Fig. 2B).

Next, select the "History" palette by clicking on the "Window" menu bar (Window -> Show History). The "History" palette depicts a record of all actions made on the image since opening the file. It should have "Dust & Scratches" as the last action recorded. A snapshot of the image in its filtered state is created by clicking on the "bent page" icon on the bottom of the "History" palette. The filtering is then removed from the image by clicking "Undo Dust & Scratches" under the "Edit" menu bar (Edit -> Undo Dust & Scratches). This sequence returns the image to its original, dusty, unfiltered state. However, Photoshop has saved a snapshot of how the image had looked while filtered. This snapshot can be used to remember the filtered state and paint over the dusty image with the same image in its dustfree, filtered state. The "History Brush" is selected from the tool palette, and the painting mode is changed to "Darken." By doing this, you make the light spots darker, and they disappear. If the image you are retouching has black or dark dust on a light background, choose "Lighten" as the painting mode. The final step is to select a brush size appropriate for the job and brush over the spots with the "History Brush." Brush size may be varied as needed. The final image (Fig. 2E) shows that most of the dust has been successfully removed.

Images already in PowerPoint (Microsoft) files can be processed like any other electronic image (to remove dust or improve contrast) by copying the PowerPoint image you would like to improve and pasting it into a new Photoshop file. The new file will automatically open at the appropriate size to accommodate the pasted image. Before performing any modifications, you should resize the image to a larger size (1200 pixels wide) as suggested in the first Photoshop for Radiologists article [1]. Failure to resize will result in a poor resolution when the image is imported back into PowerPoint.


Conclusion
Top
Introduction
Cloning Tool
History Brush
Conclusion
References
 
My general approach to removal of dust from an image is to use the "Clone Stamp Tool" if only one or two large spots are present. I use the "Back to the Future" technique when there is dust over many areas and cloning would take too much time and effort. Although "Back to the Future" requires several steps that must be done in the correct sequence, it is a powerful method of converting a badly encrusted original into an acceptable electronic image.

In the next article, I will discuss techniques for sharpening an image before final electronic presentation.


References
Top
Introduction
Cloning Tool
History Brush
Conclusion
References
 

  1. Taylor GA. Photoshop for radiologists: initial steps in image preparation. AJR 2002;179:1411 –1413[Free Full Text]
  2. Taylor GA. Photoshop for radiologists: improving image contrast. AJR 2003;180:329 –331[Free Full Text]
  3. Adobe Photoshop 6.0 support. Available at adobedoc.kanisasolution.com/Photoshop6/Help.htm. Accessed August 2, 2002
  4. Tapp E. Back to the future. Photo>Electronic Imaging 2001;44:49 –51

Add to CiteULike CiteULike   Add to Complore Complore   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us   Add to Digg Digg   Add to Reddit Reddit   Add to Technorati Technorati    What's this?


This article has been cited by other articles:


Home page
Am. J. Roentgenol.Home page
C.-S. Yam, J. Kruskal, and M. Larson
Using Movie Clips in PowerPoint Presentations: Part 2, Movie Editing
Am. J. Roentgenol., November 1, 2005; 185(5): 1371 - 1376.
[Abstract] [Full Text] [PDF]


Home page
Am. J. Roentgenol.Home page
C. Sistrom and J. Honeyman-Buck
A Simple Method for Importing Multiple Image Files into PowerPoint
Am. J. Roentgenol., June 1, 2004; 182(6): 1591 - 1596.
[Abstract] [Full Text] [PDF]


Home page
Am. J. Roentgenol.Home page
G. A. Taylor
Color Correction and Automating Repetitive Tasks
Am. J. Roentgenol., August 1, 2003; 181(2): 383 - 386.
[Full Text] [PDF]


Home page
Am. J. Roentgenol.Home page
G. A. Taylor
Sharpening the Image
Am. J. Roentgenol., July 1, 2003; 181(1): 43 - 45.
[Full Text] [PDF]


This Article
Right arrow Figures Only
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Right arrow Citation Map
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in PubMed
Right arrow Alert me to new issues of the journal
Right arrow Download to citation manager
Right arrow reprints & permissions
Citing Articles
Right arrow Citing Articles via HighWire
Right arrow Citing Articles via Google Scholar
Google Scholar
Right arrow Articles by Taylor, G. A.
Right arrow Search for Related Content
PubMed
Right arrow PubMed Citation
Right arrow Articles by Taylor, G. A.
Social Bookmarking
 Add to CiteULike   Add to Complore   Add to Connotea   Add to Del.icio.us   Add to Digg   Add to Reddit   Add to Technorati  
What's this?


HOME HELP FEEDBACK SUBSCRIPTIONS ARCHIVE SEARCH TABLE OF CONTENTS