An Openframeworks class that implements the code book segementation method for foreground seperation