Skip to content

colorchecker: fix SpyderCheckr data and merge 24/48 entries - #22278

Merged
TurboGit merged 6 commits into
darktable-org:masterfrom
mwenzkowski:fix-spydercheckr-reference-patches
Sep 25, 2026
Merged

TurboGit merged 6 commits into
darktable-org:masterfrom
mwenzkowski:fix-spydercheckr-reference-patches

Conversation

@mwenzkowski

@mwenzkowski mwenzkowski commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

This fixes several issues with SpyderCheckr color checkers:

  • Incorrect Lab reference values for the SpyderCheckr Photo.To fix this I have taken the values provided by @todd-prior in Color Calibration - Data update for Spyder Colorchekr photo..... #21682 (comment). To double check these values I requested the Lab values from datacolor as they mention it here, near the end:

    Do you need to replace a single card of your Spyder Checkr Photo or if you need the color values of the cards, lease contact our Spyder support team here.

    The values I received from datacolor are coarser and match the values mentioned above by rounding them to one decimal place. For example for Patch A1 datacolors reports 61.5, 32.3, 14.4 while the table from @todd-prior states 61.51, 32.31, 14.43. I decided to use the more precise values.

    I don't know if it is allowed by datacolor to share their document here, so to be on the safe side, I prefer not to do this. But anyone interested can request the values from datacolor in the same way I did.

  • Indices for middle gray and white patches are swapped for the SpyderCheckr Photo. Similar to 22610f8.

  • All 48-patch SpyderCheckr's are not using the gray patch that is closest to middle gray.

  • The pre- and post-2018 entries of the SpyderCheckr 24 and SpyderCheckr 48 are merged into one entry each, as agreed below and in Color Calibration - Data update for Spyder Colorchekr photo..... #21682. As far as we know, there never was a separate 2018 version of these charts. The post-2018 values are kept.

    Since darktablerc stores the chosen chart as a list position, a saved SpyderCheckr 24 post-2018 now opens as the SpyderCheckr 48, and either SpyderCheckr 48 as the SpyderCheckr Photo, until the chart is picked again. The saved position is clamped so the list always matches the chart in use.

  • Three color values of the SpyderCheckr 24 and SpyderCheckr 48 differed from the reference file shared in Color Calibration - Data update for Spyder Colorchekr photo..... #21682 and are updated to match it.

Note: I am not completely sure if the third fix is needed/desired. I only included it for consistency with the other color checker's data and because the middle gray index is documented as

size_t middle_grey;                 // index of the closest patch to 20% neutral grey

If it is deemed unnecessary, I can drop this change from this PR.

Testing

