Skip to content

Option to start raws from a neutral look instead of the fitted camera look #577

Closed

Description

@radialmonster

TL;DR: for raws without a measured colour matrix (most ARW, NEF, RW2, RAF, CR2, CR3 and PEF files), LightCraft fits each photo's starting look to the camera's embedded JPEG. Two users have asked for a way to opt out and start from a neutral, scene-referred rendering instead. This issue collects feedback on whether, and how, to offer that.

Requests so far

How it works today

Possible shapes (for discussion)

  1. A per-photo or per-camera choice of starting look: "Camera look" (today's default) or "Neutral". It could be set on import and in the Profile panel, and be part of the develop settings, so it syncs and copies like any other.
  2. A preference for the default on new imports, with the per-photo switch from option 1.
  3. Leave it as is. Improve the fallback so rejected fits look reasonable, and let users who want a neutral start build a preset.

Questions for the maintainers and users:

  • Should "Neutral" mean today's generic fallback, or a dedicated neutral rendering (for example, the per-photo tone curve without the camera's colour styling)?
  • Should it apply to DNGs with their own colour matrix (no change needed there) or only to raws that use the fitted look?

If this is wanted, I'm happy to prepare the implementation once the shape is agreed.

Activity

  1. jojo23-coder commented on Oct 11, 2026

    @jojo23-coder

    +1, with one more case for it: raws shot in a monochrome picture style.

    I shoot a Canon EOS RP (CR3) and often set the Monochrome Picture Style so the viewfinder shows B&W. The raw is full colour, but the embedded JPEG is grey (exactly zero chroma in all 11 of my test files). The JPEG fit has no colour to learn from, so it's refused, and these files fall through to the spectral matrices with the default tone curve (LIGHTCRAFT_PROFILE=1 shows no "camera look" line for them, while my colour-shot files from the same body get one). Measured on 0.5.0 against each file's own camera JPEG (Monochrome-shot files with B&W treatment on):

    mean ΔE (CIE76) vs the file's camera JPEG
    colour-shot files, fitted camera look 4.3 (8 files)
    Monochrome-shot files, default rendering 12.0 (11 files, 5.7 to 30)
    Monochrome-shot + exposure +1.3 EV and a fitted curve 1.3

    So the same body opens about 1.3 EV darker and flatter depending on a viewfinder setting. Presets then behave differently on the two kinds of file, so I keep two sets of the same presets.

    What I'd find useful is a per-photo choice of starting point, defaulting to today's behaviour:

    1. Camera match (today): fitted per file to its JPEG. Looks like the camera, but varies with in-camera settings (picture style, Auto Lighting Optimizer).
    2. Camera standard: one colour model and one tone curve per camera model, pooled from many fitted files (as calibrate already does for colour, and as LR-PROF-CAMERACOLOR: median Canon camera tone for CR3s without an embedded JPEG (HDR-PQ shots) #758 does for tone). Camera-like, but identical for every file of a model, whatever the picture style. Presets would behave the same on every file.
    3. Neutral: spectral or measured matrices plus a fixed default tone curve, independent of the camera's look. On my files the current default curve needed roughly +1.3 to +1.8 EV and deeper blacks to look like a typical raw developer's default, so it might want recalibrating if it becomes a user-facing choice.

    For Monochrome-JPEG files specifically, a smaller fix would also help without any UI: when the reference JPEG is monochrome, fit only the tone curve (luminance against luminance) and take colour from the model's profile or spectral row. The grey JPEG still carries the camera's tone curve. In my tests a tone-only match reached ΔE 1.3 against the camera's Monochrome JPEG.

  2. AlexChambers commented on Oct 11, 2026

    @AlexChambers
    Contributor

    @jojo23-coder thanks, that's a clear case. I'll take the smaller fix as a PR: when the camera JPEG has no colour at all and the usual fit fails, fit only the tone curve (luminance against luminance) and take the colour from the model's camera profile if it has one, else from its spectral matrices, else the neutral rendering's. The same checks as the partial look apply (the JPEG has to show the same picture, and the result has to be clearly closer to it than the fallback), and photos shot in colour go through exactly the same code as now.

    Your Monochrome and Standard CR3s from the same session would be the best test, since I have no real Monochrome-shot raws. If you can share a few pairs for local testing (they won't be committed or redistributed), I'll report the numbers on the PR.

  3. AlexChambers commented on Oct 11, 2026

    @AlexChambers
    Contributor

    @jojo23-coder the fix is up as #938. I simulated Monochrome-shot files by greying the camera JPEG before the fit, on 131 of my ILCE-7CR ARWs and 36 CC0 raw.pixls.us files from 19 bodies (10 Canon, including the EOS RP). Against each file's real colour JPEG, median ΔE76 goes from 17.3 to 4.9, and the lightness error from 10.7 to 1.0 L*, about what the colour-fitted look gets. On the two EOS RP samples, ΔL* goes from −12.3 and −15.9 to −0.2. A real Monochrome style isn't plain luminance (filter effects), so your CR3 pairs would still be the best check if you can share some.

  4. bflatastic commented on Oct 11, 2026

    @bflatastic
    Member

    Thank you for reporting this, @radialmonster. #938 landed in #981, which should fix it, so I'm closing this issue. Feel free to reopen it if you still see the problem in the next build.


    Generated by Claude Code

  5. added a commit that references this issue on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions