Many people die each year in roadway departure crashes caused by driver inattention. Lane detection systems are useful in avoiding these accidents as safety is the main purpose of these systems. Such systems have the goal to detect the lane marks and to warn the driver in case the vehicle tends to depart from the lane. A lane detection system is an important element of many intelligent transport systems.