I have tested the changes with the SpyderCheckr Photo (I don't own the other ones):

I applied the color calibration with the colorchecker and set the exposure compensation value as calculated by the color calibration module.

Before

before delta_e before_exposure_compensation

After

after_delta_e after_exposure_compensation

Color Checker selection

I tested selecting each chart in the new list. I don't own the SpyderCheckr 24 or SpyderCheckr 48, so I couldn't calibrate with them.

Fixes #21682

@Donatzsky

Copy link
Copy Markdown

Does this PR take #21682 into account?

@mwenzkowski

mwenzkowski commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor Author

I had seen #21682, and I am also in the process of preparing a PR for fixing the LAB values for the SpyderCheckr Photo Edit: I included the fix in this PR. The changed indices are also correct with the updated color values from #21682.

@ralfbrown ralfbrown added bugfix pull request fixing a bug scope: image processing correcting pixels labels Sep 14, 2026
@mwenzkowski
mwenzkowski force-pushed the fix-spydercheckr-reference-patches branch from 4c63482 to abdb21a Compare September 14, 2026 20:27
@mwenzkowski

Copy link
Copy Markdown
Contributor Author

I also added the correction of the Lab color values of the SpyderCheckr Photo to this PR and updated the the PR description.

@todd-prior

Copy link
Copy Markdown

I also added the correction of the Lab color values of the SpyderCheckr Photo to this PR and updated the the PR description.

Thanks for doing this. I was trying to find the time to get this in but I have just had way too many things on my plate at home and at work.... Those are the reference values now from the actual Spyderchecker software so that should make things accurate. One other small change is as far as I could see there should only be 3 Datacolor entries... 24 patch, 48 patch and photo. I could find no evidence that there was two run's based on the dates shown. This comes from a blurry screen shot that Aurelien had and a couple of rounding issues as I think a couple of others concluded as well... So we could and should clean u the dropdown selection as well.....

@TurboGit TurboGit left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A question, is this change a bug or needed because the new spydercheckr reference has changed? If the later we need another entry for the new color checker as done currently:

  • Datacolor Spydercheck 24 (before 2014)
  • Datacolor Spydercheck 24 (before 2018)
  • Datacolor Spydercheck 24 (after 2018)

@todd-prior

todd-prior commented Sep 20, 2026 via email

Copy link
Copy Markdown

@mwenzkowski

mwenzkowski commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor Author

A question, is this change a bug or needed because the new spydercheckr reference has changed? [...]

It is a bug fix. In my understanding Darktable never used the correct values for the Color Checkr Photo.

@TurboGit

Copy link
Copy Markdown
Member

I'm not convinced at all, or people having entered previous values have all wrong!!!

Look for example at:
c75fea5
bc558ea

?

@Donatzsky

Donatzsky commented Sep 24, 2026 •

Copy link
Copy Markdown

I'm not convinced at all, or people having entered previous values have all wrong!!!

Read the investigation by @todd-prior in #21682

Yes, it would appear that all previous uses have resulted in wrong results, at least for the SpyderCheckr Photo.

@TurboGit

Copy link
Copy Markdown
Member

@Donatzsky @mwenzkowski : Thanks, I missed the issue with all the explanation. So, at this point the fix is also to remove all the versioned data, so we should ends-up with a single Spyderchekr 24 and a single Spyderchekr 48.

If we all agree on this, please let's do that on this PR. TIA.

@todd-prior

Copy link
Copy Markdown

@Donatzsky @mwenzkowski : Thanks, I missed the issue with all the explanation. So, at this point the fix is also to remove all the versioned data, so we should ends-up with a single Spyderchekr 24 and a single Spyderchekr 48.

If we all agree on this, please let's do that on this PR. TIA.

I think that the correct course of action...Thanks for taking the time to review all that......

@mwenzkowski

Copy link
Copy Markdown
Contributor Author

@TurboGit @todd-prior Okay, I'll try to add that to this PR.

The Photo target carried the SpyderCheckr 48 reference values, but the
Photo card uses different pigments. Take its values from the reference
file shipped with Datacolor's SpyderCheckr software, shared in darktable-org#21682.

Related: darktable-org#21682
22610f8 fixed middle_grey and white being swapped on the two
SpyderCheckr 48 targets, but missed SpyderCheckr Photo.
All three 48-patch targets took middle_grey from D4. Use E4 instead,
matching the other color checkers, which all use a patch close to
L* = 50. middle_grey is meant to be the patch closest to 20% neutral
gray, and E4 reflects about 20% while D4 reflects over 25%.
c75fea5 split the SpyderCheckr 24 and 48 into pre- and post-2018
entries. As far as we know, there never was a separate 2018 version
of these charts. Datacolor's own SpyderCheckr software ships a single
set of reference values for them, and the pre-2018 tables differ only
in a* values rounded to one decimal (six on the 48, three on the 24).

Keep the post-2018 tables. They match Datacolor's software except for
three more a* values rounded the same way (48 A3, 24 B1 and B5).

Fixes darktable-org#21682
Three color values differed from the reference file shared in darktable-org#21682.
Update them to match the file.

Related: darktable-org#21682
@mwenzkowski
mwenzkowski force-pushed the fix-spydercheckr-reference-patches branch from abdb21a to 101e662 Compare September 24, 2026 22:11
@mwenzkowski

Copy link
Copy Markdown
Contributor Author

Done. The versioned entries are merged and the PR description is updated. I also updated three color values of the SpyderCheckr 24 and 48 to match the reference file from #21682.

@mwenzkowski mwenzkowski changed the title Fix spydercheckr reference patches colorchecker: fix SpyderCheckr data and merge 24/48 entries Sep 24, 2026
@todd-prior

Copy link
Copy Markdown

Nice work

@TurboGit TurboGit left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@TurboGit
TurboGit merged commit 805193b into darktable-org:master Sep 25, 2026
5 checks passed
@TurboGit TurboGit added this to the 5.8 milestone Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix pull request fixing a bug scope: image processing correcting pixels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Color Calibration - Data update for Spyder Colorchekr photo.....

5 participants