[argyllcms] Re: Profile generation with perceptual intent with compensation for paper white

  • From: Gerhard Fuernkranz <nospam456@xxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 23 Sep 2017 13:03:42 +0200

Am 22.09.2017 um 22:15 schrieb Henrik Olsen:

I tried to find the ciecam02.c, but couldn’t. Found xicc/cam02.c,
> so likely just a typo

Sorry, this was a typo.


/* Degree of chromatic adaptation */
s->D = 1; /* s->F * (1.0 - exp((-s->La - 42.0)/92.0)/3.6); */

Is that how you did it?

Yes.

Any cons to this change? Never that nice to hardcode something
> if consequences are not understood...

Definitively it should not be hard-coded, since the calculated D
is certainly appropriate for many use cases.

But I don't see a reason why an option to override D should not
be exposed on the command line, since other CIECAM02 parameters are
already offered as command line options as well.
[ for instance as -cD:... and -dD:...]

Regards,
Gerhard


Other related posts: