Foreground segmentation in a video by using a novel dynamic codebook | IEEE Conference Publication | IEEE Xplore