Stereo Matching by Training a Convolutional Neural Network to Compare Image Patches | Synapse