Support my work on Patreon

If you like my work, please consider to help my growing family with a little financial support through my Patreon creator page.

Alternatively, you can leave a one-time donation via PayPal using the Donate button below.

Total Pageviews

Friday, June 7, 2019

Relight, a "digital fill-in flash" filter

This post an update about the work I am doing on shadows/highlights compression and tone mapping. It describes a new filter that works as a sort of "digital fill-in flash", that brightens the dark areas of an image while having a minor effect on the highlights.

Here is a preview of the filter in action (original image of the left, "relight" filter on the right with the corresponding tool dialog opened):

(image source:

The relight filter is based on the recently introduced new version of the shadows/highlights tool. This tool is very powerful but has quite a lot of parameters, and is therefore rather difficult to use.

One of the typical uses of the shadows/highlights tool is the recovery of back-lit images, where a rather dark subject is framed in front of a bright background. Such type of images often lack information in the mid-tones, that can be therefore compressed in order to provide room for the shadows. Usually such images are taken by exposing for the highlights, therefore it is often desirable to leave the highlights untouched or only slightly compressed.

The shadows/highlights tool is well adapted to process this kind of back-lit images. Nice results can be obtained by keeping the highlights compression to zero, and only adjusting the shadows compression, as shown here:

With this kind of settings, the effect of the filter in the shadows regions is very close to a positive exposure adjustment, and hence colors are very well preserved. Here is a comparison with a simple exposure compensation on the left of the image:

The output of the shadows/highlights tool often has a tendency to be on the soft side, and can profit from some mid-tones contrast increase. This can be achieved using the tone mapping tool, configured in a way that does not compress the highlights but introduces a S-shaped tone adjustment. Here is a before/after comparison:

Wrapping all the above together, I have created a new "relight" tool that combines the shadows compression and the mid-tones contrast adjustment in one single interface, with just three parameters:
  1. the strength of the fill-in effect (equivalent to the shadows compression strength)
  2. the range of tonal values that get brightened (equivalent to the shadows compression strength)
  3. the amount of mid-tones contrast

The new relight tool is also accessible from a tool shortcut that looks like a lightning, just below the curves icon.


  1. Những dịch vụ mà đang cung cấp, đang được đông đảo khách hàng tin tưởng và sử dụng. Có thể kể đến các dịch vụ như:
    - dịch vụ cho thuê xe tải 500kg tự lái giá rẻ
    - dịch vụ vận chuyển hàng hóa bắc nam bằng container
    - dịch vụ vận chuyển ô tô bắc nam giá rẻ
    - dịch vụ cho thuê xe tải tự lái theo tháng
    - cdịch vụ huyển phát nhanh uy tín tại tphcm
    - dịch vụ bốc xếp hàng hóa giá rẻ
    - dịch vụ giao hàng tận nơi
    - dịch vụ cho thuê kho
    - dịch vụ ship cod giá rẻ

    Liên hệ ngay với chúng tôi qua số hotline 093 9999 247 để được tư vấn và sử dụng dịch vụ.

  2. Do you want to take your photo to the next level? Make a dreamy impact by softening the scene with the use of light leaks, which provide more characters to your photos.

  3. Attempt to follow a single theme such because the outside theme or a theme of a single individual throughout a number of time limits. If you want to learn more about this topic please visit

  4. Tula's International School is the best Dehradun boarding schools for girls & boys. It is one of the top schools in Dehradun.
    The school is affiliated to CBSE which offers holistic education to students.

    Tula's International School Best Boarding School in Dehradun

    Tula's International School Best Boarding School in Dehradun

    Tula's International School Co-ed Boarding School in Dehradun

    Tula's International School Best Residential School in Dehradun

    Tula's International School Dehradun Boarding School Fee structure

    Tula's International School Top Girls Boarding School India

    Tula's International School Best CBSE Schools in Uttarakhand

    Tula's International School Top Boarding Schools in India

    Tula's International School MCA College in Dehradun

    Tula's Institute Best Private BJMC College in Dehradun

  5. Really excellent website. Its amazing
    My Page

  6. The Free Online Photo Editor, as its name implies, offers a way to quickly edit photos that you have on your hard drive and save them as a finished file.
    Some of the effects you can do with this program include Red Eye Removal, Sepia, Enhance, Sharpen, and Polaroid Effect.It is simple to use and doesn’t do some things that the higher end programs do, but it’s a great simple solution for quick fixes if you need to save or upload and enhance a photo quickly and easily.One added plus with the Free Online Photo Editor is that you can hit the “order” button and order a canvas print of the photo that you created if you would like a physical copy of it.

  7. Thank you for sharing this type of information. We hope you will share some more information about it. This is very helpful for me & for other who looking for download imovie for mac. Visit our site & download it.

  8. First of all, I want to thank you. Because for this great post you really deserve a big thumbs up. this blog helped me so much.
    Picsay photo editor pro APK

  9. Thanks for sharing a great article.
    You are providing wonderful information, it is very useful to us.
    Keep posting like this informative articles.
    Thank you.

    Get to know about ms office 2010

  10. Hey finding image to sketch converter?