GradationCurve
From Avisynth wiki
Abstract | |
---|---|
Author | ErazorTT |
Version | r9 |
Download | see doom9 Thread |
Category | Adjustment Filters |
License | Open Source |
Discussion | Doom9 Thread |
Contents |
Description
Comutes and applies gradation curves based on given anchor points. Like what Photoshop and Gimp do in the Curves setting. Can also load Photoshop ACV and GIMP crv curve files.
Requirements
- AviSynth+ (x86 and x64)
- Supported color formats: PlanarRGB, YUV 420,422,444 8-16 bits
Syntax and Parameters
- ApplyGradationCurves(clip, string "lumaPoints", string "redPoints", string "greenPoints", string "bluePoints", string "curvesFile", string "plotsPath")
- clip =
- Clip to which to apply the gradation curves
- clip =
- string = lumaPoints
- string = redPoints
- string = greenPoints
- string = bluePoints
- Pair wise points given to define the mapping from the input values and the output values. Each pair is the x and y coordinates of an anchor point through which the gradation curve goes. You must provide at least two points. The points provided should cover almost the whole range of values you want to map. The points can be given in the 8 bits representation independently of the actual clip bit depth, the curve will be scaled automatically. If given, the points have priority over the "curvesFile".
- string = lumaPoints
- string = curvesFile
- File containing the curves. This can be used instead of giving the anchor points using the strings "lumaPoints", "redPoints", "greenPoints", "bluePoints". Supported are Photoshop *.acv files and GIMP crv files in the "old format", these must contain anchor points. Path must be given using forward slashes "/" and not backslashes "". You need to have permission to read from there!
- string = curvesFile
- string = plotsPath
- If given, plots showing the applied curves are saved at the location. a plot of the curve is saved as a Bitmap file on the location given. The path must be given using forward slashes "/" and not backslashes "\". You need to have permission to write there!
- string = plotsPath
Download
Changelog
Jan 18, 2019: r9
- first functional release