Debian Codegraph @

src/filter/select0r/readme

raw
1 select0r
2
3 This plugin selects a range of colors, and creates a corresponding
4 alpha channel. It is cascadable, allowing construction of complex
5 color selection subspaces.
6
7
8 Written by Marko Cebokli, aug 2010, and released under GNU GPL
9
10
11 RELEASE NOTES
12
13 ** aug 2010
14 Version 0.1
15 "pre-alpha" (throw it out and see what happens... :-)
16
17 ** mar 2012
18 Version 0.2
19 is now endian independent
20
21 ** mar 2012
22 Version 0.3
23 adds double mapping of list parameters
24
25 ** apr 2012
26 Version 0.4
27 adds "Slope" edge mode and parameter
28
29
30 DESCRIPTION
31
32 parameters:
33
34 Color to select:
35 the color to select. This is the center point of the selected
36 color subspace.
37
38 Invert selection:
39 When ON, the selected color will be transparent, as normally used
40 with keying. When OFF (default) the selected color will be opaque,
41 for example for alpha controlled adjustment of that color only.
42
43 Delta XXXX:
44 These three parameters determine the size of the color subspace
45 along each axis. Bigger value means bigger tolerance on that axis.
46 For example, setting a high I delta (in ABI and HCI), will allow
47 the selection of a specific color in both light and shadows, but
48 will also discard most of the high-bandwidth luma signal, making
49 the selection less spatially accurate.
50
51 Slope:
52 When edge mode is set to "Slope", this parameter controls a
53 gradual transition between opaque and transparent. Slope=0 gives
54 a "hard" key, increasing the value of this parameter increases
55 the range of colors around the selected color, that will be rendered
56 partially transparent.
57
58 Selection subspace:
59 specifies in which of the three color spaces (RGB, ABI, HCI) the
60 delta controls will work. Both ABI and HCI are separated
61 luma/chroma. HCI is a cylindrical "Hue Chromacity Intensity" space,
62 and ABI is a cartesian version thereof. Both suffer from chroma
63 subsampling, and will give less sharp results than RGB.
64 NOTE1: chroma subsampling is not a fault of this plugin. Frei0r
65 plugins work in RGB 4:4:4. If you supply it with a truly 4:4:4
66 video, it will produce perfectly sharp alpha from all three color
67 spaces.
68 NOTE2: HCI is slow, because it has to calculate atan2() and hypot()
69 for each pixel.
70 NOTE3: ABI is based on the alpha an beta coordinates, upon which
71 most of the Hxx type colorspaces are defined.
72 See http://en.wikipedia.org/wiki/HSL_and_HSV
73
74 Subspace shape:
75 determines the shape of the color subspace. Options are: box,
76 ellipsoid or diamond. Box is the biggest of them (by volume) and
77 diamond the smallest. Imagine an octahedron inscribed inside an
78 ellipsoid, which is in turn inscribed in a box. The tips of the
79 diamond touch the ellipsoid, and the box, at the center of the
80 sides of the box.
81
82 Edge mode:
83 has five options: "Hard", "Fat", "Normal", "Skinny" and "Slope".
84 "Hard" means the alpha channel will be thresholded to two values only,
85 fully opaque and fully transparent. This is mainly useful for
86 keying.
87 The "Slope" mode is also intended for keying. It is particularly
88 useful when keying partly transparent or fuzzy (like hair) objects.
89 The remaining options ("Fat", "Normal" and "Skinny") create a gradual
90 transition between transparent and opaque. Alpha will be a function of
91 the difference of color from the selected color, with cutoff at the
92 delta points.The fatter the choice, the more the selected areas are
93 filled towards the rim. This is useful with alpha controlled color
94 adjustment tools.
95
96 Operation:
97 determines the way in which the alpha channel will be written.
98 The "min", "max", "add" and "subtract" options allow cascading
99 of select0r plugins (or combination with other alpha-writting
100 plugins). These options combine the current selection with the
101 pre-existing alpha of the source material.
102 This way complex selections can be built.