Computer Vision Methods for Fast Image Classification and Retrieval