1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>6.5. Removing Unwanted Objects from an Image</title>
<link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
<link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
<link rel="start" href="index.html" title=" " />
<link rel="up" href="ch02s06.html" title="6. Working with Digital Camera Photos" />
<link rel="prev" href="ch02s06s04.html" title="6.4. Adjusting Sharpness" />
<link rel="next" href="ch02s06s06.html" title="6.6. Saving Your Results" />
</head>
<body>
<div xmlns="" class="navheader">
<table width="100%" summary="Navigation header">
<tr>
<th colspan="3" align="center" id="chaptername">6.5. Removing Unwanted Objects from an Image</th>
</tr>
<tr>
<td width="20%" align="left"><a accesskey="p" href="ch02s06s04.html">Prev</a> </td>
<th width="60%" align="center" id="sectionname">6.5. Removing Unwanted Objects from an Image</th>
<td width="20%" align="right"> <a accesskey="n" href="ch02s06s06.html">Next</a></td>
</tr>
</table>
<hr />
</div>
<div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="id3314809"></a>6.5. Removing Unwanted Objects from an Image</h3>
</div>
</div>
</div>
<p>
There are two kinds of objects you might want to remove from an
image: first, artifacts caused by junk such as dust or hair on the
lens; second, things that were really present but impair the
quality of the image, such as a telephone wire running across the
edge of a beautiful mountain landscape.
</p>
<div class="simplesect" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a id="id3314510"></a>Despeckling</h4>
</div>
</div>
</div>
<p>
A good tool for removing dust and other types of lens grunge
is the <a href="ch06s06s03.html" title="6.3. Despeckle">Despeckle</a>
filter, accessed as Filters->Enhance->Despeckle from the image
menu. Very important: to use this filter effectively, you
must begin by making a small selection containing the artifact
and a small area around it. The selection must be small
enough so that the artifact pixels are statistically
distinguishable from the other pixels inside the selection.
If you try to run despeckle on the whole image, you will
hardly ever get anything useful. Once you have created a
reasonable selection, activate Despeckle, and watch the
preview as you adjust the parameters. If you are lucky, you
will be able to find a setting that removes the junk while
minimally affecting the area around it. The more the junk
stands out from the area around it, the better your results
are likely to be. If it isn't working for you, it might be
worthwhile to cancel the filter, create a different selection,
and then try again.
</p>
<p>
If you have more than one artifact in the image, it is
necessary to use Despeckle on each individually.
</p>
</div>
<div class="simplesect" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a id="id3315087"></a>Garbage Removal</h4>
</div>
</div>
</div>
<p>
The most useful method for removing unwanted "clutter" from an
image is the <a href="ch03s03s08.html" title="3.8. Clone Tool">Clone</a>
tool, which allows you to paint over one part of an image
using pixel data taken from another part (or even from a
different image). The trick to using the clone tool
effectively is to be able to find a different part of the
image that can be used to "copy over" the unwanted part: if
the area surrounding the unwanted object is very different
from the rest of the image, you won't have much luck. For
example, if you have a lovely beach scene, with a nasty human
walking across the beach who you would like to teleport away,
you will probably be able to find an empty part of the beach
that looks similar to the part he is walking across, and use
it to clone over him. It is quite astonishing how natural the
results can look when this technique works well.
</p>
<p>
Consult the <a href="ch03s03s08.html" title="3.8. Clone Tool">Clone Tool
Help</a> for more detailed instructions. Cloning is as
much an art as a science, and the more you practice at it, the
better you will get. At first it may seem impossible to
produce anything except ugly blotches, but persistence will
pay off.
</p>
<p>
In some cases you may be able to get good results by simply
cutting out the offending object from the image, and then
using a plug-in called "Resynthesizer" to fill in the void.
This plug-in is not included with the main Gimp distribution,
but it can be obtained from the author's <a href="http://www.logarithmic.net/pfh/resynthesizer" target="_top">Resynthesizer</a>
web site. As with many things, your mileage may vary.
</p>
</div>
<div class="simplesect" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a id="id3315148"></a>Removing Red-eye</h4>
</div>
</div>
</div>
<p>
When you take a flash picture of somebody who is looking
directly toward the camera, the iris of the eye can bounce the
light of the flash back toward the camera in such a way as to
make the eye appear bright red: this effect is called "red
eye", and looks very bizarre. Many modern cameras have special
flash modes that minimize red-eye, but they only work if you
use them, and even then they don't always work perfectly.
Interestingly, the same effect occurs with animals, but the
eyes may show up as other colors, such as green.
</p>
<p>
Gimp does not include a special tool for removing red-eye, but it
isn't all that hard to do. Basically the idea is to zoom the
area around the eye so that it is nice and large and easy to
work with; then make a selection of the red part of the eye
and a bit of the area around it; feather the selection so that
you don't create sharp-looking edges; and finally desaturate
the red channel inside the selection using one of the color
tools---Levels, Curves, or Hue/Saturation. It takes a little
practice the first few times, but once you have the technique
mastered, you should be able to quickly and easily create
quite a natural looking eye color.
</p>
<p>
If you would like a more automated approach, you can try
downloading a recently created <a href="http://registry.gimp.org/plugin?id=4212" target="_top">redeye</a>
plug-in from the Gimp Plug-in Registry. We have not received
any feedback so far about how well it works. It comes in
source code form, so you will need to be able compile it in
order to use it. (See <a href="ch02s08s03.html" title="8.3. Installing New Plugins">Installing New
Plug-ins</a> for information on how to do this.)
</p>
</div>
</div>
<div class="navfooter">
<hr />
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left"><a accesskey="p" href="ch02s06s04.html">Prev</a> </td>
<td width="20%" align="center">
<a accesskey="u" href="ch02s06.html">Up</a>
</td>
<td width="40%" align="right"> <a accesskey="n" href="ch02s06s06.html">Next</a></td>
</tr>
<tr>
<td width="40%" align="left" valign="top">6.4. Adjusting Sharpness </td>
<td width="20%" align="center">
<a accesskey="h" href="index.html">Home</a>
</td>
<td width="40%" align="right" valign="top"> 6.6. Saving Your Results</td>
</tr>
</table>
</div>
</body>
</html>
|