| PictureEffects REALbasic Plugin |
|
ChromaKeyEffect Class
A class to create a mask by using a Chroma Key algorithm. Chroma Key algorithms are to mask out special background material which can be either green or blue. Only Green is supported currently.
This class supports use of multiple CPU cores on MacOS X, Windows and Linux systems.
MPImageFilter
ChromaKeyEffect
class ChromaKeyEffect
Properties
CPUCoreCount (Inherited) | Returns number of detected CPU cores on the running machine. |
ErrorCode (Inherited) | Returns error code after applying the effect. This value is a Constant defined in the PictureEffectsError module. |
MultiprocessingHint (Inherited) | Use this property to fine tune CPU usage for this algorithm. By default this property is set to zero (Automatic). This property accepts all constants that are defined in PictureEffectsCPUUsage. |
ProgressHandler (Inherited) | Use this property to use a progress class to get progress feedback from this function. This class must be a class that Implements the IProgressHandler Interface which is defined in this plugin. |
Methods
CreateKeyMask | Creates a mask by using a Chroma Key algorithm. Chroma Key algorithms are to mask out special background material which can be either green or blue. Only Green is supported currently. |

Sometimes it will make sense to use a Blur Filter to soften edges of the returned mask.
If you have examples of images that are fit for Blue Chroma Key masking then by all means feel free to send us examples of them and we will at least try to implement support for blue.
Supported Platforms:
MacOS X PPC - (Mach-O)MacOS X Universal Binary (Mach-O)MacOS X Cocoa Universal Binary (Mach-O)Win32 - WindowsLinux x86Unsupported Platforms: