Object Search via Random Context

Wei Liu, Yunxing Ruan, Xia CaiAdvances 2015

Abstract

Accurately object searching plays an important role in computer vision. Retrieving and locating target objects in images are object searching's two sub-tasks. Aiming to promote the precision and recall of object searching, selecting appropriate image representation methods is the core issues. The representation method needs to provide enough discriminative features. Our approach adopts locality sensitive hashing method to extract enough sift features. The extracted features contain inliers and outliers. In order to distinguish them, random context confidence scores of features are computed. Our algorithm offers 3 benefits: 1) A novel partition method is adopted to divide images. It is easy to be parallelized during computing contexts. 2) A novel random points selecting method is adopted to avoids ill-defined boundary for target objects; 3) Multiple target objects in one image can be located by clustering all the features of each image with their coordinates. The experiment on a challenging Belgalogo dataset highlights the performance of our approach.

Introduction

Object searching—the dual task of retrieving and locating specific items in an image—is a fundamental challenge in computer vision. Real-world conditions such as occlusion, varying illumination, and non-rigid distortions make simple local feature matching (like SIFT) unreliable. The primary difficulty lies in discrimination: a single visual feature might appear similar to a target object but actually belong to the background.

To address this, researchers often utilize "context"—the visual information surrounding an interest point. However, traditional context-aware methods frequently rely on near-perfect image segmentation or fixed-window sizes, which are difficult to optimize for objects of varying scales. This paper introduces a "Random Context" approach that utilizes multiple random partitions to robustly filter noise and identify target objects.

Methodology

The proposed pipeline moves from local feature extraction to global confidence scoring through a five-step process:

  1. Feature Extraction & LSH: SIFT features are extracted, and Locality Sensitive Hashing (LSH) is employed to identify $k$-nearest neighbors for a query. This creates a pool of potential interest points containing both true matches (inliers) and noise (outliers).
  2. Random Partitioning: Rather than content-based segmentation, the image is divided into $M \times N$ random partitions.
  3. Context Confidence Scoring: For each interest point, a histogram of features within its partition is compared against the query object’s histogram. By averaging results across $K$ random partitions, a "context confidence score" is generated for every point, effectively filtering out background noise.
  4. Semi-Random Splitting: To avoid ill-defined boundaries where object points share too much context with the background, a semi-random selection for split points is used to better respect the distribution of interest points.
  5. Clustering & RANSAC: High-scoring points are clustered by coordinates to handle multiple targets. Each cluster is then processed via RANSAC to determine the final bounding box.
The Random Context pipeline: from input image and random partitioning to confidence scoring and final bounding box localization.

Experimental Setup

The approach was evaluated using the Belgalogo dataset, which consists of 10,000 images from news and current affairs featuring 26 annotated logo classes (e.g., Ferrari, KIA, Adidas). The experiment processed over 24 million SIFT points across the dataset to test retrieval and localization accuracy.

Results and Discussion

The "Random Context" (RC) and "Clustered RC" methods were compared against standard K-nearest neighbor (K-nn) and Efficient Sub-image Retrieval (ESR) baselines.

  • Recall and Precision: Clustered RC significantly outperformed baselines on logos like Ferrari (0.811 vs 0.730) and Kia (0.645 vs 0.340). Precision also saw marked improvements; for the "President" logo, precision reached 0.9, compared to 0.769 for K-nn and 0.09 for ESR.
  • Multi-Object Detection: A key advantage of the clustering step is the ability to detect multiple instances of the same object within a single frame. While traditional methods often struggle with "multi-tenancy," the proposed method successfully draws separate bounding boxes for distinct logo instances.
Example of successful multi-object detection where the algorithm identifies and bounds multiple KIA logos in a single complex image.

Conclusion

The Random Context approach provides a robust, parallelizable framework for object searching. By treating confidence as an expectation over multiple random divisions, the system effectively mitigates the noise inherent in single-partition methods. While the current reliance on RANSAC can lead to oversized bounding boxes in cases of high distortion, the method's ability to accurately cluster interest points for multiple targets represents a significant step forward in logo detection and general object retrieval.

Summary updated

BibTeX
@inproceedings{liu2015object,
  author = {Wei Liu and Yunxing Ruan and Xia Cai},
  title = {{Object Search via Random Context}},
  booktitle = {Advances},
  year = {2015},
  doi = {10.2991/lemcs-15.2015.376},
}
Figure