Brain Segmentation based on intensity distribution and brain shape in neonatal magnetic resonance image