Teaching relaxation labeling processes using genetic algorithms