HSVAdjust

From Avisynth wiki
Jump to: navigation, search
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


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
Hue


float  sat = 1.0
Saturation


float  bright = 0.0
Brightness


float  cont = 1.0
Contrast


string  brightness = "lightness"
Must be "value" or "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

Personal tools