Abstract Content-Based Image Retrieval (CBIR) has gained significant attention in recent decades due to the dramatic rise in the size of image databases. In this paper, a CBIR system is proposed that combines color and significant edge features. To enhance overall performance, a compact quantization method in the HSV color space and a revised Canny edge retrieval method are adopted during the feature extraction process. User-regulated weights allow for a customized integrated similarity measure. Experiments demonstrate the accuracy and efficiency of the proposed retrieval method.
Introduction
As digital image collections have expanded exponentially, traditional text-based searching—relying on manual keyword tagging—has become a significant bottleneck. It is labor-intensive and often fails to capture the nuanced visual essence of an image. Content-Based Image Retrieval (CBIR) addresses this by indexing images based on their inherent visual properties: color, texture, and shape.
However, relying on a single feature often leads to inaccuracies. A system focused solely on color might fail to distinguish between objects of the same hue but different forms, while a shape-only system might confuse objects with similar outlines but different textures. The challenge lies in efficiently combining these features to bridge the "semantic gap" between raw pixel data and human perception, while maintaining low computational overhead for real-time applications.
Methodology
The proposed system utilizes a dual-feature extraction pipeline to capture both chromatic and structural information.
1. Color Feature Extraction
The authors utilize the HSV (Hue, Saturation, Value) color space, which aligns more closely with human visual perception than the standard RGB space. To optimize processing speed, the color space is quantized into a compact 17-bin set:
- Achromatic Colors: 3 bins representing black, gray, and white.
- Chromatic Colors: 14 bins covering seven hue regions (red, orange, yellow, green, cyan, blue, violet), each subdivided into "light" and "deep" saturation levels. A cumulative color histogram is then generated, providing robustness against lighting variations and quantization artifacts.
2. Shape Feature Extraction
Structural information is captured using a modified Canny edge detector. Key refinements include a specific $5 \times 5$ Gaussian mask for smoothing and optimized hysteresis thresholds (high threshold at 70% of gradient magnitude, low at 40% of the high threshold). Edges are categorized into 72 directional bins, with 1D smoothing applied to ensure rotation invariance.
3. Similarity Fusion
The final similarity score ($S$) is calculated as a weighted combination: $S = w_C S_C + w_E S_E$. This allows for user-regulated weights, enabling users to prioritize color or shape based on the specific search context.
Experimental Results and Discussion
The system was evaluated using a database of 200 images across 10 semantic classes. To test robustness, the database included variants of images that were rotated, scaled, or corrupted with 5% Gaussian noise.
As shown in Figure 2, the Combined Color and Edge method consistently outperforms single-feature approaches. While precision naturally decreases as the rank increases, the integrated method maintains a significantly higher precision rate, particularly in the top 20 results. This confirms that combining features helps bridge the semantic gap more effectively than using color or shape in isolation.
Figure 1 illustrates the system's robustness in practice. When querying with "cannonbeach1.jpg", the system successfully retrieves various transformed versions (e.g., rotated, scaled, and noisy versions) within the top ranks, demonstrating the effectiveness of the revised Canny and HSV quantization methods.
Conclusion
The proposed CBIR system demonstrates that combining perceptual color quantization with refined edge detection significantly improves retrieval accuracy. By allowing user-defined weighting, the system acknowledges the subjective nature of visual similarity. Future work will focus on adaptive weight determination and relevance feedback mechanisms to further refine the search process and better align with user intent.
Summary updated