Invia SMS: Segmentation of brain magnetic resonance images using deep neural networks