Structured Output Prediction for Semantic Perception in Autonomous Vehicles