A Novel Content-Based Image Retrieval Technique Using Tree Matching