Outils pour utilisateurs

Outils du site


issue158:krita

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
issue158:krita [2020/07/01 14:08] – créée auntieeissue158:krita [2020/07/13 12:20] auntiee
Ligne 1: Ligne 1:
-This series is aimed at learning to make something of the old photos in my possession, and others in the public domain due to their age. You, the reader, are welcome to tag along and, I hope, glean some small insight, and perhaps an idea or two from time to time. No promises are made as to quality of the content, or potential errors and omissions. I am a computer scientist, not a true artist or a professional of image restoration. So please take all this as a best effort, but with no firm guarantees — much as is the case of most open-source software. +**This series is aimed at learning to make something of the old photos in my possession, and others in the public domain due to their age. You, the reader, are welcome to tag along and, I hope, glean some small insight, and perhaps an idea or two from time to time. No promises are made as to quality of the content, or potential errors and omissions. I am a computer scientist, not a true artist or a professional of image restoration. So please take all this as a best effort, but with no firm guarantees — much as is the case of most open-source software. **
  
-In the previous part of this series, we worked on photograph that had been digitized professionally by the laboratory when our negative film was developedand presented to us on a CDAt timeshoweverwe no longer have access to this laboratoryor even to the paper prints. In such casesusing a flatbed scanner to digitize the negatives may be a solutionHoweverit does have its drawbacks, as we will see today with a sample image from my libraryThis is a photograph that I took way backon chemical 35mm negative filmThe original paper prints have been lost in the mists of timeand all that remains is the film itself. This has been scanned using a flatbed scannerand then converted to a positive. Howeverperhaps the film has not been stored in a very clean place, or the scanner itself had some dust inside it; the end result is that our image contains quite a lot of defects.+Cette série pour but d'apprendre à faire quelque chose des vieilles photos en ma possessionainsi que d'autres du domaine public du fait de leur âgeVouslecteurêtes bienvenu pour m'accompagner etj'espèreglaner quelques petites particularités et une idée ou deux de temps à autreJe ne fais aucune promesse sur la qualité du contenuou sur les erreurs et omissions possiblesJe suis un scientifique en informatiquepas un artiste ou un vrai professionnel de la restauration des imagesAussimerci de considérer ça comme mon meilleur effortmais sans garanties fermescomme c'est souvent le cas dans les logiciels Open Source.
  
-The dark splotches and lines are dust particles that reflected strongly in the scanner’s light source. Also, colors look rather washed out. In fact, when we load this image into Krita, we can observe that something rather unusual appears in the histogram.+**In the previous part of this series, we worked on a photograph that had been digitized professionally by the laboratory when our negative film was developed, and presented to us on a CD. At times, however, we no longer have access to this laboratory, or even to the paper prints. In such cases, using a flatbed scanner to digitize the negatives may be a solution. However, it does have its drawbacks, as we will see today with a sample image from my library. This is a photograph that I took way back, on chemical 35mm negative film. The original paper prints have been lost in the mists of time, and all that remains is the film itself. This has been scanned using a flatbed scanner, and then converted to a positive. However, perhaps the film has not been stored in a very clean place, or the scanner itself had some dust inside it; the end result is that our image contains quite a lot of defects.** 
 + 
 +Dans la partie précédente de cette série, nous avons travaillé sur une photographie qui avait été numérisée professionnellement par le laboratoire lors du développement du film négatif et donnée sur un CD. Avec le temps, cependant, nous n'avons plus accès à ce laboratoire, ou même aux épreuves papier. Dans de tels cas, l'utilisation d'un scanner à plat pour numériser les négatifs peut être une solution. Cependant, des inconvénients existent, comme nous le verrons aujourd'hui avec une image exemple tirée de ma bibliothèque. C'est une photo que j'ai prise il y a longtemps, sur un film négatif 35 mm. Les tirages papier d'origine ont été perdues dans la nuit des temps et le film 35 mm lui-même est tout ce qui me reste. Celui-ci a été scanné sur un scanner à plat puis converti en positif. Cependant, peut-être que le film n'a pas été stocké dans un endroit très propre ou que le scanner avait de la poussière à l'intérieur : le résultat final est que notre image contient pas mal d'imperfections. 
 +  
 + 
 +**The dark splotches and lines are dust particles that reflected strongly in the scanner’s light source. Also, colors look rather washed out. In fact, when we load this image into Krita, we can observe that something rather unusual appears in the histogram.
  
 We have not a continuous range in any of the primary colors, but rather spikes regularly spaced across the range. This indicates that the original was scanned using a very low color resolution: just a few bits was used to code each color. When we count the spikes, we see there are about 16 spikes for each primary color, indicating that colors were represented using a 4-bit integer for each color (so 12 bits in total). Compare this to a more usual 8 or 10-bit integer for each color, 24 to 30 bits in total for each pixel. We have not a continuous range in any of the primary colors, but rather spikes regularly spaced across the range. This indicates that the original was scanned using a very low color resolution: just a few bits was used to code each color. When we count the spikes, we see there are about 16 spikes for each primary color, indicating that colors were represented using a 4-bit integer for each color (so 12 bits in total). Compare this to a more usual 8 or 10-bit integer for each color, 24 to 30 bits in total for each pixel.
  
