linearizing PWM'd LED output for greyscales
- From: Mike Harrison <mike@xxxxxxxxxxxxxxx>
- Date: Sun, 19 Aug 2007 18:16:57 GMT
Does anyone have a reference/suggestion for a curve to linearise the apparent brightness of a LED
with respect to its PWM drive signal. i.e. to map 256 'grey' levels to 4096 PWM ratios such that the
'grey' scale appears linear to the eye (and so things like antialiasing work well).
As the drive is PWM, at constant current, I don't think the LED characteristic itself is especially
relevant, as the instantaneous intensity doesn't change, so I'm guessing this is essentially an
optical perception question. Is there a major difference between colours (Orange, ~600nm in my case)
? I would imagine that white at least might be different to a single-wavelength source.
I've messed with some log based curves in Excel, which certainly work way better than a linear
mapping, but I'd like to try to get things closer for an app that uses antialiasing to smooth motion
on a fairly low-res bar-graph type display, and I think it can probably be less jerky than I'm
seeing at present.
.
- Follow-Ups:
- Re: linearizing PWM'd LED output for greyscales
- From: RHRRC
- Re: linearizing PWM'd LED output for greyscales
- Prev by Date: Difference between NETD vs. MRTD
- Next by Date: Re: Single mode laser from a multi mode diode laser, how?
- Previous by thread: Difference between NETD vs. MRTD
- Next by thread: Re: linearizing PWM'd LED output for greyscales
- Index(es):
Relevant Pages
|
|