Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#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.


Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, September 17, 2007 2:31:34 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)


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.

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.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.038 seconds.