-Before making any alterations to the image, I started by cloning the complete layer. By working only on the clone, I could always go back to the original, for reference or even to copy over and repair any major errors I may make.+Before making any alterations to the image, I started by cloning the complete layer. By working only on the clone, I could always go back to the original, for reference or even to copy over and repair any major errors I may make.** 
 + 
 +Les taches et lignes noires sont des particules de poussière qui se reflétaient fortement dans la lumière du scanner. Les couleurs sont aussi pas mal délavées. En fait, quand nous chargeons l'image dans Krita, nous pouvons observer que quelque chose de plutôt inhabituel apparaît dans l'histogramme. 
 + 
 +Nous n'avons pas une ligne continue pour aucune des couleurs primaires, mais plutôt des pics régulièrement espacés sur toute l'étendue. Cela indique que l'original a été scanné en utilisant une basse résolution des couleurs : juste quelques bits ont été utilisés pour coder chaque couleur. Quand nous comptons les pointes, nous voyons qu'il y en a a peu près 16 par couleur primaire, indiquant que les couleurs étaient représentées par un entier de 4 bits pour chaque couleur (soit 12 bits au total). Comparez cela à l'entier de 8 ou 12 bits utilisé plus classiquement pour chaque couleur, 24 à 30 bits en tout pour chaque pixel. 
 + 
 +Avant de faire la moindre modification sur l'image. j'ai commencé par cloner le calque complet. En ne travaillant que sur le clone, je pourrai toujours revenir à l'original, soit comme référence, soit pour le recopier et réparer une éventuelle erreur majeure que j'aurai faite. 
 + 
 +**The first action we would need to take is to remove the dark imperfections. To begin, I split the image in halves lengthwise, and will be working only on the right half. This is, so we can see how things progress by comparison with our control image to the left. To remove the dark bits, there are no half-measures we can take: we just need to paint over them in a color that is correct. Use the dipper tool  to select a color from an unaffected part closeby, and then simply paint over the blemish with a standard brush or even an airbrush. I did need to use rather small sizes of brush, to paint only the splotch itself and not the surrounding area. With a bit of application, this is what I obtained. There are still some small blemishes, but nothing that stands out from a distance.** 
 + 
 +La première chose à faire est d'enlever les imperfections sombres. Pour commencer, je divise l'image en deux dans la longueur, et je ne travaillerai que sur la partie droite. Je fais ça pour que vous puissiez voir la progression des choses par comparaison avec notre image de contrôle à gauche. Pour enlever les points sombres, il n'y a pas de demi-mesure possible : vous ne pouvez que peindre par-dessus avec une couleur correcte. Utilisez la pipette pour sélectionner une couleur dans une partie voisine non affectée, et, ensuite, peignez simplement sur l'imperfection avec une brosse ordinaire ou l'aérographe. J'ai eu vraiment besoin d'utiliser des brosses de tailles plutôt petites, pour ne peindre que la tache et pas la zone environnante. Avec un peu d'application, voici ce que j'ai obtenu. Il y a encore quelques petites imperfections, mais rien qui n'est visible de loin. 
 + 
 +**Readers familiar with image processing software may have come across tools that are usually labeled as “blenders” . The best way of describing their application is that they move around the colors already present in the image, as if we were working with fresh oil paint on a canvas. In some situations, they may be used to solve small defects in an image -- such as a small wart on a fashion model’s otherwise perfect skin, one would imagine. However, they do not add any color, but simply move around what is already there. In this case, since the defects were very much darker than the surrounding image, the use of a blender would simply have ended up enlarging and spreading out the defect instead of disguising it, which is why I preferred not to use any of Krita’s available blenders.** 
 + 
 +Les lecteurs habitués à des logiciels de traitement d'image ont peut-être utilisés des outils qui sont en général nommés « blenders » (mélangeurs). La meilleure façon de décrire leur utilisation est qu'ils déplacent un peu les couleurs déjà présentes dans l'image, comme si vous travailliez sur une toile avec de la peinture à l'huile. Dans certains cas, ils peuvent être utilisés pour résoudre les petits défauts d'une image -- comme une petite verrue sur la peau autrement parfaite d'un modèle de mode, pourrait-on imaginer. Cependant, ils n'ajoutent aucune couleur, mais ne font que déplacer légèrement ce qui est déjà présent. Dans ce cas, bien que des défauts soient beaucoup plus foncés que l'image qui les entoure, l'utilisation d'un « blender » aura pour simple finalité d'élargir et d'étendre le défaut, plutôt que de le faire disparaître ; c'est pourquoi je préfèrais n'utiliser aucun des blenders disponibles dans Krita.  
 + 
 +**To continue, I wanted to get rid of the brownish grain, especially visible in the vegetation on the background hills, and on the driveway surface. One tool I could have used is the Wave noise reducer we applied in previous parts of this series. Alternatively, I could have blurred the image slightly. But, any action applied to the complete image would have not only removed the grain, but also altered the shape and definition of any straight edges. These obviously need to be preserved, otherwise objects such as the vehicle will no longer seem sharp and in focus. 
 + 
 +To solve this conundrum, I selected parts of the image that did not cross any edges and blurred them individually using “Filter”, “Blur”, then “Gaussian blur”. Then, I used one of Krita’s brushes, “Filter blur” (next page. top left), to selectively blur small areas near the edges of objects, but without affecting them. This brush, as usual, may be sized appropriately to alter one small area at a time. For my image, I used sizes 16 pixels down to 5, and applied the brush carefully in small touches.** 
 + 
 +Pour continuer, je voudrais me débarrasser du grain brunâtre, surtout visible dans la végétation des collines du fond, et sur la surface de la chaussée. J'aurais pu utiliser l'outil Réducteur du bruit en vaguelettes que nous avons appliqué dans des parties précédentes de la série. Autrement, j'aurais pu flouter légèrement l'image. Mais, toute action appliquée à l'ensemble de l'image n'enlèverait pas que le grain, mais altérerait aussi la forme et la définition de tous les bords nets. Ceux-ci doivent bien sûr être conservés, autrement les objets comme le véhicule ne sembleront plus nets et bien ciblés.
  
