Vision-aided 2D and 3D Video Coding