Combining atlas based segmentation and intensity classification with nearest neighbor transform and accuracy weighted vote