ChannelMixer

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(ChannelMixer v1.0)
 
m (Syntax and Parameters)
Line 18: Line 18:
 
<br>
 
<br>
 
== Syntax and Parameters ==
 
== Syntax and Parameters ==
:{{Template:FuncDef|ColorBalance (''clip'', ''float'' "RR", ''float'' "RG", ''float'' "RB", ''float'' "GR", ''float'' "GG", ''float'' "GB", ''float'' "BR", ''float'' "BG", ''float'' "BB")}}
+
:{{Template:FuncDef|ChannelMixer (''clip'', ''float'' "RR", ''float'' "RG", ''float'' "RB", ''float'' "GR", ''float'' "GG", ''float'' "GB", ''float'' "BR", ''float'' "BG", ''float'' "BB")}}
 
<br>
 
<br>
 
::'''Red'''
 
::'''Red'''
Line 43: Line 43:
 
:::Range for all parameters: -255.0 - 255.0
 
:::Range for all parameters: -255.0 - 255.0
 
<br>
 
<br>
 +
 
== Examples ==
 
== Examples ==
 
In the following example the output is identical to the input.
 
In the following example the output is identical to the input.

Revision as of 03:21, 6 January 2014

Abstract
Author Gustaf Ullberg
Version v1.0
Download channelmixer_v1_0.zip
Category Levels and Chroma
License GPLv2


Contents

Description

An AviSynth filter similar to the Channel Mixer in Adobe Photoshop.


Requirements:

- AviSynth 2.5.8 or later
- Progressive input only
- Supported color formats: RGB24, RGB32


Syntax and Parameters

ChannelMixer (clip, float "RR", float "RG", float "RB", float "GR", float "GG", float "GB", float "BR", float "BG", float "BB")


Red
RR float = 0.0
RG float = 0.0
RB float = 0.0
Red-Red, Red-Green, and Red-Blue.


Green
GR float = 0.0
GG float = 0.0
GB float = 0.0
Green-Red, Green-Green, and Green-Blue.


Blue
BR float = 0.0
BG float = 0.0
BB float = 0.0
Blue-Red, Blue-Green, and Blue-Blue.


Range for all parameters: -255.0 - 255.0


Examples

In the following example the output is identical to the input.

AviSource("blah.avi")
ChannelMixer(RR=100.0, RG=0.0, RB=0.0, GR=0.0, GG=100.0, GB=0.0, BR=0.0, BG=0.0, BB=100.0)


Changelog

v1.0 2007-04-30
  - Initial release


Links





Back to External Filters

Personal tools