Outils pour utilisateurs

Outils du site


issue143:darktable

Ceci est une ancienne révision du document !


Welcome back to another issue packed with open source goodness. This time we will be looking at noise reduction. If you have ever taken a picture in low light, or at night, you know what I am talking about. It is that - ‘picture of your best friend’s going-away party before they moved to China, and you will not get another photo like that, as you will only see her in 4 years’. Now let me just say, Darktable has some really powerful algorithms when it comes to noise reduction. For me, they are more powerful than those of other photo manipulation programs, even the commercial ones! Okay, let’s fire up Darktable and pick a photo with noise to edit. This time, I will choose a picture you can download and follow along: https://www.pentaxforums.com/gallery/photo-bgirl-grainy-8596/ (Clicking on the photo will enlarge it, for you to save.)

Bienvenue dans ce nouveau numéro emballé grâce à l'Open Source. Cette fois-ci, nous regarderons la réduction du bruit. Si vous avez déjà pris une photo avec une lumière faible, ou de nuit, vous savez ce dont je parle. C'est ça - « image de la fête chez votre meilleure amie, sur le départ pour la Chine, et dont vous n'aurez aucune autre photo comme celle-là, car elle vous ne verrez qu'elle pendant 4 ans ». Maintenant, permettez-moi de dire que Darktable a de puissants algorithmes pour ce qui est de la réduction du bruit. Pour moi, ils sont plus puissants que ceux d'autres programmes de manipulation de photos, même ceux du commerce !

Bon, démarrons Darktable et choisissez une photo avec du bruit à modifier. Cette fois, je choisirai une image que vous pouvez télécharger et suivre : https://www.pentaxforums.com/gallery/photo-bgirl-grainy-8596/ (Cliquez sur la photo pour l'agrandir, avant de la sauvegarder.)

It is difficult to find grainy pictures on the internet as people put forward only their best photography. Steal this one from the Pentax forum. It is not really stealing, it’s ‘borrowing’. We are substituting the random kid for our friend - for educational purposes. Once you have the random kid on screen, I need you to click on more modules on the right. Click on everything from “denoise” to “exposure”, close the ‘more modules’, and you should see the things you have chosen in your list. (When you choose them, a star will appear beside the module – basically adding to favourites). If you would like to know more, the list is here: https://www.darktable.org/usermanual/en/modules.html Our goal is to get the maximum SNR (Signal-to-Noise Ratio), that is the maximum detail possible. We want to have a picture as a keepsake of (some random kid) before she moved to China.

Il est difficile de trouver des images avec du grain sur Internet car les gens ne diffusent que leurs meilleures photos. Volez celle-ci dans le forum de Pentax. Ce n'est pas vraiment du vol, c'est un « emprunt ». Nous remplaçons notre amie par cet enfant pris au hasard.

Une fois que vous avez l'enfant du hasard sur votre écran, j'ai besoin que vous cliquiez sur des modules supplémentaires sur votre droite. Cliquez sur tout ce qui, en anglais, est entre « denoise » et « exposure » : touts les « réduction de bruit … », « exposition », « homogénéisation » et « égaliseur », fermez « plus de modules », et, dans votre liste, vous devriez voir ce que vous avez choisi. (Quand vous le choisissez, une étoile apparaît sur le côté du module - en gros, un ajout dans les favoris). Si vous voulez en savoir plus, la liste est ici : https://www.darktable.org/usermanual/en/modules.html

Notre objectif est d'obtenir le meilleur rapport signal sur bruit (SNR - Signal-to-Noise Ratio), qui est le maximu de détail possible. Nous voulons avoir une image comme souvenir de (enfant du hasard) avant son départ pour la Chine.

