A cooperating metaheuristic approach for MR image segmentation