Source code for "Cardiac Segmentation from LGE MRI Using Deep NeuralNetwork Incorporating Shape and Spatial Priors" paper