Background Substraction using magick++, c++