As you can see the ‘power’ icon is greyed out on each of the modules. This means they are switched off. If you hover over each icon, you should see a tooltip. Now the profiled de-noise is the easiest. It will profile your lens and speed and work back from there. This is great if you used your camera to shoot the picture. This does not work so well with unknown cameras, like mobile phones. I want you to turn it off and on, and look to the right of the kid’s face at the window in the background. Where it is lighter, this tool does a very good job, but it does not do so well in the dark areas. You have two settings: non-local means and wavelets. You can read up about these methods on the Darktable website, but, for now, we are sticking to the practical so you can get to learning by doing. Turning these modules on and off takes some computing power, so if there is a pause, or your CPU fan spins up, this is normal, unless you have the top-of-the-range CPU. Your homework is to go through each of the “blend modes” to see what they do.

Comme vous pouvez le voir, le bouton « Marche » est grisé pour chacun de ces modules. Ça signifie qu'il est désactivé. Si vous passez la souris sur chaque icône, vous verrez une info-bulle. Pour le moment, la réduction de brit (profil) est la plus facile. Il profilera votre optique et votre vitesse et retravaillera à partir de là. C'est excellent si vous avez utilisé votre appareil-photo pour prendre la photo. Ça ne marche pas aussi bien avec des appareils inconnus, comme des téléphones mobiles. Je veux que vous le déactiviez et l'activiez et que vous regardiez la fenêtre du fond à droite du visage de l'enfant. Là ou c'est plus lmineux, l'outil fait du bons travail, mais il ne fait pas aussi bien dans les parties sombres. Vous avez deux réglages : moyenne non-locales et vaguelettes. Vous pouvez vous renseigner sur ces deux méthodes sur le site Web de Darktable, ais, pour le moment, nous nous contenterons de pratiquer et nous apprendrons en faisant. L'activiation et la désactivation de ces modules consomme une peu de la puissance de calcul; aussi, s'il y a une pause, ou si votre ventilateur de processeur tourne à fond, c'est normal, sauf si si vous avez un processeur de haut de gamme.

Comme travail personnel, essayez chacun des modes de « fusion » pour voir ce qu'ils font.

This is what you will use with your own camera and photos most of the time. Should your noise, however, be tiny colour spots, you would need to use “wavelets” with “color” blend mode. Lots of times, you will see that you get tiny red spots instead of white ones if you take pictures at night with a flash. This is where you fix it. You can Zoom in on the kid’s red cheek to play with this. This is the method you use to get rid of annoying color noise in pictures that are supposed to be black, like for instance, black clothing. Tip: Don’t be afraid to zoom in and get a better look at what is changing.

Back to our stolen picture. One of the strengths of Darktable is the ability to ‘layer’ corrections. You will see a difference in the way you ‘layer’ your corrections. Should you do local means BEFORE you do wavelet correction, it will look different than if you did it the other way around. This, I cannot give you a recipe for, the only tutor is experience. In my humble experience, it is better to start with red, then green, then blue, then local means, but this does not work universally. Do what works for you. Do not be afraid to undo everything and try something different. Darktable does non-destructive editing. Now we want to layer the next round of corrections on our photo. To do so, simply click on the very last tiny icon in the row where the on / off switch was, and select ‘new instance’. (If your middle mouse button is clickable, that is your short-cut).

This is, by no means, comprehensive or the only way! If you look at our second image, you will see that our few selected modules are under the star = favourites, however the ‘correction group’ is the second last icon with the ‘broken circle’. As you added modules to favourites, so you can add too under correction group. Double click your modules to add. Tip: For some reason, mousing over some drop-down options does nothing, but hovering your mouse over them, and rolling your mouse wheel to move the list below your mouse pointer, does then apply the effects on-the-fly so you can preview them. Before you go charging off, I want to say that not all noise is bad. When you make prints, minimal noise will disappear and if you overdo denoising, you will lose detail.

Tip: After denoising, it is a good idea to ‘up’ your sharpness on a picture to get back any edges that denoising softened. Tip: If you have a picture with a lot of dark areas, ‘up’ your exposure very slightly to expose the noise. (Low light photos too). Tip: Adjusting by slider, is also not the only way. Right-click the number to be able to enter your own values as in the last picture. Next issue: we will continue with more Darktable. We will be using the same picture so do not discard it yet!

issue143/darktable.1554965978.txt.gz · Dernière modification : 2019/04/11 08:59 de d52fr