Implementation, Integration, And Optimization Of A Fuzzy Foreground Segmentation System