-The first action we would need to take is to remove the dark imperfections. To beginI split the image in halves lengthwiseand will be working only on the right halfThis isso we can see how things progress by comparison with our control image to the left. To remove the dark bitsthere are no half-measures we can take: we just need to paint over them in a color that is correct. Use the dipper tool  to select a color from an unaffected part closebyand then simply paint over the blemish with a standard brush or even an airbrush. I did need to use rather small sizes of brushto paint only the splotch itself and not the surrounding areaWith a bit of applicationthis is what I obtainedThere are still some small blemishesbut nothing that stands out from a distance.+Pour résoudre ce dilemnej'ai sélectionné les parties de l'image qui ne coupent aucun bord d'objet et je les ai floutées individuellement en utilisant « Filter » (Filtre)« Blur » (Flou) puis « Gaussian blur » (Flou gaussien)Ensuitej'ai utilisé l'une des brosses de Krita« Filter blur » (Flou à filtre voir en haut à gauche de la page suivante)pour flouter sélectivement des petites surfaces près des bords des objetsmais sans les toucherCette brossecomme d'habitude, peut être dimensionnée de façon appropriée pour ne modifier qu'une petit surface à la foisPour mon imagej'ai utilisé des tailles de 5 à 16 pixels et appliqué la brosse prudemment par petites touches.
  
-Readers familiar with image processing software may have come across tools that are usually labeled as “blenders” . The best way of describing their application is that they move around the colors already present in the imageas if we were working with fresh oil paint on canvas. In some situations, they may be used to solve small defects in an image -- such as a small wart on a fashion model’s otherwise perfect skin, one would imagineHoweverthey do not add any color, but simply move around what is already there. In this case, since the defects were very much darker than the surrounding image, the use of a blender would simply have ended up enlarging and spreading out the defect instead of disguising itwhich is why I preferred not to use any of Krita’s available blenders.+**When the blur was applied to the car’s bodyit combined different shades of white to create smoother finish -- but without adding in any black from the windowsWhen applied to the railingI chose a brush size that did not combine the iron railing with the surrounding green vegetation. The rear lights’ plastic lens colors have been smoothed out individuallywithout mixing their colors up.
  
