updated backgroundExtractor.h