A New Approach for Fast Line Detection Based on Combinatorial Optimization