FixLuminance

From Avisynth wiki
Revision as of 01:49, 17 January 2016 by Raffriff42 (Talk | contribs)

Jump to: navigation, search

FixLuminance(clip clip, int intercept, int slope)

int  intercept = (required)
Line at which to start correction.
int  slope = (required)
Slope of correction function. The top of the picture is made darker by 1 (on a 0-255 scale) every slope lines.
Maximum darkening (at top line) = intercept / slope


The purpose of this filter is to progressively darken the top of the image; for example, to compensate for certain VCRs which make the top of each frame brighter than the bottom. This filter works only with YUY2 input.

Personal tools