ChanMix

From Avisynth wiki
Revision as of 05:24, 6 February 2014 by Reel.Deal (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Abstract
Author E-Male
Version 2005/02/28
Download chanmix.zip
Category Levels and Chroma
License


Contents

Description

Creates a grayscale image from an RGB24 source, it has 3 parameters to specify how much of each color channel is used.


Requirements:

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


Syntax and Parameters

chanmix (clip, float "r", float "g", float "b")


float  r = 1.0
float  g = 1.0
float  b = 1.0
The weight of each color channel.
Gray = (red*r + green*g + blue*b) / (r+g+b)


Examples

ChanMix with default settings.

AviSource("blah.avi")
chanmix(r=1.0, g=1.0, b=1.0)


Changelog

Version         Date            Changes
2005/02/28 2005/02/28 - Initial release


Links





Back to External Filters

Personal tools