Patent attributes
Various driver assistance systems mountable in a host vehicle and computerized methods for detecting a vertical deviation of a road surface. The driver assistance system includes a camera operatively connectible to a processor. Multiple consecutive image frames are captured from the camera including a first image of the road and a second image of the road. Based on the host vehicle motion, the second image is warped toward the first image to produce thereby a warped second image. Image points of the road in the first image and corresponding image points of the road in the warped second image are tracked. Optical flow is computed between the warped second image to the first image. The optical flow is compared with an optical flow based on a road surface model to produce a residual optical flow. The vertical deviation is computed from the residual optical flow.