Crop row detection by global energy minimization. (July 2016)