Enum DespillColor
- Namespace
- Egami.Operations
- Assembly
- Egami.dll
The screen color whose spill Despill(DespillColor, float, float) removes.
public enum DespillColor
Fields
Blue = 1A blue screen: blue is held down to the level of red and green.
Green = 0A green screen: green is held down to the level of red and blue.
Examples
// Key out a green screen by chroma, so its lighter and darker patches go too, soften the edge, and take the green cast off
// what is left; then put the result over a new background.
photo.Apply(ops => ops
.ChromaKey(new Rgba8(0, 177, 64, 255), similarity: 0.12f, blend: 0.06f)
.Despill(DespillColor.Green, mix: 0.5f), Ct);
backdrop.Apply(ops => ops.DrawImage(photo, new Point(0, 0)), Ct);