Dense Visual Odometry and SLAM