make the background detect use aforge median