From Avisynth wiki
Jump to: navigation, search
Author Wilbert Dijkhof
Version v0.1
Download HSVAdjust_v01.zip
Category Color Adjustment filters
License GPLv2
Discussion Doom9 Forum


[edit] 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.

[edit] Requirements

[edit] 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.

float  hue = 0.0

float  sat = 1.0

float  bright = 0.0

float  cont = 1.0

string  brightness = "lightness"
Must be "value" or "lightness".

[edit] 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) 

[edit] Changelog

Version      Date            Changes
v0.1 2011/07/24 - initial release

[edit] Archived Downloads

Version Download Mirror
v0.1 HSVAdjust_v01.zip HSVAdjust_v01.zip

[edit] External Links

Back to External Filters

Personal tools