Improving a genetic algorithm segmentation by means of a fast edge detection technique