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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, January 25, 2007 5:18:59 AM(UTC)

Slager  
Slager

Groups: Registered
Posts: 8


How is the CHANNEL_MASTER from LBitmap::GetHistogram calculated in case of colour images?
I found out that RGB are combined like this 64/255 * R+ 159/255 * G + 32/255 * B.
I assume that these factors are somehow related to the response curve of the human eye. How are these factors calculated/ determined?
Regards,
Slager
 

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 : Sunday, January 28, 2007 6:01:14 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Hello,

There is a formula for calculating the intensity value from RGB, and in LEADTOOLS that formula is:
Intensity = R/4 + 5*G/8 + B/8 + 0.5

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.

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