|
Hi,
>good news for you.
>conversion with icctrans works quite well
- in both directions.
> now
i know how to deal with it :-)
values are the same as in
> photoshop - except for
rounding differences.
>
>i must admit - hmmh - i made a beginners
mistake...
>when choosing color values with photoshop
'color picker' i was in
> L*a*b* color space - and so was very often out of RGB gamut...
> got a hot flush when i realised
this.
> sorry Mart� for this false alarm, my only
excuse is that i _am_ a
> newbie to color models and color
handling. Don't apologize :-) You have done a great job
checking the engine
and then reporting what seemed a bug to the
list. This is the way we
uncovered bugs, so this is really a contribution, and it is welcome.
>in that situation i threw my eyes upon the
L*a*b* color model which
> hopefully gives me
what i want - at least it has one
value to adjust
> 'lightness'.
Yep. Lab is very adequate for doing image manipulation. In first
place,
is near perceptually uniform. This is good for most operations. Then,
it
has Luma separated from chroma, again a nice feature.
Here are some "tricks" on Lab:
- Addition works far better than in RGB. Adding two Lab values does
give the resulting Lab color.
- To modify "brigtness" just add o substract a constant to
L
- To modify "contrast" apply a exp() on L.
- You can also use polar form of Lab LCh. There are a couple of
functions to convert Lab <-> LCh
- You can "desaturate" or "oversaturate" color by
incrementing/decrementing C in LCh
- Saturation of color is given by s = C/L
- Hue angle is given by h
Best Regards,
|
- [Lcms-user] conversion sRGB to L*a*b* fatal error Andreas Sch�mann
- Re: [Lcms-user] conversion sRGB to L*a*b* fatal erro... Andreas Sch�mann
- Re: [Lcms-user] conversion sRGB to L*a*b* fatal ... Mart� Maria
- Re: [Lcms-user] conversion sRGB to L*a*b* fatal erro... Mart� Maria
