| Jetez un coup d'oeil à la photo ci-dessous (prise au casino de Luxor à
Las Vegas). Puisque la photo contient beaucoup de ciel, l'appareil-photo
a sous-exposé la statue, qui semble presque comme une silhouette. Nous
pourrions augmenter la luminosité de l'image entière
(en utilisant par exemple la commande de
courbes) mais ceci éclairerait le ciel qui pourrait alors devenir un
blanc uniforme et ennuyeux (essayez-le si vous voulez). Par conséquent nous
voudrions éclairer la statue sans toucher au ciel - un problème qui peut
être résolu en utilisant une sélection.

Un des outils de sélection les plus faciles à utiliser est la baguette magique
(si
vous ne pouvez pas le voir, il est peut-être caché sous l'outil de
sélection
).
Cet outil sélectionne les parties de l'image qui ont à peu près la même couleur.
Regardez les options pour cet outil :
 | La 'tolérance' détermine la gamme de couleurs qui seront
sélectionnée par l'otil - si il y a peu de tolérance
alors l'outil sélectionnera seulement les couleurs qui sont presque
identiques. |
 | Si l'option contiguë est coché alors l'outil
sélectionnera seulement un secteur contigu de couleurs semblables tandis que si
l'option n'est pas coché la baguette sélectionnera cette couleur n'importe où
dans l'image, même si ça veut dire sélectionner plusieurs secteurs
séparés en même temps. |
 | L'antialias s'assure que le bord du choix sera lisse,
non déchiqueté, mais Paint Shop Pro 9 a un bogue qui
fait que si l'option 'antialias' est allumé alors le simple utilisation de
la baguette magique modifie réellement l'image le long
des bords de la sélection. Par conséquent je recommande que vous arrêtez toujours
cette option. |
Vous pouvez supposer qui cliquera sur la statue avec cet outil
afin d'essayer de le sélectionner mais il vaut réellement mieux
d'essayer de sélectionner le ciel parce que le ciel a une couleur très
uniforme et est donc
très facile à sélectionner avec cet outil. Une fois que le ciel est choisi
il sera facile à inverser la sélection de sorte que tout sauf le
ciel soit sélectionné.
D'abord cochez 'contigu' de sorte que nous puissions être
sûrs que nous ne choisirons pas la jupe du roi en cliquant le ciel.
Maintenant décochez l'option 'antialias' et réglez la tolérance à une
petite valeur telle que 5. Maintenant cliquez le ciel - vous
constaterez probablement que seulement une petite partie du ciel est
sélectionnée (les bords du secteur choisi sont indiqués par les 'fourmis marchantes').
Désélectionnez alors avec Ctrl-D ou Sélection >
Sélectionnez Rien, donnez à la tolérance une valeur élevée telle que 140
(le maximum est 200) et cliquez le ciel encore une fois. Maintenant vous
constaterez probablement qu'en plus du ciel une partie de la statue est
également sélectionnée. Désélectionnez encore, placez la tolérance à une
valeur intermédiaire telle que 70 et cliquez le ciel une fois de plus.
Vous serez maintenant satisfait probablement par le résultat, sauf que
seulement la moitié du ciel est choisie parce que nous avons
choisi de sélectionner un secteur contigu et le ciel dans cette image
n'est pas contigu - il est divisé en deux par le cobra qui sort de la
tête de la statue.
Pour ajouter à la sélection existante, maintenez enfoncée la touche MAJ
pendant
que vous cliquez l'autre moitié du ciel (notez le petit signe + à côté
du pointeur). En fait, si vous regardez bien, vous verrez
qu'il y a d'autres secteurs à ajouter à votre sélection du ciel,
entre les branches du palmier.
Une fois que tout le ciel est sélectionné vous pouvez inverser la
sélection avec sélection > inversez. Maintenant seulement la statue et
le palmier sont sélectionnés. Expérimentez avec la commande de courbes
(Ajustez > Luminosité et contraste > Courbes (Adjust > Brightness and Contrast > Curves)
pour éclairer la statue, sans exagérer. Notez que si tous que vous
voulez faire est éclairer ou assombrir l'image entière utilisez
alors Ajustez > Luminosité et contraste > Courbes (Adjust > Brightness and Contrast > Curves)
et traîner le centre de la courbe vers le haut ou êtes vers le bas
équivalent au choix Ajuster > Luminosité et contraste > Gamma (Adjust >
Brightness and Contrast > Gamma) avec le rouge, le vert et le bleu liés
ensemble. Vous pouvez également vouloir faire aux couleurs peu un plus
intense en choisissant Ajuster > Teinte et saturation >
Teinte/Saturation/Luminosité (Adjust > Hue and Saturation > Hue/Saturation/Lightness)
et puis à l'aide du glisseur de saturation (la 'saturation 'des couleurs
est une mesure de à quel point elles intenses sont). Économiser votre
travail quand vous êtes fini.
Nous reviendrons à l'image dans la leçon des couches et je vous
montrerai comment remplacer complètement le ciel avec un ciel neuf !
Take a look at the photo below (taken at the Luxor casino in Las Vegas).
Because the photo contains so much sky, the camera has underexposed the statue,
which looks almost like a silhouette. We could increase the brightness of the
entire picture (preferably using the level control or the curves control) but
this would lighten the sky which might then become a boring uniform white (try
it if you like). Therefore we would like to lighten the statue without affecting
the sky - a perfect case for using a selection.
One of the easiest selection tools to use is the magic wand tool (if you can't see it, it may be
hidden under the selection tool ).
This tool selects areas that have roughly the same colour.
Look at the options for this tool:
 | The tolerance setting determines how similar the colours
