Showfoto/Curves Adjust: Difference between revisions

From KDE Wiki Sandbox
(Widen borders)
m (Replaced content with 'Moved to http://userbase.kde.org/Showfoto/Curves_Adjust')
Line 1: Line 1:
== Photo KDE Tutorial 1-2 - Curves Adjust  ==
Moved to http://userbase.kde.org/Showfoto/Curves_Adjust
 
''Unai Garro (uga) - Summer 2008''
 
This is the second part of tutorials aimed at showing how to use KDE's photography tools (namely ShowFoto and/or Krita), to process, edit and fix your photographs. The [[User:Annew/Levels Adjust|first part of the tutorials]] showed how to interpret a '''histogram''', and how to use the '''levels''' tool. This tutorial will show you how to use a more advanced tool, called the '''Curves Adjust''' tool. It's much more powerful than the levels tool but requires more patience and practise to get good results.
 
So lets begin. This time we have this photo, kindly donated for the tutorial by Jos van den Oever, from his akademy 2008 photos.
 
{|align="center" cellpadding="8" style="border:1px solid darkgray;"
|[[Image:Tut2 1.png|400px]]
|}
 
The problem in this photo again, is that there are parts of the image that are very dark. The two people are clear in the photo, but the background is so dark that we cannot actually see the pub's details. Let's see what happens if we try using the levels tool, as we learnt in the first tutorial:
 
{|align="center" cellpadding="8" style="border:1px solid darkgray;"
|[[Image:Tut2 2.png|400px]]
|}
 
As you can see, some parts of the image get blown if we try using the levels tool. What does that mean? It means that we have parts of the image in the right hand of the histogram that have been all converted to white. That's because, unlike the previous tutorial, this image is not concentrated on the left part of the histogram. It covers the whole of it. And when clipping the histogram with the input sliders, we are "eating" part of the information.
 
Why does this happen? Because the photo scenario had a very '''High Dynamic Range'''. Ie, it had objects from very dark (background) to very bright (illuminated by flash).
 
In this sort of images, if we try moving the input sliders of the levels tool, we will delete part of the photo's gray level information, losing details, and the result isn't nice.
 
So what to do now? We can use the '''Curves Tool''' from the menu '''Colors->Curves Adjust...''': [[Image:Adjustcurves.png|20px]]
 
Selecting this option will show a new popup with a dialog that may look similar to the levels tool. You can see the resulting histogram on top, and the input histogram on the bottom, just like in the levels tool:
 
{|align="center" cellpadding="8" style="border:1px solid darkgray;"
|[[Image:Tut2 3.png|400px]]
|}
 
The difference is in the way the control works. In this tool, the input histogram has a diagonal line in it. Clicking on it with the left button of the mouse, adds control points. You can move those control points up or down. The result, as shown in the picture above, is that the gray levels from the horizontal axis are converted into the gray levels in the vertical axis.
 
Moving the control points up, makes that part of the image brighter. Moving them down, makes that part of the image darker.
 
In this case, I wanted to make the darkest parts of the image brighter, so I added a control point on the left part of the histogram, and moved the point upwards. As the rest of the image was also getting a bit too bright, I added a second control point to avoid it.
 
So, lets press < OK > and see what we get of it:
 
{|align="center" cellpadding="8" style="border:1px solid darkgray;"
|[[Image:Tut2 4.png|400px]]
|}
 
We have managed to make the shadows brighter, and now the pub is more visible, but the image is now a bit washed out. As if it were too bright all over the place. Can we do something? Sure, lets try the levels adjustment again:
 
{|align="center" cellpadding="8" style="border:1px solid darkgray;"
|[[Image:Tut2 5.png|400px]]
|}
 
Now that the shadows were adjusted using the curves, and the colors are more uniform, we can follow the method shown in the first tutorial and adjust the levels of the photo, as shown above. The histogram's main data was a bit displaced to the left, and adjusting levels, I made it cover the whole range again.
 
Lets see the result - Ah, now this is much better. The pub background is much more visible and the two persons are not blown:
 
{|align="center" cellpadding="8" style="border:1px solid darkgray;"
|[[Image:Tut2 6.png|400px]]<br>
|}
 
I think that's already acceptable, but if we are picky, the two people are a bit washed out due to the flash light. So, even if that goes out of the scope of this tutorial (it'll be covered in the following tutorials), lets adjust a bit the saturation and crontrast in the image for a better result:
 
{|align="center" cellpadding="8" style="border:1px solid darkgray;"
|[[Image:Tut2 7.png|400px]]
|}
 
Now this image looks much nicer than the original, yes. I hope you liked this tutorial and will see you in the next one!

Revision as of 12:28, 7 April 2010