12
\$\begingroup\$

In Darktable, when extracting RAW and JPG from the camera and viewing them using lighttable mode, both look identical. Does this mean that they both contain post-processing done by the camera processor?

Then, when taking the RAW and going from lighttable to darkroom mode some properties of the picture changes significantly (the picture looks quite different). Is this because darkroom mode removes the in-camera post-processing?

Is there a way to get in darkroom, as a starting point, the RAW file just like we can see it in lighttable?

\$\endgroup\$
1

2 Answers 2

17
\$\begingroup\$

This is essentially the same as Why does my Lightroom preview change after loading? . The RAW file contains a JPEG preview, which reflects the camera's settings and will generally be the same as an in-camera JPEG (although usually in low quality to save space). That's what Darktable is showing you initially.

When you go to process the image, Darktable is working from the RAW itself. It's not removing in-camera processing -- it's just that that processing wasn't really there in any helpful way in the first place. (Clues to the processing may be included in the file's metadata, but usually as manufacturer-specific proprietary information.)

Darktable doesn't have access to the exact algorithms and settings used for the internal processing, so the basic answer to that part of your question is "sorry, no". Take a look at How can I reproduce the camera-internal postprocessing? for more on this.

\$\endgroup\$
5
  • \$\begingroup\$ ok, thanks for this! It's just that the camera does a pretty good job for a starting point, so I was wondering if I could get this starting point back into the darkroom module. Too bad :) \$\endgroup\$
    – GHL
    Commented Dec 5, 2013 at 22:57
  • \$\begingroup\$ Although this is true, you can go a long way by just using a "base curve" for your camera --- for example, Sony like if you have a sony, etc. \$\endgroup\$
    – Rmano
    Commented Dec 6, 2013 at 1:19
  • 1
    \$\begingroup\$ @Rmano That sounds like an excellent start to an answer to the linked question. :) \$\endgroup\$
    – mattdm
    Commented Dec 6, 2013 at 3:16
  • \$\begingroup\$ @mattdm Done --- I hope someone with more knowledge than me can help completing it. \$\endgroup\$
    – Rmano
    Commented Dec 7, 2013 at 2:21
  • \$\begingroup\$ There's a darktable tool you can use for creating presets to get curves similar to what you get in camera. \$\endgroup\$
    – rosencreuz
    Commented May 25, 2014 at 20:19
3
\$\begingroup\$

The answer to all three of your sub-questions is "No."

The actual picture data from what the sensor has captured in a raw file is not affected by the in-camera processing settings. The preview JPEG file embedded in the raw image file is affected by those settings since the camera uses them to generate the preview JPEG.

When you view an image in Darktable using lighttable mode, you are viewing the JPEG preview, not a rendering of the actual raw picture data. When you go into darkroom mode then you are viewing a conversion of the raw data. This conversion is created by the program that probably doesn't even attempt to read the information from the raw file that includes what the in-camera setting were at the time. Even if it could read them, it wouldn't be able to do much with them. Unless a third party raw convertor, such as Darktable, has access to the exact algorithms used by the camera manufacturer then any rendering they do is basically a reverse-engineered educated guess. Most manufacturers make their demosaicing algorithms proprietary and either do not share them at all, or only share them with major players on the image processing software landscape such as Adobe (LR/PS/CS) and DxO Optics. And all Adobe products, to the best of my knowledge, ignore any information in a raw file that has to do with the in-camera settings. This information is, in fact, stripped away when a raw file such as a .cr2 from a Canon camera or an .nef from a Nikon camera is converted to Adobe's .dng format.

\$\endgroup\$
1
  • \$\begingroup\$ The one exception here would be white balance, which by default darktable will attempt to replicate from the camera settings. \$\endgroup\$ Commented Dec 15, 2015 at 7:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.