Recent years have witnessed great interest in developing methods for content-based image retrieval (CBIR). Generally, the image search results, which are returned by an image search engine, contain multiple topics, and organizing the results into different clusters will facilitate users' browsing. Our aim in this research is to optimize image searching time for a general image database. The proposed procedure consists of two steps. First, it represents each image with a data structure which is based on quadtrees and represented by multi-level feature vectors. The similarity between images is evaluated through the distance between their feature vectors; this distance metric reduces the query processing time. Second, response time is further improved by using a secondary clustering technique to achieve high scalability in the case of a very large image database.Resumen Los últimos años han sido testigos de un gran interés en el desarrollo de métodos para la búsqueda de imágenes basada en contenidos (CBIR). Generalmente, los resultados de búsqueda de imágenes desde un motor de búsqueda de imagen contienen varios temas, la organización de los resultados en diferentes clústeres facilitarán la navegación de los usuarios. Nuestro objetivo en esta investigación es el de optimizar el tiempo de búsqueda de una imagen en una base de datos imágenes generalista. El procedimiento propuesto se constituye en dos pasos: En primer lugar, cada imagen será representa con una estructura de datos basada en Quadtree y representada por característicos vectores de múltiples niveles. La similitud entre las imágenes se evalúa a través de la distancia entre sus característicos vectores; esta distancia métrica reduce el tiempo de procesamiento de consultas. En segundo lugar, el tiempo de respuesta se mejora además usando una técnica de clustering para lograr una alta capacidad de ampliación en el caso de una gran base de datos de imágenes.