Classification of image contents