Background Substraction with gui using magick++, c++ and qt5