Research on Content-based Adaptive Image Retrieval Algorithm