have to be - if the tolerance setting is low then the tool will only
select colours that are almost exactly the same. |
 | If the contiguous option is turned on then the tool will
only select a contiguous area of similar colours while if the option
is off then that colour will be selected anywhere in the picture,
even if that means selecting several separate areas at once. |
 | Anti-aliasing ensures that the edge of the selection will
be smooth, not jagged, but Paint Shop Pro 9
has a bug that causes the use of the magic wand tool to
actually modify the picture along the edges of the selection
IF THE ANTI-ALIAS OPTION IS TURNED ON- this shouldn't happen!
Therefore I recommend that you always turn this option OFF. |
You
may be assuming that will be clicking on the statue with this tool in
order to try to select it but it is actually better to try to select the sky
for the sky has a very even colour and is therefore very easy to select with
this tool. Once the sky is selected it will be easy to inverse the selection so
that everything but the sky is selected.
First turn on 'contiguous' so that we can be sure that we won't select the
king's skirt by clicking the sky) and turn off 'anti-alias', then set the
tolerance to a small value such as 5. Now try clicking the sky
- you will probably find that only a small part of the sky is selected (the
edges of the selected area are marked by shimmering 'marching ants'). Then
deselect with Ctrl-D or Selections > Select None, set the tolerance to a high
value such as 140 (the maximum is 200) and click the sky again. Now you will
probably find that in addition to the sky a part of the statue is also selected.
Deselect again, set the tolerance to an intermediate value such as 70 and click
the sky once more. Now you will probably be pleased by the result, except that
only half the sky is selected because we chose to select a contiguous
area and the sky in this picture is NOT contiguous - it is broken by the
statue's cobra head-dress. To add to the existing selection, hold down the
Shift key while you
click the other half of the sky (notice the small + sign next to the pointer).
Actually, if you look closely, you'll see there are a couple of other areas to
be added to your sky selection, between the branches of the palm tree.
Once all the sky is selected you can invert the selection with Selections >
Invert.
Now only the statue and the palm tree are selected. Experiment with the curves
control (Adjust > Brightness and Contrast > Curves) to lighten the statue, without
overdoing it. Note that if all you want to do is lighten or darken the picture
overall then using Adjust > Brightness and Contrast > Curves and dragging
the centre of the curve up or down is equivalent to choosing Adjust >
Brightness and Contrast > Gamma with red, green and blue linked together. You may also want to make the colours a little more intense by choosing
Adjust > Hue and Saturation > Hue/Saturation/Lightness and then using the saturation
slider (the 'saturation' of the colours is a measure of how intense they are).
Save your work when you are finished. We will return to the image in the
'layers' lesson and I will show you how to completely replace the sky with a new
one! |