3. Χρήση σημειώσεων

  1. Depending on your particular artistic intentions for an image, some images are more likely than others to benefit from being tone mapped using floating point Exposure operation. Your mileage may vary, but typically the procedure described on this page works best for photographs of scenes with a pronounced tonal difference between the highlights and shadows, as per typical sunny day “sky-ground” photographs.

  2. For adding just one stop of positive exposure compensation, the procedure described on this page works really well. Depending on the image you might want to blur the mask using an edge-respecting blur algorithm, and/or tweak the mask using the Exposure operation, Curves, etc. But only modify the mask after using Auto Stretch Contrast on the mask. Otherwise results will be unpredictable: Gamma adjustments produce odd results when operating on out of gamut values, and Curves will summarily clip out of gamut values.

  3. Για την προσθήκη περισσότερων από μία στάσεων αντιστάθμισης έκθεσης, μπορείτε να χρησιμοποιήσετε μία ή περισσότερες από τις στρώσεις αντιστάθμισης θετικής έκθεσης. Και στους δύο τρόπους οι μάσκες στρώσεων θα χρειαστούν προσεκτική μικρορύθμιση που είναι πολύ ειδική για κάθε εικόνα και επίσης εξειδικευμένη ως προς το σκοπούμενο αποτέλεσμα. Το σχήμα 7 εμφανίζει ένα παράδειγμα χρήσης δύο στρώσεων αντιστάθμισης έκθεσης για την προσθήκη δυόμιση στάσεων αντιστάθμισης έκθεσης στις σκιές και τους μεσαίους τόνους μιας εικόνας:

    Η χρήση κινητής υποδιαστολής απεριόριστων σταθμών του GIMP συν τις μάσκες στρώσης για την προσθήκη δύο στάσεων θετικής αντιστάθμισης έκθεσης στις σκιές και τους μεσαίους τόνους φωτογραφίας που ελήφθη με λαμπρή ηλιοφάνεια ημιφορτηγού μαζί με οπωρώνα από μηλιές.

    Σχήμα 7

    Εικόνα από την κάμερα, υποεκτεθειμένη προς αποφυγή σβησίματος υψηλών φωτισμών.

    After tone mapping/shadow recovery using high bit depth GIMP's floating point Exposure operation.

    Για σύγκριση, τονική απεικόνιση Mantuik χρησιμοποιώντας τις προεπιλεγμένες ρυθμίσεις του GEGL.

    Using GIMP’s floating point Exposure operation plus layer masks to add two and a half stops of positive exposure compensation to the shadows and midtones of a “bright sun” photograph of an apple orchard truck.

    Στιγμιότυπο της στοίβας στρώσεων που χρησιμοποίησα για την τονική απεικόνιση της φωτογραφίας του ημιφορτηγού μαζί με οπωρώνα από μηλιές. Η τονική απεικόνιση με το χέρι σας δίνει πλήρη έλεγχο στην τελική εικόνα. Το Mantuik και άλλοι “αυτόματα μαγικοί” αλγόριθμοι τονικής απεικόνισης χρησιμοποιούν πολύ ΚΜΕ, είναι απρόβλεπτοι και παράγουν συχνά αποτελέσματα αφύσικης εμφάνισης.

  4. Before using the Exposure operation to add positive exposure compensation, the base layer should already be stretched to its maximum dynamic range. The easiest way to stretch the base layer to its maximum dynamic range is to do ColorsAutoStretch Contrast… and make sure that Keep colors is checked.

    If you’ve never used an unbounded floating point image editor before, ColorsAutoStretch Contrast… can produce an unexpected result: The image might actually end up with a severely reduced dynamic range, having either lighter shadows or darker highlights or both:

    Before and after doing ColorsAutoStretch Contrast… on the base layer, plus the final image after tone mapping using ColorsExposure…:

    Σχήμα 8

    1. Εικόνα από κάμερα

    2. After doing ColorsAutoStretch Contrast….

    3. Τελική εικόνα "Ηλεκτρικά καλώδια".

    1. This scene-referred interpolated raw file from the PhotoFlow raw processor (which provides a GIMP plug-in for easy opening of raw files) has out-of-display-range RGB channel values that will be brought back into the display range by doing ColorsAutoStretch Contrast….

    2. After doing ColorsAutoStretch Contrast…, shadows are lighter and highlights are darker because the dynamic range has been compressed to fit within the display range. This looks like an editing step in the wrong direction! but actually it’s necessary.

    3. Ιδού η τελική εικόνα “Ηλεκτρικά καλώδια” μετά την χαρτογράφηση τόνου του ακατέργαστου αρχείου με παρεμβολή της σκηνής που αναφέρεται με τη χρήση της διαδικασίας που περιγράφεται σε αυτό το μάθημα.

    As captured by the raw file, this picture of power lines marching into the distance is a typical result of taking a photograph at noon on a bright sunny day: The sky and clouds looked pretty good right out of the camera, but the ground was far too dark. So the image could benefit from some tone mapping to raise the shadows and midtones. The first step is to select ColorsAutoStretch Contrast… to bring any channel values that are less than 0.0f or greater than 1.0f back within the display range of 0.0 to 1.0 floating point.

    Performing ColorsAutoStretch Contrast… to bring the channel values back inside the display range doesn’t exactly look like an editing step in the right direction for tone-mapping this particular image! but really it is. Using ColorsExposure… to add positive exposure compensation to the shadows and midtones won’t work if the image has channel values that fall outside the display range.

  5. Dispensing with “useless” shadow and highlight information: Sometimes interpolated raw files of photographs of high dynamic range scenes end up with a sprinkling of highlight and shadow pixels that contains essentially no useful information. The easiest thing to do with such pixels is to use the Exposure operation to set the desired black and white points, and then clip the resulting out of gamut channel information.

    • Useless highlight information: For the “Power lines” picture shown in Figure 8 above, after applying ColorsAutoStretch Contrast…, a measly 48 pixels occupied nearly half the tonal range (see the histogram to the right). A little investigation with GIMP’s Threshold tool revealed that all 48 pixels are the peak values of specular highlights on the ceramic insulators on the power line pole in the foreground.

      In cases where nearly half the histogram is occupied by a sprinkling of specular highlights, clipping the pixels is often the best and easiest solution. For the “Power lines” image, the 48 pixels in question carried essentially zero information. Use ColorsExposure… to raise the white point, and then ColorsRGB Clip… to actually clip the channel information in the highlights (this time making sure the Clip high pixel values box was checked).

    • Useless shadow information: Some raw processors can output images with negative channel values. And previous edits using high bit depth GIMP might have produced negative channel values. If doing an “Auto/Stretch Contrast” on your base image layer makes the image a whole lot lighter in the shadows, the problem is negative RGB channel values. One solution is to use ColorsExposure… to move the black point to where you want it to be, and then clip the negative channel values. Here are two ways to clip negative channel values:

      • Use ColorsRGB Clip…, making sure to uncheck the Clip high pixel values box.

      • Ή αλλιώς δημιουργήστε μια συμπαγή μαύρη στρώση πάνω από τη στρώση βάσης της εικόνας σας, ορίστε την ανάμειξη σε “Μόνο φωτισμός” και κάντε μια στρώση “Νέα από τα ορατά”.

  6. Θόλωση της μάσκας για επαναφορά μικροαντίθεσης: Βάζοντας μια αντίστροφη μάσκα σε μια στρώση που χρησιμοποιείται για να προσθέσετε αντιστάθμιση θετικής έκθεσης ισοπεδώνει αναγκαστικά ελαφρώς την μικροαντίθεση. Ανάλογα με τις καλλιτεχνικές σας προθέσεις για την εικόνα, μπορεί να θέλετε να θολώσετε τη μάσκα για να επαναφέρετε τη μικροαντίθεση. Το κόλπο είναι πώς θα θολώσετε τη μάσκα χωρίς να εισάγετε “άλω” γύρω από τα άκρα των αντικειμένων στην εικόνα. Οι θολώσεις μικρής ακτίνα Γκάους παράγουν μικρή αλλά ενοχλητικά φανερή άλω γύρω από τα σκούρα άκρα. Μεγάλη ακτίνα θόλωσης Γκάους μερικές φορές δουλεύει, αλλά το ίδιο συχνά παράγει μεγάλη εμφανή άλω ξεχωρίζοντας τα πιο φωτεινά και τα πιο σκοτεινά τμήματα της εικόνας. Για πολλές εικόνες μια καλύτερη λύση είναι η θόλωση της μάσκας χρησιμοποιώντας ένα φίλτρο που κρατά τα άκρα όπως το αμφίπλευρο φίλτρο εξομάλυνσης G’MIC του GIMP:

    Προσθήκη αντιστάθμισης έκθεσης με και χωρίς αμφίπλευρη εξομάλυνση της μάσκας.

    Σχήμα 9

    Χωρίς εφαρμογή αμφίπλευρης εξομάλυνσης στη μάσκα η μικροαντίθεση ισοπεδώνεται.

    Μετά την εφαρμογή αμφίπλευρης εξομάλυνσης στη μάσκα, η μικροαντίθεση επαναφέρεται.

    Η προσθήκη αντιστάθμισης έκθεσης σε συνδυασμό με μια αντίστροφη μάσκα κλίμακας του γκρι επιπεδώνει τη μικροαντίθεση, η οποία μπορεί να είναι ή να μην είναι επιθυμητή ανάλογα με τις καλλιτεχνικές σας προθέσεις για την εικόνα. Για να αποκαταστήσετε τη μικροαντίθεση, δοκιμάστε να χρησιμοποιήσετε μια θόλωση που σέβεται τις ακμές, όπως το φίλτρο διμερούς εξομάλυνσης της G'MIC. Το GIMP G'MIC δεν λειτουργεί σε μάσκες στρώσεων. Μια λύση είναι να μετατρέψετε τη μη θολωμένη μάσκα σε επιλογή, να αποθηκεύσετε την επιλογή ως κανάλι και, στη συνέχεια, να σύρετε το κανάλι στη στοίβα στρώσεων για θόλωση.

  7. An essential component of the procedure for using the Exposure operation to add positive exposure compensation to images with dark shadows and midtones needs to be explicitly mentioned: Not only is the high bit depth GIMP’s Exposure operation unbounded at floating point precision — layer masks are also unbounded.

    Εάν οι αντεστραμμένες μάσκες γκρίζας κλίμακας περικόπηκαν συνοπτικά (όπως συμβαίνει κατά την επεξεργασία με ακρίβεια ακεραίου), τότε η περιγραφόμενη διαδικασία σε αυτό το μάθημα δεν θα δουλέψει.