Deriving external forces via convolutional neural networks for biomedical image segmentation