A Hybrid Approach to Indexing Image Databases