Image classification by extended certainty factors