ColorLooks
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) (redirect for convenient searching) |
(ColorLooks: add documentation) |
||
Line 1: | Line 1: | ||
− | # | + | {{FilterCat4|External_filters|Plugins|Adjustment_filters|Effects}} |
− | {{ | + | {{Filter3 |
+ | |1={{author/Wilbert Dijkhof}} | ||
+ | |2=v1.3 | ||
+ | |3=[http://www.wilbertdijkhof.com/ColorLooks_v13.zip ColorLooks_v13.zip] | ||
+ | |4=Effects | ||
+ | |5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
+ | |6=[http://forum.doom9.org/showthread.php?t=97706 Doom9 Forum]}} | ||
+ | |||
+ | == Description == | ||
+ | This plugin is based on Trevlac's VirtualDub filter [https://web.archive.org/web/20150422073302/http://www.trevlac.us/FilterDocs/ ColorLooks] and Donald Graft's [http://rationalqm.us/colorize.html Colorize] (well it works a bit similar). I also added some new stuff. The plugin contains the following filters: | ||
+ | |||
+ | *[[#Colorize|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|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|Sepia]] gives the sepia effect resulting in a monochrome video based on a selectable color. | ||
+ | |||
+ | *[[#Technicolor|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. | ||
+ | <br> | ||
+ | == Requirements == | ||
+ | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.5.8 or greater] | ||
+ | * Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[YV12]] | ||
+ | <br> | ||
+ | |||
+ | == [[Script variables|Syntax and Parameters]] == | ||
+ | |||
+ | === Colorize === | ||
+ | :{{Template:FuncDef|Colorize (clip, int "color", bool "scale")}} | ||
+ | <br> | ||
+ | ::{{Par2| |clip| }} | ||
+ | :::Input clip, must be YUV. | ||
+ | <br> | ||
+ | ::{{Par2|color|int|0xa28a65}} | ||
+ | :::Color is defined in RGB hexadecimal. | ||
+ | <br> | ||
+ | ::{{Par2|scale|bool|false}} | ||
+ | :::<code>scale=false</code> uses the luma of the source clip, and <code>scale=true</code> scales the clip by "luma of source clip / 240" (bright objects stay bright, and dark objects get darker). | ||
+ | <br> | ||
+ | === Posterize === | ||
+ | :{{Template:FuncDef|Posterize (clip, int "pbits")}} | ||
+ | <br> | ||
+ | ::{{Par2| |clip| }} | ||
+ | :::Input clip, must be RGB or YUV. | ||
+ | <br> | ||
+ | ::{{Par2|pbits|int|8}} | ||
+ | :::The <code>pbits</code> setting determines the amount of chopping. <code>pbits=8</code> means no chopping, and <code>pbits=0</code> means chopping everything resulting in a black clip. | ||
+ | <br> | ||
+ | === Sepia === | ||
+ | :{{Template:FuncDef|Sepia (clip, int "color", string "mode")}} | ||
+ | <br> | ||
+ | ::{{Par2| |clip| }} | ||
+ | :::Input clip, must be YUV. | ||
+ | <br> | ||
+ | ::{{Par2|mode|string|0xa28a65}} | ||
+ | :::Color is defined in RGB hexadecimal. | ||
+ | <br> | ||
+ | ::{{Par2|scale|bool|"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 (<code>mode="triangular"</code>), or high-tones (<code>mode="linear"</code>). | ||
+ | :::The luma is copied from the source clip. The default values produce the "true" sepia effect. | ||
+ | <br> | ||
+ | === Technicolor === | ||
+ | :{{Template:FuncDef|Technicolor (clip, string "channels")}} | ||
+ | <br> | ||
+ | ::{{Par2| |clip| }} | ||
+ | :::Input clip, must be RGB or YUV. | ||
+ | <br> | ||
+ | ::{{Par2|channels|string|"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. | ||
+ | <br> | ||
+ | == 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 | ||
+ | <br> | ||
+ | == Changelog == | ||
+ | Version Date Changes<br> | ||
+ | v1.3 2005/09/07 - corrected technicolor | ||
+ | - added some color formats | ||
+ | - color specified in RGB | ||
+ | - documentation<br> | ||
+ | v1.2 2005/07/22 - initial release | ||
+ | <br> | ||
+ | == Archived Downloads == | ||
+ | {| class="wikitable" border="1"; width="600px" | ||
+ | |- | ||
+ | !!width="100px"| Version | ||
+ | !!width="150px"| Download | ||
+ | !!width="150px"| Mirror | ||
+ | |- | ||
+ | !v1.3 | ||
+ | |[http://www.wilbertdijkhof.com/ColorLooks_v13.zip ColorLooks_v13.zip] | ||
+ | |[https://web.archive.org/web/20180828080743if_/http://www.wilbertdijkhof.com/ColorLooks_v13.zip ColorLooks_v13.zip] | ||
+ | |} | ||
+ | <br> | ||
+ | |||
+ | ==External Links == | ||
+ | <br> | ||
+ | <br> | ||
+ | ----------------------------------------------- | ||
+ | '''Back to [[External_filters#Effects|External Filters]] ←''' |
Revision as of 22:57, 29 June 2020
Abstract | |
---|---|
Author | Wilbert Dijkhof |
Version | v1.3 |
Download | ColorLooks_v13.zip |
Category | Effects |
License | GPLv2 |
Discussion | Doom9 Forum |
Contents |
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.
Requirements
Syntax and Parameters
Colorize
- Colorize (clip, int "color", bool "scale")
- clip =
- Input clip, must be YUV.
- clip =
- int color = 0xa28a65
- Color is defined in RGB hexadecimal.
- int color = 0xa28a65
- bool scale = false
scale=false
uses the luma of the source clip, andscale=true
scales the clip by "luma of source clip / 240" (bright objects stay bright, and dark objects get darker).
- bool scale = false
Posterize
- Posterize (clip, int "pbits")
- clip =
- Input clip, must be RGB or YUV.
- clip =
- int pbits = 8
- The
pbits
setting determines the amount of chopping.pbits=8
means no chopping, andpbits=0
means chopping everything resulting in a black clip.
- The
- int pbits = 8
Sepia
- Sepia (clip, int "color", string "mode")
- clip =
- Input clip, must be YUV.
- clip =
- string mode = 0xa28a65
- Color is defined in RGB hexadecimal.
- string mode = 0xa28a65
- 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.
- Sepia gives the sepia effect resulting in a monochrome video based on a selectable color. It does so by applying color to mid-tones (
- bool scale = "triangular"
Technicolor
- Technicolor (clip, string "channels")
- clip =
- Input clip, must be RGB or YUV.
- clip =
- 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.
- string channels = "R"
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
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
Archived Downloads
Version | Download | Mirror |
---|---|---|
v1.3 | ColorLooks_v13.zip | ColorLooks_v13.zip |
External Links
Back to External Filters ←