Contours detection using ant colony algorithm.