Combination of 2D and 3D vision systems into robotic cells for improved flexibility and performance