Training deep neural networks for stereo vision : a dissertation