A Comprehensive Study on Medical Image Segmentation using Deep Neural Networks