Berkeley CSUA MOTD:Entry 11053
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/04 [General] UID:1000 Activity:popular
4/4     

2003/11/13-14 [Consumer/Camera] UID:11053 Activity:nil
11/12   What's the difference between a pixel value and an RGBA value?  My
        understanding is that RGBA is a 32-bit int w/ 8 bits each for red,
        blue, green, and alpha, but I don't know how that maps to a pixel
        value.
        \_ A pixel "value" is your perception of the light that comes
           out of the pixel on the screen. Look at the pixel; you see
           white. That's the "value". In color monitors, this corresponds
           to the combination of the contributions of the red, green, and
           blue guns. Out of RGBA, only RGB contribute (A is opacity and
           is used for intermediate computation). RGB can be in any format -
           OpenGL supports float or 8-bit int (among others) per channel -
           but in general there's a maximum value (in 8 bits, 0xff) that
           maps to the maximum brightness. For more details:
           http://www.faqs.org/faqs/graphics/colorspace-faq
           \_ A pixel 'value' is actually an integer, not a perception of
              the light. -- nitpick.
           \_ Great Answer -!op
           \_ So a pixel is simply a set of color values at the appropriate
              transparency?
              \_ No, it's the sum of red light, blue light, and green light.
                 (Why RGB? You have receptors in your eyes that match those
                 three frequencies.) It has nothing to do with transparency.
                 Transparency is only used for intermediate calculations
                 (google "Porter-Duff Compositing")
        \_ Yermom told me all about your "pixel"
        \_ By the same token, why do graphics cards have 32 bit color and not
           just 24 bit ("true") color? Also, I always run windows/games in
           16bit, because it's good enough for most things. when does 32bit
           color really make things look better?
           \_ A graphics card's "32 bit color" is RGBA (8 bits for each).
              The monitor only shows RGB. So they are the same. Your eye
              can distinguish roughly 1% gradations in intensity, so you
              might think you only need 100 color values per channel not
              256. But because of "gamma" (nonlinear eye response, which is
              partially corrected in the monitor, see the faq above) the
              possible values of each channel are not distributed evenly
              across what you can perceive. The only real place more than
              8 bits / channel is used is medical applications like xrays
              where radiologists usually use about 12 bits/channel (and that's
              just 12 bits of gray, not colored at all). Summary: 8 bits
              per channel is about all that's needed; you wouldn't notice
              much if at all if you had more bits per channel.
           \_ I can tell the difference between 16-bit and 24-bit color. (It's
              easier with some images than others.) Even when transparency
              effects aren't used, 32-bit sometimes is preferred over 24-bit
              simply because the hardware can shuttle around double-words more
              readily than 1.5 words.
           \_ also, the card is advertising framebuffer and gpu features
              that affect intermediate calculations as well as final
              presentation.  extra bits helps prevent a lot of visible
              artifacts from poorly normalized colors during steps like
              alpha compositing, texture mapping, and multi-pass rendering.
2025/04/04 [General] UID:1000 Activity:popular
4/4     

You may also be interested in these entries...
2012/3/7-26 [Consumer/Camera] UID:54328 Activity:nil
3/7     Does anyone else think the iPad3 isn't really that much better
        than the iPad2?  I don't really understand the hype.
        \_ 5MP camera?  My 1-yr-old Android phone has a 8MP auto-focus camera
           (plus a 1MP focus-free one on the front.)
              \_ The iPad camera seems like a joke to me.  The iPad is just
                 to big to be useful for taking pictures.  Maybe it makes
	...
2010/8/29-9/30 [Consumer/Camera, Computer/SW/Languages] UID:53939 Activity:nil
8/28    Hi, anybody printed a photo image to a big plotter?  Something like
        36"x36"?  I'm wondering how many megapixels the image need to
        have in order for the print to "look good".  There is a rule of
        thumb?  Like 6 megapixel is good for X size print.  10 megapixel
        is good for Y size print.  Thanks.
        \_ You don't need that many more megapixels for much bigger prints,
	...
2008/12/12-17 [Consumer/Camera] UID:52235 Activity:kinda low
12/12   Hey Camera wanks, here's a cake for you:
    http://blog.makezine.com/archive/2008/12/birthday_cake_made_into_t.html
        \_ Nice, thanks! FYI that's a D700, $2700 new on Adorama/Amazon
           and $2200 on eBay new. It's arguably the best DSLR for night
           time, giving you 1-1.5 stops advantage over all the cameras
           besides the D3 due to the size per pixel compared to the
	...
2008/2/8-10 [Consumer/Camera] UID:49104 Activity:nil
2/8     Pretty cool 'realistic pixel art'
        And quit squishing changes.
        http://kotaku.com/photogallery/jimiyo/1000681749
        \_ Why the hell is this worth posting? What a waste of my time.
           \_ Welcome to the MOTD, blowhard.
	...
2007/10/8-9 [Consumer/TV] UID:48262 Activity:kinda low
10/8    I'm looking for a handheld video player can do hdtv (720P?) video
        out and play Xvid and Divx video.  Does such a beast exist?
        \_ I saw someone on BART about a year ago watching movies on a device
           about 1" think and just slightly larger than a DVD.  I didn't quiz
           her on what formats it supported but I was sure jealous she was
           watching a movie while I was watching Oakland go by.
	...
2007/8/5-22 [Consumer/Camera] UID:47537 Activity:low
8/5     I'm thinking of getting a serious SLR camera. Costco is selling
        a Canon SLR for $1299. Is that a decent SLR at a decent price?
        \_ If you don't know, you shouldn't be buying a $1300 camera.  -tom
           \_ I agree with tom.  What do you need it for?  If you don't
              know, it's obviously not _worth_ it.  If you do know, only you
              can make that decision.  If you're wondering about price
	...
2006/11/2-4 [Consumer/Camera, Computer/HW/Printer] UID:45109 Activity:kinda low
11/02   A one megapixel picture on screen looks pretty good.  Yet if you print
        the same picture on a sheet of paper that's the same size as the screen
        image, it looks bad regardless of what inkjet/laser printer you use.
        Why is there a difference?
        \_ That's a good question.  Assuming a proper photo print out
           (real developed photo or dye-sublimation printing), I can
	...