View Single Post
Old 8th April 2013, 18:00   #14  |  Link
PDyksma
Registered User
 
Join Date: Apr 2013
Posts: 3
Hello LaTo

Thanks for your efforts to create a REAL autolevels plugin.
All the ones I tried till now suffered from crunching the whites...
Also (f.i. the Avisynth one) they do not "obey" the requested outputlevels without clipping.

I'm a noob on scripting but is it not possible to do the following:

- get the brightest pixel in a frame and map it to, let's say 235
- get the darkest pixel and map it to 16
- interpolate the rest in between
- add some averaging to avoid "pumping"

The result should be as attached luminance waveform
Attached Images
 
PDyksma is offline   Reply With Quote