Road Geometry Classification by Adaptive Shape Models