This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, September 16, 2007 1:12:33 AM(UTC)
Groups: Registered
Posts: 1
I've just returned to using LeadTools after some time and am still on v12.1.
I have a question that is hopefully a simple one to answer. I'd like to use the LBitmap::ChangeSaturation() method on a RGB image but only on the green channel. I know I can use LBitmap::ColourSeparate() and LBitmap::ColourMerge() to extract colour channels but, since I'm working with large batches of large images, I wondered if there was a more efficient method of working on a single colour channel at a time.
Regards,
Warren
#2
Posted
:
Monday, September 17, 2007 2:31:34 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Warren,
The concept of saturation is that it represents color amount in a pixel, regardless of its intensity, or its hue (color angle). This means you cannot modify the 'saturation' of a single color.
However, you can modify the value (or intensity) of one channel using LBitmap::RemapIntensity(pLUT, CHANNEL_GREEN) after you define a suitable remap table.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.