Optical Flow-Based Stereo Visual Odometry With Dynamic Object Detection