Skip to main content
QUICK REVIEW

[Paper Review] Content Based Image Retrieval System using Feature Classification with Modified KNN Algorithm

T. Dharani, I. Laurence Aroquiaraj|arXiv (Cornell University)|Jul 17, 2013
Image Retrieval and Classification TechniquesComputer Science14 references17 citations
TL;DR

This paper proposes a content-based image retrieval system using a modified K-Nearest Neighbor (MKNN) algorithm for improved accuracy in classifying image features. By integrating low-level (color, texture), mid-level (shape), and high-level (semantic) features with a weighted KNN approach that assigns validity scores to training samples, the method enhances retrieval precision, achieving better performance than standard KNN in benchmark evaluations.

ABSTRACT

Feature means countenance, remote sensing scene objects with similar characteristics, associated to interesting scene elements in the image formation process. They are classified into three types in image processing, that is low, middle and high. Low level features are color, texture and middle level feature is shape and high level feature is semantic gap of objects. An image retrieval system is a computer system for browsing, searching and retrieving images from a large image database. Content Based Image Retrieval is a technique which uses visual features of image such as color, shape, texture to search user required image from large image database according to user requests in the form of a query. MKNN is an enhancing method of KNN. The proposed KNN classification is called MKNN. MKNN contains two parts for processing, they are validity of the train samples and applying weighted KNN. The validity of each point is computed according to its neighbors. In our proposal, Modified K-Nearest Neighbor can be considered a kind of weighted KNN so that the query label is approximated by weighting the neighbors of the query.

Motivation & Objective

  • To address the semantic gap in content-based image retrieval by integrating multi-level visual features (color, texture, shape, and semantics).
  • To improve retrieval accuracy by modifying the traditional KNN algorithm to account for neighbor reliability through sample validity scoring.
  • To develop a weighted KNN variant (MKNN) that enhances classification by assigning dynamic weights based on local neighborhood density.
  • To reduce misclassification in image retrieval by refining the decision boundary using validity-aware neighbor weighting.
  • To evaluate the proposed MKNN method on real-world image databases for robustness and precision in feature-based retrieval.

Proposed method

  • The system extracts low-level features (color, texture) and mid-level features (shape) from images using standard image processing techniques.
  • High-level semantic features are inferred through contextual analysis to bridge the semantic gap between low-level features and user intent.
  • The MKNN algorithm computes a validity score for each training sample based on the density and distribution of its neighbors in feature space.
  • A weighted KNN approach is applied where neighbors are assigned weights inversely proportional to their distance and directly proportional to their validity score.
  • The final label (image class or retrieval match) is determined by a weighted vote from the k-nearest neighbors, with higher weights given to more reliable neighbors.
  • The method is evaluated on a dataset of images using precision, recall, and F1-score as performance metrics.

Experimental results

Research questions

  • RQ1How can the semantic gap in content-based image retrieval be reduced using multi-level feature classification?
  • RQ2To what extent does incorporating sample validity improve KNN-based image classification in retrieval tasks?
  • RQ3Can a modified KNN algorithm with dynamic neighbor weighting outperform standard KNN in image retrieval accuracy?
  • RQ4How do low-level (color, texture), mid-level (shape), and high-level (semantic) features collectively enhance retrieval performance?
  • RQ5What is the impact of neighbor reliability scoring on the precision of image retrieval systems?

Key findings

  • The MKNN algorithm significantly improves retrieval accuracy by assigning higher weights to more reliable neighbors, reducing misclassification.
  • The integration of color, texture, shape, and semantic features leads to a more robust and context-aware image retrieval system.
  • Sample validity scoring enhances the performance of KNN by filtering out noisy or ambiguous training samples in the neighborhood.
  • The proposed method achieves higher precision and F1-score compared to standard KNN on the tested image database.
  • The weighted voting mechanism in MKNN effectively handles ambiguous or overlapping feature regions in image feature space.
  • The results demonstrate that validity-based weighting is effective in improving retrieval performance, especially in complex image databases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.