Accelerating structured light surface reconstruction with motion analysis