HSVAdjust

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(HSVAdjust: add documentation)
m (category)
 
Line 4: Line 4:
 
|2=v0.1
 
|2=v0.1
 
|3=[http://www.wilbertdijkhof.com/HSVAdjust_v01.zip HSVAdjust_v01.zip]
 
|3=[http://www.wilbertdijkhof.com/HSVAdjust_v01.zip HSVAdjust_v01.zip]
|4=Effects
+
|4=Color Adjustment filters
 
|5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
|5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
|6=[http://forum.doom9.org/showthread.php?t=162022 Doom9 Forum]}}
 
|6=[http://forum.doom9.org/showthread.php?t=162022 Doom9 Forum]}}

Latest revision as of 04:24, 3 July 2020

Abstract
Author Wilbert Dijkhof
Version v0.1
Download HSVAdjust_v01.zip
Category Color Adjustment filters
License GPLv2
Discussion Doom9 Forum

Contents

[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
Hue


float  sat = 1.0
Saturation


float  bright = 0.0
Brightness


float  cont = 1.0
Contrast


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