 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
tom Guest
|
Posted: Mon Mar 26, 2007 8:26 pm Post subject: gray scale rgb |
|
|
I would like to extract the brightness from a picture using ntsc or
photoshop or linear color weights (this is quite easy and done) but how
could you go about using this gray scale pic to change the brightness of
the original picture,just to compare which weighted numbers are the best. I
have HSV working well for a lot of things but it takes the the highest
number from the three colors not weighted number. Does any color space use
weighted numbers?
thanks
Tom |
|
| Back to top |
|
 |
northern_RATT Guest
|
Posted: Thu Mar 29, 2007 11:47 pm Post subject: Re: gray scale rgb |
|
|
[snip]
| Quote: | Does any color space use
weighted numbers?
.... |
Don't know if this helps but
the weighting used in NTSC is:
59% green, 40% red, 11% blue
=white.
Drew |
|
| Back to top |
|
 |
tom Guest
|
Posted: Fri Mar 30, 2007 12:54 am Post subject: Re: gray scale rgb |
|
|
thanks but NTSC is more like (0.299f * red) + ( 0.587f * green) + (
0.114f * blue)
Photoshop (according to the 'NET' )is (0.2126f * red) + ( 0.7152f *
green) + ( 0.0724f * blue)
I already use these to extract the gray value but I would like to compose a
new image with these values and color information to compare with the
original to see how accurate these values are. e.g.. why did adobe use these
numbers. the problem is if you use the same system for composing a image as
you used for extracting they should be identical, not giving any pertinent
information.
I do know about Yuv and Yiq but you have to use the same weighted numbers.
thanks again
Tom
"northern_RATT" <none (AT) none (DOT) nit> wrote in message
news:460c09dd$1 (AT) newsgroups (DOT) borland.com...
| Quote: | [snip]
Does any color space use
weighted numbers?
...
Don't know if this helps but
the weighting used in NTSC is:
59% green, 40% red, 11% blue
=white.
Drew
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|