Terrain segmentation with neural networks for off-road applications