Options for selection of images making use of a Chroma-Key background (e.g. green screen).
A ChromaKey image contains a solid color block that is removed so that it can be applied to a background. E.g. in the following image the key color is neon green (R=0/G=254/B=0).
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public IEChromaKeyOptions ChromaKeyOptions { get; }
Public ReadOnly Property ChromaKeyOptions As IEChromaKeyOptions Get
public: property IEChromaKeyOptions^ ChromaKeyOptions { IEChromaKeyOptions^ get (); }
Examples
Select subject in image with green chroma-key background
CopyC#
image.ChromaKeyOptions.KeyColor = Green; image.ChromaKeyOptions.Mode = IEChromaKeySelectionMode.Subject; image.ChromaKeyOptions.Saturation = 35; image.ChromaKeyOptions.Tolerance = 0.25; image.SelectChromaKey(IEImage.SelOp.Replace);