On 05/24/2016 06:54 AM, Marco Freudenberger wrote:
> Hi!
>
> I'm trying to create a gray profile that has an L* (L-star) response
> curve, but I'm a little confused about the "parametric tone curve" syntax.
>
> Is there an example how to create the correct tone curve? I guess I need
> the inverted version of L* companding, right? Would that be a 4
> parametric curve, with:
>
> y(Gamma) = 3.0
>
> a=1.0/1.16
>
> b=0.16/1.16
>
> c=100.0/903.3
>
> d=0.008856*903.3/100.0
>
> So in code something like that:
>
> cmsFloat64Number lStarParams[5] = { 3.0, 1.0/1.16, 0.16/1.16,
> 100.0/903.3, 0.008856*903.3/100.0 };
>

FWIW (I'm no expert!), I use these parameters to make the Lab parametric 
curve:

cmsFloat64Number labl_parameters[5] =
{ 3.0, 1.0/1.16, 0.16/1.16, 2700.0/24389.0, 0.08000 };

The parameters are from these two pages:

http://brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html
http://brucelindbloom.com/index.html?LContinuity.html

Where does the equation for your last parameter come from? I've always 
used Lindbloom's values and he gives 0.08.

Best,
Elle
-- 
http://ninedegreesbelow.com
Color management and free/libre photography

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to