In this paper we aim to use a demicontractive operator in terms of admissible perturbations in an ant colony optimization (ACO) algorithm for edge detection of medical images. Two admissible perturbations are used. Practical results are presented. Comparison with results using different operators are made.