|
|
Log in / Subscribe / Register

Raw photo editing with RawTherapee

By Jonathan Corbet
February 7, 2022
Digital photography opens up a whole new world of photo postprocessing opportunities, especially if the photographer uses their camera's raw format to take advantage of all of the data collected by the sensor. On the other hand, using raw images means doing without all of the processing done by the camera and taking on a range of complex tasks. Raw photo editors are designed to work with raw images as a key part of a photographer's workflow. Your editor recently reviewed the darktable editor, but there are other options available in the free-software community. RawTherapee is a GPLv3-licensed raw editor that is in some ways simpler than darktable — but that is not the same as saying that it is simple.

Superficially, RawTherapee looks a lot like darktable. The initial view is called the "file browser"; like darktable's "light table", it allows the user to import images into the application, add star ratings, and choose an image to edit. There are options to filter images in a number of ways, [RawTherapee file browser] including by aperture and shutter speed, or by the lens that was used to take them. The right sidebar can also be turned into an inspection window for quickly looking at images using a 1:1 pixel ratio to check for focus.

As an experiment in processing photos with RawTherapee, your editor used the file browser to choose the image shown below, taken on a recent outing above town. Once again, this photo is anything but a great work of art, but it does show the kind of problems that a raw editor can address. The image contains a lot of contrast, and the mountains in the background are somewhat overexposed — an ongoing hazard when photographing scenes with snow in them — while the foreground is dark. What is shown here is the image as produced by the camera; what can be done to improve it?

The editor window will also look familiar to anybody who has seen darktable, with the image being edited taking the center part of the screen. The left column contains a "history stack" tracking image operations and allowing them to be undone, along with an overall image view and the color histogram. On the right is a set of tabs providing access to the many things that can be done to the image.

Certain aspects of interaction with RawTherapee can be annoying at times. It seems necessary to repeatedly remind the application that it would be nice to see the whole image at the largest size that fits within the window, for example. The "crop frame" tool (which, for whatever reason, [Unedited image] lives above the editing area rather than with the rest of the cropping controls) makes it easy to draw the frame, but a naive attempt to move the frame drags the whole image within the window instead. To move the frame, the user must hold down the shift key, which is not readily discoverable without going in and reading the manuals. It's all stuff that one can get used to over time, but it slows down the process of learning how to use the tool.

One other, highly subjective impression is that RawTherapee is relatively slow to carry out its operations. Many changes are accompanied by significant delays in a way that happens less with darktable. To compound things, it is not always obvious when RawTherapee is working, so one ends up wondering if an intended change simply had no effect, or instead the application just hasn't managed to show it yet.

On the other hand, the two-pane (shown below) view helps the editing task considerably by making it easy to see the image both before and after a set of changes. A set of tweaks that may seem like a good idea on their own may look different when compared to the previous version of the image. There is also a "snapshot" capability that can be used to save the state of the work at any point.

This is as good a point as any to mention that, like darktable, RawTherapee is a non-destructive editor. The original raw image is never modified; instead, a list of changes is saved to a "sidecar" file and played back as needed. It is nice to know that there is nothing one can do in the editor to wreck the original images — other than deleting them outright in the file-browser view, of course.

Back to editing

RawTherapee does an interesting thing when an image is first pulled into the editor: it tweaks a number of settings to make the image look as similar as possible to the one produced by the camera itself. This includes obvious adjustments like setting the white balance to the value selected by the camera; just about any raw editor will do that. But RawTherapee also, according to the documentation, scans the JPEG image that [RawTherapee editor] the camera creates (and stashes inside the raw image) and sets its tone-mapping parameters accordingly. The documentation also says that this process may fail, though your editor did not see that happen. It does help to bring up the editor in a reasonable starting state, especially for users who are not deeply familiar with the process of processing raw images.

Darktable has its "pixelpipe" abstraction with processing modules that can be added and removed in any order. RawTherapee takes a simpler view; it provides an extensive set of processing options, but there is no visibility into (or control over) the order in which they are applied. It is not possible to apply any given process more than once. For a raw-editing neophyte like your editor, this is likely to make little difference, but it does feel like a less flexible system.

Editing a raw image follows the usual steps, starting with setting the white balance and exposure levels. The pointer can be used to set the white balance by clicking on a white (or neutral gray) pixel in the image; taking pictures with snow in them helps greatly with this process, so you editor suggests including some snow in all photographs. This mode remains active thereafter, though; it is easy to click on some other part of the image later on and throw things far out of balance. That is a bit disconcerting the first time it happens, but is also easily recovered from.

