11,408,835 members (63,208 online)

# Finding Similiar Images

, 24 Sep 2002
 Rate this:

## Introduction

Content-Based Image Retrieval (CBIR) should be the right title for this article. CBIR is a way to index or find a similarity between images in a multimedia database. There are methods such as Fourier Transform, Hough Transform, Wavelet Transform, Gabor Transform, Hadamard transform coefficients to be used as engine in CBIR system. Retrieval by image content has received great attention in the last decades. Several techniques have been proposed to the problem of finding or indexing images based on their contents. Each method used has strong and weak points.

In this article I try to give an overview view about CBIR because this kind of topics is the most frequently asked question in Digital Image Processing. Here I used CxImage library from Davide Pizzolato (http://www.aoi.it). The latest version of CxImage library contain a function to transform an image into it's frequency domain that is `FFT2` function. The technique I used here is not really efficient but at least this article will guide you to more advanced CBIR.

If you want more efficient method try to follow this links http://debut.cis.nctu.edu.tw/pages/slides/jeffrey/present2.pdf and http://www.telecom.tuc.gr/paperdb/icassp99/PDF/AUTHOR/IC991221.PDF

## Finding Similiar Images

There are 4 steps to perform image retrieval based on the similarity:

1. Load Query Image (Image we want to search for or find images similar to this)
2. Generate Signature of Key Image using Fourier Transform
3. For every images in the database Load and generate the signature
4. Calculate Euclidean Distance for Key Image Signature and Database Image Signature
5. Put the value in a auto-sorted listbox to make similarity investigation easier because smallest value stay in the top of the list and step down for similar images.

The image similarity depend on Euclidean Distance. The smaller the distance the image will get more similar. In measuring similarity, there are few famous math formulas such as Dice similarity coefficients, Jackard, Otsuka, Simpson, Manhattan, Robinson, and more.

## The libraries used:

1. CxImage (http://www.aoi.it)
3. CDirDialog (I forgot the creator)

A list of licenses authors might use can be found here

## Share

Web Developer
Indonesia
No Biography provided

 First PrevNext
 compile Su-Jin Oh 21-Feb-13 19:33
 My vote of 1 eRRaTuM 22-Nov-11 1:26
 cbir using color histogram MATLAB code wanlovewan 18-Oct-10 13:10
 cannot upload images varshanth 28-Jan-10 21:29
 update from cimage.lib xpjandy 29-Oct-09 18:01
 How to use this in RGB color space? czwarty 20-Oct-09 9:02
 Post an .exe-file andycpp 3-May-09 9:38
 same code in matlab pradyuvishal 10-Mar-09 6:10
 Re: same code in matlab GAURAV JASWAL 7-Dec-09 23:58
 matlab maryam222 2-Feb-09 9:36
 CBIR eipro 22-Dec-08 4:19
 Re: CBIR Member 11411201 6-Mar-15 0:23
 Can I find the same system in Matlab ahmedabdu 15-Dec-08 18:40
 i have build it successfully ahlawat.arun@gmail.com 13-Nov-08 20:45
 Re: i have build it successfully adamdcg 3-Dec-08 22:58
 Re: i have build it successfully adamdcg 4-Dec-08 0:00
 Re: i have build it successfully cnbjliuaihua 1-Jun-12 4:00
 Re: i have build it successfully cnbjliuaihua 1-Jun-12 18:10
 Re: i have build it successfully joprem 8-Mar-12 0:58
 Last Visit: 31-Dec-99 19:00     Last Update: 24-Apr-15 14:27 Refresh 1234 Next »