Can anyone suggest good algorithms for CBIR?

北城以北 提交于 2019-12-05 15:54:46

Well, this topic is very large, but here is a brief overview of a possible solution

  1. Image fingerprints are collections of SIFT descriptors These are quantized both to reduce size, and to allow indexing

  2. Build an inverted index of your database to allow looking up an image by quantized descriptors (you can use any full text search engine \ DB for this)

  3. Given an image, lookup images which share a large amount of common descriptors

  4. For those potential candidates, you should validate that the spatial arrangement of descriptors is similar enough

Some articles to get you started:

Philbin, James, et al. "Object retrieval with large vocabularies and fast spatial matching." Computer Vision and Pattern Recognition, 2007. CVPR'07. IEEE Conference on. IEEE, 2007.

Philbin, James, et al. "Lost in quantization: Improving particular object retrieval in large scale image databases." Computer Vision and Pattern Recognition, 2008. CVPR 2008. IEEE Conference on. IEEE, 2008.

Mikulík, Andrej, et al. "Learning a fine vocabulary." Computer Vision–ECCV 2010 (2010): 1-14.

I would suggest to train SVM model on list of image features extracted from training images

  1. Image fingerprint: a meaningful representation of the image. You can't use the single pixels of course. The most rational way to do it is to minimise the correlation between basis. In simple words, if you take a 64x64 image probably the two pixels at the top left corner will be the same or similar. It's useless to use as input each single 64^2 pixels, you need something better. Try to have a look at what Principal Component Analysis does.
  2. It's entirely up to you. Extremising it, you could use a bit, that tells you whether the image is dark or not. Better, you do PCA on the image and experiment with different numbers of features (it's not always the case that more features is better)
  3. Whatever you want, there are a lot of algorithms you can use. I'd recommend Support Vector Machines. Easy to use and well supported. If you have a lot of different tags you probably have to tray one SVM for each tag. That may not be ideal and you may want to try something else.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!