Showfoto/Levels Adjust/ca

From KDE UserBase Wiki
Revision as of 19:44, 23 December 2012 by Abella (talk | contribs) (Created page with "Per què està fosca? Obrim la foto a '''Showfoto''' (l'editor de '''Digikam'''') i veurem el que està passant:")

Guia d'aprenentatge de fotos al KDE 1-1: Ajust de nivells

Unai Garro (uga): estiu de 2008

Nota

La imatge original emprada en aquesta guia d'aprenentatge es pot trobar aquí.


Probablement aquest és un dels mètodes més àmpliament utilitzat i més simple per ajustar una imatge. És tan simple i efectiu que a partir d'ara el voldreu utilitzar en totes les vostres fotografies, de manera que feu-hi un cop d'ull, i divertiu-vos.

Veiem aquesta fotografia de mostra de la Akademy 2008, amablement donada per Sebastian Kugler:

Com podeu veure, la fotografia és fosca. Després de tot, es va prendre durant una presentació, i possiblement, l'habitació estava molt fosca. Però això no és excusa per a una mala fotografia

Per què està fosca? Obrim la foto a Showfoto (l'editor de Digikam') i veurem el que està passant:

On the top right, you can see the image's histogram. (I have pushed the Linear histogram button to see it more clearly). So "What's the histogram?", you'll, ask. The histogram is just a pixel count. It counts how many pixels there are for each gray level, and shows them in a graph. The left part of the histogram are dark/black colors, and the right part of the histogram are brightest colors.

You can see that our image has the histogram concentrated on the left part. Thus, it's mostly black. The right part of the histogram isn't used at all, as shown in the figure. Why did this happen? Just because the camera failed exposing the image properly, or was inappropriately configured.

If a photo is visually pleasing, usually (not always), it covers most of the histogram, from black, to white.

So, is there a way to fix this, then? Of course there is, and it's a very easy one. Select the menu Color -> Levels Adjust:

You will see a new popup showing a tool to adjust the histogram output. There are several parts in it. On the top right, there are two histograms. The first one is the output/new histogram, and the second (bottom) one is the input/original histogram.

As you can see, I have adjusted the output histogram to cover it all, see? So how have I done this? Very simple:

There are 4 sliders in this tool. The first two sliders mark the beginning and end of the part of the histogram that I am interested in. I have moved them to match the full histogram of our original image.

The other two sliders mark the range of the histogram we want as output. We want the histogram to cover from black to white, so just move the sliders to the left corner and to the right corner.

Press OK, et voilà, your nice photo is fixed. Congrats