Patch-wise label propagation for MR brain segmentation based on multi-atlas images