Abstract: The aim of a Content-Based Image Retrieval (CBIR) system, also known as Query by Image Content (QBIC), is to help users to retrieve relevant images based on their contents. CBIR technologies provide a method to find images in large databases by using unique descriptors from a trained image. The image descriptors include texture, color, intensity and shape of the object inside an image. Several feature-extraction techniques viz., Average RGB, Color Moments, Cooccurrence, Local Color Histogram, Global Color Histogram and Geometric Moment have been critically compared in this paper. However, individually these techniques result in poor performance. So, combinations of these techniques have also been evaluated and results for the most efficient combination of techniques have been presented and optimized for each class of image query. We also propose an improvement in image retrieval performance by introducing the idea of Query modification through image cropping. It enables the user to identify a region of interest and modify the initial query to refine and personalize the image retrieval results.
Introduction
In the era of massive digital image repositories, traditional keyword-based search often falls short. Manual tagging is labor-intensive and frequently fails to capture the nuanced visual content of an image. Content-Based Image Retrieval (CBIR) addresses this by analyzing actual image data—pixels—to find matches. This paper explores how different feature extraction techniques can be optimized and combined to improve retrieval performance and reduce computational overhead.
The CBIR Framework
A standard CBIR system operates by extracting unique descriptors from a query image and comparing them against a pre-indexed database of images. These descriptors typically focus on low-level visual features such as color, texture, and shape. The goal is to bridge the "semantic gap" between the user's high-level concept and the low-level pixel data.
Feature Extraction Methodologies
The researchers evaluated six core techniques to determine their individual and collective efficacy:
- Average RGB: A basic measure of the average color values across the image.
- Color Moments: Captures color distribution using statistical measures like mean, variance, and skewness.
- Gray Level Co-occurrence Matrix (GLCM): A texture analysis tool that measures spatial relationships and patterns between pixels.
- Local Color Histogram (LCH): Segments the image into blocks to capture spatial color information, providing more detail than a global view.
- Global Color Histogram (GCH): Provides an overall map of color distribution across the entire image.
- Geometric Moments: Describes the shape of objects within the image using weighted averages of pixel intensities.
Experimental Results and Optimization
The study utilized the WANG database, a subset of the Corel stock photo collection containing 1,000 images categorized into ten distinct classes, such as "African people," "buses," and "dinosaurs." Performance was evaluated using three key metrics: retrieval time, accuracy, and the Redundancy Factor (RF). The RF is a critical metric that measures the extent of irrelevant images returned, helping to identify if a system is "over-working" and returning too much noise.
The findings revealed a significant performance gap between individual methods. For example, Class 2 (beaches) achieved 100% accuracy using only Average RGB and Color Moments, whereas Geometric Moments alone performed poorly across nearly all categories, averaging just 11.6% accuracy.
The "Kitchen Sink" approach—combining all six techniques—yielded the highest raw accuracy at 91.5%. However, this came at a steep cost: retrieval time spiked to over 51 seconds per query, and the Redundancy Factor remained high. In real-world applications, such latency is a major bottleneck.
The authors proposed an Adaptive Approach where the system selects the optimal feature combination based on the detected class of the query image. This optimized method achieved a superior balance, delivering 81.69% accuracy with a retrieval time of just 19.5 seconds—nearly three times faster than the all-combined method—while significantly lowering the redundancy factor.
Improving Performance via Query Cropping
Beyond algorithmic optimization, the paper introduces a user-centric improvement: query modification through image cropping. By allowing users to define a "Region of Interest" (ROI), the system can ignore distracting background elements (like green grass around a specific flower). This simple intervention improved retrieval accuracy by an average of 28%, effectively narrowing the gap between user intent and algorithmic interpretation.
Conclusion
This research demonstrates that CBIR performance is not just about the quantity of features, but the strategic selection of them based on the image's content. By combining class-specific optimization with user-driven ROI selection, CBIR systems can become both faster and more accurate, moving us closer to intuitive and efficient visual search.
Summary updated