Hello all, and sorry in advance for the length of the post!
In the last couple of weeks I’ve been playing with a new feature for the “Fast Export” mode of RT.
I’ve always liked the idea of a fast mode that trades speed for quality, but I’ve never been very happy about the current fast export mode. In my opinion, it gives up too much in features in order to achieve a (reasonable) speed advantage compared to the normal mode.
So, inspired by the --hq
flag of DarkTable (its description, I haven’t looked at the code), I started experimenting with a “special” processing pipeline to be used for the Fast Export mode. The idea is that of resizing the image as early as possible, and run the rest of the processing steps on the resized image. So, the more you scale down the output, the more you gain. This of course means that you also lose quality, but that is part of the “contract” of Fast Export: if you use it, you are ready to sacrifice some quality for speed.
I think that the feature is now in a usable state. This doesn’t mean it is bug free, but it should be stable enough that people who are interested might give it a try and provide feedback
There is a new option in the Fast Export Tab that enables the new pipeline (see the screenshot). If you enable it, the idea is that you can then get a reasonable performance boost (depending on how much you resize, of course) while at the same time obtaining an output that is much closer to the “normal” one.
In order to give you a feeling of what to expect, I have processed some of the RAW files that have been posted on the forum. For each of them, I’m showing you the jpeg output of the “normal” and the new “fast” pipelines of RT, when rescaling to 1920 pixels on the long edge. The pp3 files are also attached, toghether with the execution times (on a Thinkpad T460s with 4 2.6GHz i7-6600 cores and 20Gb of RAM – YMMV, depending on the machine you use).
To make things a bit more fun, I’m not telling you which is which, though. I think it should be pretty obvious for a couple of shots, but I’m still curious to hear what people think…
I tried to get a reasonable varied sample of pictures to show the behaviour under different conditions, but of course this is not exhaustive, especially because there are tools in RawTherapee that I never use. So, if you:
-
find this interesting, and
-
would like to help
I would be very interested in seeing pictures (with pp3 files, if possible) for which the two pipelines produce significantly different results. However, any other kind of feedback is also welcome!
The code is at https://github.com/agriggio/RawTherapee/tree/simpleprocess-fast-export-test (in the simpleprocess-fast-export-test branch
)
Sample files are below.
And thank you for having read until here!
-
RAW file: https://pixls-discuss.s3.amazonaws.com/original/2X/7/783d94a023dcc734b2b36d819125209bb7c6b4b8.CR2
from thread: Dealing with clipped highlights - an example-
pp3: 009.CR2.pp3 (9.4 KB)
-
Normal output time: 5.80 seconds
-
Fast output time: 2.96 seconds (speedup: 1.95x)
-
V1
V2
-
RAW file: https://drive.google.com/file/d/0B28JOPvq926IZllFTGlaS1VINk0/view?usp=sharing
from thread: Dehaze equivalent in darktable or RawTherapee - #24 by arctic-
pp3: _MG_4783.CR2.pp3 (9.7 KB)
-
Normal output time: 8.05
-
Fast output time: 3.07 (speedup: 2.62x)
-
V1
V2
-
RAW file: https://pixls-discuss.s3.amazonaws.com/original/2X/5/5bb2bd21266a8d53f46666d2a748b2e7632d3895.ARW
from thread: My Shot of the Year-
pp3: 2016-07-26-23-40-37-0.ARW.pp3 (9.5 KB)
-
Normal output time: 22.43
-
Fast output time: 4.03 (speedup 5.56x)
-
V1
V2
-
RAW file: https://pixls-discuss.s3.amazonaws.com/original/2X/f/fe651efcce1684b4f1d8f3cda2d65d821752f24d.ARW
from thread: [PlayRaw] Unveiling the castle-
pp3: DSC03922.ARW.pp3 (12.6 KB)
-
Normal output time: 27.51
-
Fast output time: 7.83 (speedup 3.51x)
-
V1
V2
-
RAW file: https://drive.google.com/uc?export=download&id=0B21lPI7Ov4CVSU5RTnRWN1h1NnM
from thread: [PlayRaw] Mairi Troisieme-
pp3: Mairi_Troisieme.ORF.pp3 (9.7 KB)
-
Normal output time: 10.91
-
Fast output time: 4.19 (speedup 2.60x)
-
V1
V2
-
RAW file: http://dl.free.fr/gTg8gyW0Z
from thread: Noise reduction compared to LightRoom - #21 by Jessie-
pp3: SAM_1680.SRW.pp3 (9.6 KB)
-
Normal output time: 12.29
-
Fast output time: 3.31 (speedup 3.71x)
-
V1
V2
-
RAW file: https://pixls.us/files/playraw/Phil_Howcroft-IMG_5591.CR2
from thread: [PlayRaw] 3: Phil-
pp3: Phil_Howcroft-IMG_5591.CR2.pp3 (10.0 KB)
-
Normal output time: 8.17
-
Fast output time: 3.70 (speedup 2.20x)
-
V1
V2