remove references to decctx from motion.cc
initialize PicOutputFlag in image