LEDs and taking video of them...

Status
Not open for further replies.
I thought the idea was to linearize an otherwise logarithmic visual effect?, could be wrong. There have been threads on gamma correction of leds before here in the forum. Here is a table with a gamma correction of 2.25, see if that is interesting?

Code:
const unsigned int brightness[] = 	{0,1,1,1,2,3,3,4,5,7,8,9,11,13,14,16,
18,21,23,25,28,31,33,36,39,42,46,49,53,56,60,64,
68,72,77,81,86,90,95,100,105,110,116,121,126,132,138,144,
150,156,162,169,175,182,189,196,203,210,217,225,232,240,247,255};
 
Man, I dunno... I'm pretty lost now, but I am using that SIN lookup table to perform a very nice 'wave' from left to right in my picture. Very pleasing effect.
 
Well if Sine wave is an interesting effect, save it to a sub, or file, for future reference. Just by looking at the numbers, the gamma table has a longer period before full brightness, when compared to the sine table.

The gamma table sure beats using a 0-255 step function, if you want an even ramp up and down effect. Using the 0-255 step function, the ramp up comes too quick to a visual full brightness. and on ramp down, it looks a bit more normal to me.
 

I like this lookup table. I added a few more values to it and now I have a very nice looking Knight Rider effect that I have named DoHoff, in honour of The Hoff.
 
Good deal. You can try other exponents like 2.4 for the gamma equation, it can be a very subtle, and subjective matter.

DoHoff...... haha, just waiting for the next reality TV show.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…