FixLuminance: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
Raffriff42 (talk | contribs) m added category |
Raffriff42 (talk | contribs) m formatting, links, phrasing |
||
| Line 1: | Line 1: | ||
{{Template:FuncDef|FixLuminance(clip ''clip'', int ''intercept'', int ''slope'')}} | {{Template:FuncDef|FixLuminance(clip ''clip'', int ''intercept'', int ''slope'')}} | ||
:{{Par2|intercept|int|(required)}} | |||
::Line at which to start correction. | |||
:{{Par2|slope|int|(required)}} | |||
::Slope of correction function. The top of the picture is made darker by 1 (on a 0-255 scale) every {{FuncArg|slope}} lines. | |||
::Maximum darkening (at top line) = {{FuncArg|intercept}} / {{FuncArg|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. | |||
[[Category:Internal filters]] | [[Category:Internal filters]] | ||
[[Category:Levels_and_Chroma_filters]] | [[Category:Levels_and_Chroma_filters]] | ||
Revision as of 01:49, 17 January 2016
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.