HSVAdjust
From Avisynth wiki
Abstract | |
---|---|
Author | Wilbert Dijkhof |
Version | v0.1 |
Download | HSVAdjust_v01.zip |
Category | Color Adjustment filters |
License | GPLv2 |
Discussion | Doom9 Forum |
Contents |
Description
HSVAdjust/HSLAdjust/HSIAdjust
let's you rotate hues, control the strength of color (saturation), or modify the brightness of a clip. The type of brightness depends on the filter. It's value for HSVAdjust
, lightness for HSLAdjust
or intensity for HSIAdjust
.
The adjustments hue, saturation and brightness values are clipped to their valid ranges before they are converted back to RGB.
Note that all of the three spaces (HSV, HSL and HSI) are in fact approximations and the values are different with the exception that the hue in HSV and HSL coincide.
Requirements
- [x86]: AviSynth+ or AviSynth 2.5.8 or greater
- Supported color formats: RGB24, RGB32
Syntax and Parameters
- HSVAdjust (clip, float "hue", float "sat", float "bright", float "cont", string "brightness")
- HSLAdjust (clip, float "hue", float "sat", float "bright", float "cont")
- HSIAdjust (clip, float "hue", float "sat", float "bright", float "cont")
- clip =
- Input clip, must be RGB.
- clip =
- float hue = 0.0
- Hue
- float hue = 0.0
- float sat = 1.0
- Saturation
- float sat = 1.0
- float bright = 0.0
- Brightness
- float bright = 0.0
- float cont = 1.0
- Contrast
- float cont = 1.0
- string brightness = "lightness"
- Must be "value" or "lightness".
- string brightness = "lightness"
Examples
Default settings:
HSVAdjust(hue=0.0, sat=1.0, bright=0.0, cont=1.0, brightness="lightness") HSLAdjust(hue=0.0, sat=1.0, bright=0.0, cont=1.0) HSIAdjust(hue=0.0, sat=1.0, bright=0.0, cont=1.0)
Changelog
Version Date Changes
v0.1 2011/07/24 - initial release
Archived Downloads
Version | Download | Mirror |
---|---|---|
v0.1 | HSVAdjust_v01.zip | HSVAdjust_v01.zip |
External Links
Back to External Filters ←