Depth map coding with elastic contours and 3D surface prediction