ColorLooks

From Avisynth wiki
Jump to: navigation, search
Abstract
Author Wilbert Dijkhof
Version v1.3
Download ColorLooks_v13.zip
Category Effects
License GPLv2
Discussion Doom9 Forum

Contents

[edit] Description

This plugin is based on Trevlac's VirtualDub filter ColorLooks and Donald Graft's Colorize (well it works a bit similar). I also added some new stuff. The plugin contains the following filters:

  • Colorize provides the ability to convert a video to a monochrome video based on a selectable color. For example, the old-style brown photograph look can be easily obtained, or grayscale clips can be made to look a bit more interesting.
  • Posterize just chops down the bit depth of the video. It reduces the number of colors while maintaining a resemblance of the original image characteristics.
  • Sepia gives the sepia effect resulting in a monochrome video based on a selectable color.
  • Technicolor is a two color process that uses red and cyan as opposed to red, green, blue. So to get this effect, the green and blue level is set to cyan.


[edit] Requirements


[edit] Syntax and Parameters

[edit] Colorize

Colorize (clip, int "color", bool "scale")


clip   =
Input clip, must be YUV.


int  color = 0xa28a65
Color is defined in RGB hexadecimal.


bool  scale = false
scale=false uses the luma of the source clip, and scale=true scales the clip by "luma of source clip / 240" (bright objects stay bright, and dark objects get darker).


[edit] Posterize

Posterize (clip, int "pbits")


clip   =
Input clip, must be RGB or YUV.


int  pbits = 8
The pbits setting determines the amount of chopping. pbits=8 means no chopping, and pbits=0 means chopping everything resulting in a black clip.


[edit] Sepia

Sepia (clip, int "color", string "mode")


clip   =
Input clip, must be YUV.


string  mode = 0xa28a65
Color is defined in RGB hexadecimal.


bool  scale = "triangular"
Sepia gives the sepia effect resulting in a monochrome video based on a selectable color. It does so by applying color to mid-tones (mode="triangular"), or high-tones (mode="linear").
The luma is copied from the source clip. The default values produce the "true" sepia effect.


[edit] Technicolor

Technicolor (clip, string "channels")


clip   =
Input clip, must be RGB or YUV.


string  channels = "R"
The channel option indicates what color should be kept: "G" sets the red and blue levels to magenta, "B" sets the R and G channels to yellow. The default values produce the "true" technicolor effect.


[edit] Examples

Colorize (clip, color=0xa28a65, scale=false)
Posterize (clip, pbits=8)
Sepia (clip, color=0xa28a65, mode="triangular") # default values gives the Sepia effect
Technicolor (clip, channel="R") # default values gives technicolor effect


[edit] Changelog

Version      Date            Changes
v1.3 2005/09/07 - corrected technicolor - added some color formats - color specified in RGB - documentation
v1.2 2005/07/22 - initial release


[edit] Archived Downloads

Version Download Mirror
v1.3 ColorLooks_v13.zip ColorLooks_v13.zip


[edit] External Links




Back to External Filters

Personal tools