-To continueI wanted to get rid of the brownish grainespecially visible in the vegetation on the background hills, and on the driveway surface. One tool I could have used is the Wave noise reducer we applied in previous parts of this seriesAlternatively, I could have blurred the image slightlyButany action applied to the complete image would have not only removed the grainbut also altered the shape and definition of any straight edges. These obviously need to be preserved, otherwise objects such as the vehicle will no longer seem sharp and in focus.+So farwe have obtained an image that is clearer and looks much nicer than the originalFinally, I gave the colors a bit of a tweak using Krita’s “Filter”, “Adjust”, and “Color balance” tool, though selecting only the right half of the image to preserve the left for comparisonThe end result is rather satisfyingif do say so myselfThough not perfectit is not too bad for a cheap photograph of the early 1990s, and a step up from the negative film’s sad state.**
  
-To solve this conundrumI selected parts of the image that did not cross any edges and blurred them individually using “Filter”, “Blur”, then “Gaussian blur”ThenI used one of Krita’s brushes, “Filter blur” (next pagetop left), to selectively blur small areas near the edges of objects, but without affecting them. This brush, as usual, may be sized appropriately to alter one small area at a time. For my image, I used sizes 16 pixels down to 5and applied the brush carefully in small touches.+Quand le flou a été appliqué à la carrosserie de la voitureplusieurs variations de blanc ont été combinées pour créer un fini plus doux -- mais sans ajouter du noir venant des vitragesPour son application au parapetj'ai choisi une taille de brosse qui ne mélange pas le métal du parapet avec le vert de la végétation environnanteLes couleurs des capots plastiques des feux arrières ont été adoucies individuellementsans mélanger les couleurs.
  
-When the blur was applied to the car’s bodyit combined different shades of white to create a smoother finish -- but without adding in any black from the windowsWhen applied to the railingI chose a brush size that did not combine the iron railing with the surrounding green vegetationThe rear lights’ plastic lens colors have been smoothed out individuallywithout mixing their colors up.+À ce stadenous avons obtenu une image plus claire et qui paraît plus jolie que l'originalEnfinj'ai apporté un petit ajustement aux couleurs en utilisant dans Krita « Filter », « Adjust » (Ajuster) et l'outil « Color balance » (Balance des couleurs), tout en ne sélectionnant que la partie droite de l'image, préservant la partie gauche pour comparerLe résultat final est plutôt satisfaisant, si je puis me permettre. Bien qu'imparfait, ce n'est pas trop mal pour une photographie très ordinaire du début des années 90et une amélioration pour un film négatif en piteux état.
  
-So far, we have obtained an image that is clearer and looks much nicer than the originalFinallyI gave the colors a bit of a tweak using Krita’s “Filter”, “Adjust”, and “Color balance” tool, though selecting only the right half of the image to preserve the left for comparisonThe end result is rather satisfying, if I do say so myself. Though not perfect, it is not too bad for a cheap photograph of the early 1990sand a step up from the negative film’s sad state.+**So far, in this series, we have been working on originals that started life as traditional photographs taken using negatives and a chemical process. In recent partswe have centered on originals that have been digitized by some means. Howevertechnology did progress over the years, and at one point during the mid 2000s, digital cameras became mainstream. Not all were created equal, and some of the earliest had sensors that lacked the quality we are used to todayThis is clear in the images they producedthat can also benefit from some tweaking as we will see in the next part of the seriesUntil then, take care!**
  
-So farin this serieswe have been working on originals that started life as traditional photographs taken using negatives and a chemical processIn recent partswe have centered on originals that have been digitized by some meansHowevertechnology did progress over the yearsand at one point during the mid 2000sdigital cameras became mainstreamNot all were created equaland some of the earliest had sensors that lacked the quality we are used to todayThis is clear in the images they producedthat can also benefit from some tweaking as we will see in the next part of the seriesUntil thentake care!+Jusqu'icidans cette sérienous avons travaillé sur des originaux qui ont commencé leur vie comme photos traditionnelles, avec l'utilisation de négatifs et d'un traitement chimiqueDans les parties récentesnous nous sommes centrés sur des originaux qui ont été numérisés par différents moyensCependantla technologie a évolué avec le tempset quelque part au milieu des années 2000les appareils-photos numériques sont devenus la règleTous ne se valaient paset certains dans les premiers temps, avaient des capteurs qui n'avaient pas la qualité de ceux d'aujourd'huiC'est évident dans les images qu'ils produisaientqui peuvent aussi bénéficier de quelques réglages, comme nous le verront dans la prochaine partie de cette sérieJusque làportez-vous bien !
issue158/krita.txt · Dernière modification : 2020/07/14 09:51 de andre_domenech