A Modified Fuzzy C-Means Method for Segmenting MR Images Using Non-local Information