From there, most of the expected processing operations are available and can be turned on as needed. These include adjusting the tone mapping, playing with contrast and saturation, sharpening, perspective adjustment, haze removal, and much more. The tools all have lots of options that can be tweaked, naturally; it can be a bit overwhelming at times. Some changes can require going back to rethink decisions made in the earlier steps; it is not always clear when adjusting one operation will have effects on the others. Raw editors, it seems, all require a certain amount of time and dedication to learn how to use them well.

One feature that RawTherapee lacks is the ability to limit the operation of tools with masks. The flexible mask mechanism in darktable makes it possible to apply different processing options to different parts of the image. One might well argue that one should employ a more advanced [Edited image] image-editing tool for such tasks, leaving the raw editor to focus on the specifics of processing raw images. But there are times that this kind of flexibility is useful.

For more run-of-the-mill tasks, though, RawTherapee can get the job done relatively easily. Your editor pulled in the image above, tweaked the white balance slightly, changed the tone mapping to bring out more detail in the trees, applied a haze filter, and cropped the result to end up with the image to the right. This picture is still not a great work of art, but it does show why one might want to work with raw images rather than accepting the camera's idea of what the best picture would be. Turning a raw image into something that can be displayed on a monitor or printed involves throwing away a fair amount of information; the camera may not always make the right choices about what is important and what is not.

Community and conclusion

RawTherapee is mostly written in C++; it uses the the GTK toolkit for its user interface. The most recent release is 5.8, which came out almost exactly two years ago; the project has seen 2,264 commits since that date. This project is moving more slowly than darktable (8,357 commits and several releases in just over two years) and seems to be getting slower over time (only four small commits in 2022 as of this writing), but it is still somewhat active. Its developer base is relatively small, though; a total of 35 developers have contributed since 5.8, and one developer, Jacques Desmis, contributed 1,412 (62%) of the post-5.8 changes.

Whether things will pick up is not at all clear. This GitHub issue, opened in February 2020, reflects an ongoing desire to get a beta 5.9 release out, but it never seems to happen. There does not appear to be an active leader who can put the time into pulling a release together. Desmis, the project's primary contributor, says directly that he should not be counted on to drive the project forward: "I am old (soon 75 years old) and my health is poor". Clearly, if RawTherapee is to be an active project again, somebody is going to have to step up and bring some new energy to it.

That could well happen. RawTherapee is a solid editor that is, in many ways, more approachable than darktable. It could be a solid base on which a future developer could implement a new generation of photo-processing tools. The documentation is reasonably good — a requirement for a program of this complexity. On the surface, at least, there do not appear to be severe shortcomings that would require fixing before moving RawTherapee forward.

Without some new energy, instead, this project is at risk of falling into disrepair, which would be a shame. Many photographers feel the need to use proprietary software to do their work, but it does not have to be that way; the free-software community offers a number of alternatives. But photographers who depend on their tools will be reluctant to invest the time required to master a complex tool like RawTherapee if it appears to have an uncertain future. RawTherapee seems like too good a tool to lose; hopefully some energetic developers will materialize with an interest in keeping it going.


to post comments

Raw photo editing with RawTherapee

