Velocity Reviews > x% gray in digital

# x% gray in digital

Roy G
Guest
Posts: n/a

 01-16-2007
"Steven Woody" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> what's the pixel value ( from 0 to 255 ) representing a x% gray ? where
> x ranged from 0 to 100 and gamma is supposed to be 2.2 ( or 1.8 ).
>
> thanks.
>
> -
> woody
>

Eh ????

Roy G

Steven Woody
Guest
Posts: n/a

 01-16-2007
what's the pixel value ( from 0 to 255 ) representing a x% gray ? where
x ranged from 0 to 100 and gamma is supposed to be 2.2 ( or 1.8 ).

thanks.

-
woody

acl
Guest
Posts: n/a

 01-16-2007

Steven Woody wrote:
> what's the pixel value ( from 0 to 255 ) representing a x% gray ? where
> x ranged from 0 to 100 and gamma is supposed to be 2.2 ( or 1.8 ).
>
> thanks.
>
> -
> woody

Hi. If the blackpoint is set to 0, then I suppose it will fall at
255*(x/100)^gamma

acl
Guest
Posts: n/a

 01-16-2007

acl wrote:
> Steven Woody wrote:
> > what's the pixel value ( from 0 to 255 ) representing a x% gray ? where
> > x ranged from 0 to 100 and gamma is supposed to be 2.2 ( or 1.8 ).
> >
> > thanks.
> >
> > -
> > woody

>
> Hi. If the blackpoint is set to 0, then I suppose it will fall at
> 255*(x/100)^gamma

I should have added that I assumed x% gray to mean "would fall at
2.55*x or gamma=1 (linear mapping)". I have no clue if this is what it
is supposed to mean photographically (eg maybe it already is defined
using some sort of logarithmic scale etc; I have no clue, as I said).

I suspect that was your question too.

Mike Russell
Guest
Posts: n/a

 01-16-2007
"Steven Woody" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...

> what's the pixel value ( from 0 to 255 ) representing a x% gray ? where
> x ranged from 0 to 100 and gamma is supposed to be 2.2 ( or 1.8 ).

There are a number of valid ways to answer your question. Here's a simple
one: taking RGB(255,255,255) as 100 percent, for gamma 2.2, the percentages
map to RGB values like this:

00 RGB(0.0,0.0,0.0)
10 RGB(88.0,88.0,88.0)
20 RGB(123.0,123.0,123.0)
30 RGB(148.0,148.0,148.0)
40 RGB(169.0,169.0,169.0)
50 RGB(187.0,187.0,187.0)
60 RGB(203.0,203.0,203.0)
70 RGB(217.0,217.0,217.0)
80 RGB(231.0,231.0,231.0)
90 RGB(243.0,243.0,243.0)
100 RGB(255.0,255.0,255.0)

These numbers were calculated in Photoshop by converting a gamma 1.0
gradient to sRGB, posterizing to 11 steps, and outputting the numbers as
text from the Curvemeister plugin.
--
Mike Russell
www.curvemeister.com/forum/

acl
Guest
Posts: n/a

 01-16-2007

acl wrote:
> Steven Woody wrote:
> > what's the pixel value ( from 0 to 255 ) representing a x% gray ? where
> > x ranged from 0 to 100 and gamma is supposed to be 2.2 ( or 1.8 ).
> >
> > thanks.
> >
> > -
> > woody

>
> Hi. If the blackpoint is set to 0, then I suppose it will fall at
> 255*(x/100)^gamma

oops, typo: should have been
255*(x/100)^(1/gamma)
as it is meant to compensate for the nonlinearity. Maybe someone can
tell me if this is correct, or if x% gray means something else than
what I think? Thanks.

Steven Woody
Guest
Posts: n/a

 01-16-2007

Mike Russell wrote:
> "Steven Woody" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) oups.com...
>
> > what's the pixel value ( from 0 to 255 ) representing a x% gray ? where
> > x ranged from 0 to 100 and gamma is supposed to be 2.2 ( or 1.8 ).

>
> There are a number of valid ways to answer your question. Here's a simple
> one: taking RGB(255,255,255) as 100 percent, for gamma 2.2, the percentages
> map to RGB values like this:
>
> 00 RGB(0.0,0.0,0.0)
> 10 RGB(88.0,88.0,88.0)
> 20 RGB(123.0,123.0,123.0)
> 30 RGB(148.0,148.0,148.0)
> 40 RGB(169.0,169.0,169.0)
> 50 RGB(187.0,187.0,187.0)
> 60 RGB(203.0,203.0,203.0)
> 70 RGB(217.0,217.0,217.0)
> 80 RGB(231.0,231.0,231.0)
> 90 RGB(243.0,243.0,243.0)
> 100 RGB(255.0,255.0,255.0)
>
> These numbers were calculated in Photoshop by converting a gamma 1.0
> gradient to sRGB, posterizing to 11 steps, and outputting the numbers as
> text from the Curvemeister plugin.
> --
> Mike Russell
> www.curvemeister.com/forum/

the data seem close to the formula acl provided.

David J Taylor
Guest
Posts: n/a

 01-16-2007
acl wrote:
> acl wrote:
>> Steven Woody wrote:
>>> what's the pixel value ( from 0 to 255 ) representing a x% gray ?
>>> where x ranged from 0 to 100 and gamma is supposed to be 2.2 ( or
>>> 1.8 ).
>>>
>>> thanks.
>>>
>>> -
>>> woody

>>
>> Hi. If the blackpoint is set to 0, then I suppose it will fall at
>> 255*(x/100)^gamma

>
> oops, typo: should have been
> 255*(x/100)^(1/gamma)
> as it is meant to compensate for the nonlinearity. Maybe someone can
> tell me if this is correct, or if x% gray means something else than
> what I think? Thanks.

Looks good to me. 18% grey is about mid-scale.

David

Gisle Hannemyr
Guest
Posts: n/a

 01-22-2007
"Steven Woody" <(E-Mail Removed)> writes:
> what's the pixel value ( from 0 to 255 ) representing a x% gray?
> where x ranged from 0 to 100 and gamma is supposed to be 2.2 ( or
> 1.8 ).

For 18 % grey (i.e Zone V), and gamma 2.2, the answer is (126,126,126).

For pixel values for the other zones - and some background, please
see: http://hannemyr.com/photo/zonesystem.html
--
- gisle hannemyr [ gisle{at}hannemyr.no - http://hannemyr.com/photo/ ]
------------------------------------------------------------------------
Sigma SD10, Kodak DCS460, Canon Powershot G5, Olympus 2020Z
------------------------------------------------------------------------

Steven Woody
Guest
Posts: n/a

 01-26-2007

On Jan 22, 4:15 pm, Gisle Hannemyr <(E-Mail Removed)> wrote:
> "Steven Woody" <(E-Mail Removed)> writes:
> > what's the pixel value ( from 0 to 255 ) representing a x% gray?
> > where x ranged from 0 to 100 and gamma is supposed to be 2.2 ( or
> > 1.8 ).For 18 % grey (i.e Zone V), and gamma 2.2, the answer is (126,126,126).

>
> For pixel values for the other zones - and some background, please
> see:http://hannemyr.com/photo/zonesystem.html

thank you, very one!

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post bbford Digital Photography 3 04-23-2006 08:53 PM B. Peg Firefox 2 06-12-2005 09:55 AM Maka Sili ASP .Net 0 08-25-2004 02:42 PM Maka Sili ASP .Net 0 08-25-2004 02:27 PM S. S. Digital Photography 3 06-24-2004 07:04 AM