Automatic segmentation based on the cardiac magnetic resonance image using a modified fully convolutional network