Posted Feb 7, 2022 16:21 UTC (Mon) by Herve5 (guest, #115399) [Link]

Thank you for this very interesting comparison!
I think RawTherapee also has a masking feature, but its use isn't as easy as within DarkTable (not being able to define the mask as a function of exposition, for instance), which is the main reason I preferred (long ago) the latter.
But updating a comparison is important!
Anything about RawTherapy support for graphic cards? (this question because you say it's slower than DT, which indeed does support them)
H.
P. S. LightZone is another app you may wih to check next : simpler interface but quite powerful anyhow!

Capable of extraordinary results, if you are a masochist

Posted Feb 7, 2022 16:52 UTC (Mon) by awilchak (guest, #88462) [Link] (1 responses)

I've been using RawTherapee as my only RAW processing software for almost three years now, and I've become deeply familiar with it. It's extremely powerful and capable of very, very high quality results. However, it has some major limitations and issues that continue to seriously affect my work. (However, despite these hugely annoying things, I am STILL using it, and have no plans to use anything else. So there you are.)

- No ability to save "multiple versions" of an image into the sidecar. You only get one. Even though you can save "snapshots" of settings while in the editor, those snapshots are NOT saved to the sidecar file, so you lose your snapshots when the file is closed. This is my #1 complaint about RT, and not having this feature has cost me... hundreds of hours of work. Seriously! This is one of the most basic features of non-destructive RAW editors, and RT might be the only app in its class that can't do this. (ART, a RawTherapee fork, has added this feature, so it is clearly within the realm of doable.)

- Keyboard shortcuts are not great, and not customizable.

- Noise reduction is not great, and mostly just smears the colors at higher values. If you're working with noisy source files, use something else.

- Crop/rotate tools are annoying to use.

- It leaks memory like a sieve. After 30-45 minutes of editing (depending on how hard you push it, and how many files you have open), it WILL consume all available RAM and crash. It will do this even if you only have 1 file open in the editor. If you have multiple files open, closing files out will NOT free up RAM. (Ok, a tiny amount. But if the app is using 45GB RAM with only 2 files open, and you close one, and memory use drops to 44GB, something is wrong.) Oh yeah, and it will not save your work if it crashes, because the sidecar is only saved if you close the file (or manually save it- it's NOT saved continuously/automatically).

- The way you view and apply "processing profiles" is less than rudimentary. It's embarrassing how insanely limited it is for such a fundamentally important part of the interface. There's only one way to see your profiles: a single dropdown menu. There is no other way to view/edit/manage your processing profiles. And, combined with RT's lack of ability to save multiple snapshots to an image's sidecar, that means you are going to be using this dropdown.... a LOT. I have over a thousand processing profiles and the only way I can use them is via this stupid drowndown. I hate this so much.

Ok, so it has some major, major problems. But let me also talk about some of the things it does well:

- Incredibly powerful tools for adjusting color. How about 5 different ways to adjust saturation? (Way more than 5, if you get creative.) Multiple ways of adjusting shadows, highlights, overall dynamic range, micro-contrast, macro-contrast, and all kinds of really subtle effects. You will need a good, color-calibrated monitor to really appreciate how sophisticated some of the controls are, but if you have the patience, you can do really cool stuff.

- Multiple demosaicing algorithms. Multiple sharpening algorithms. Multiple "effect" algorithms like Retinex, Soft Light (I think this is actually from GIMP?), all the Wavelet stuff, Dynamic Range Compression, Tone Mapping... you can really go crazy. (It is worth noting that if you turn on some of these algorithms, it gets SLOW.)

- Robust film simulation support through HaldCLUTs. There's a very large, very high quality free pack of film simulation LUTs you can get from the RawTherapee wiki! For free! And you can easily convert other LUT formats to HaldCLUT, so you can pretty much use any kind of LUT you want with the film simulation engine. This is awesome.

------

IN CONCLUSION: RawTherapee is very powerful, but it will make you work hard for good results, and you will not enjoy using it, but you will enjoy the results if you put enough time in.

Capable of extraordinary results, if you are a masochist

Posted Feb 8, 2022 8:21 UTC (Tue) by anselm (subscriber, #2796) [Link]

RawTherapee is very powerful, but it will make you work hard for good results, and you will not enjoy using it, but you will enjoy the results if you put enough time in.

Sounds like a pretty typical FLOSS tool then …

Raw photo editing with RawTherapee

Posted Feb 11, 2022 7:20 UTC (Fri) by mkubecek (guest, #130791) [Link] (1 responses)

After an upgrade of GIMP in my distribution resulted in loss of ufraw plugin, I tried both Darktable and RawTherapee as replacement and the result is that I really miss ufraw. I believe that having to work hard in postprocessing is a sign of having messed up on the scene. So for most photos it should be just brightness adjustment if it's too light or dark, touching the white balance a bit, sometimes tweaking the curve a bit to get more details in the darks, import to GIMP and do the rest there. Sure, ufraw couldn't do much more than this but it did that job well and it was easy to use for it. Both darktable and RawTherapee are immensely more powerful but forcing them to do the three simple basic tasks (and nothing more) is a pain.

In general, I prefer having more settings and more features as long as they don't stand in the way if I'm not using them. In darktable and RawTherapee, this doesn't seem to be the case.

Raw photo editing with RawTherapee

Posted Feb 17, 2022 13:29 UTC (Thu) by cantsin (guest, #4420) [Link]

In general, I prefer having more settings and more features as long as they don't stand in the way if I'm not using them. In darktable and RawTherapee, this doesn't seem to be the case.
With raw editors, it's the same as with text editors: ufraw is like the nano, RawTherapee and Darktable are like the emacs and vim of raw digital photo editors. Both have their place.


Copyright © 2022, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds