Connections between Operator-splitting Methods and Deep Neural Networks with Applications in Image Segmentation