Questions tagged [image-comparison]

Methods, algorithms and techniques for the programmatic comparison of image data.

Methods, algorithms and techniques by which images can be programmatically compared, either to one another or to a database of extracted image features.

Meaningful image comparison will typically involve the extraction of some of features from the images in question, as metadata. Many techniques for feature extraction (and subsequent feature selection) come from the content-based image retrieval field.

Typical image-comparison schemes necessitate some manner of image processing as well.

206 questions
224
votes
25 answers

How can I quantify difference between two images?

Here's what I would like to do: I'm taking pictures with a webcam at regular intervals. Sort of like a time lapse thing. However, if nothing has really changed, that is, the picture pretty much looks the same, I don't want to store the latest…
91
votes
15 answers

Algorithm for finding similar images

I need an algorithm that can determine whether two images are 'similar' and recognizes similar patterns of color, brightness, shape etc.. I might need some pointers as to what parameters the human brain uses to 'categorize' images. .. I have looked…
kitsune
  • 11,516
  • 13
  • 57
  • 78
59
votes
8 answers

Problems with using a rough greyscale algorithm?

So I'm designing a few programs for editing photos in python using PIL and one of them was converting an image to greyscale (I'm avoiding the use of any functions from PIL). The algorithm I've employed is simple: for each pixel (colour-depth is 24),…
57
votes
5 answers

How to use SIFT algorithm to compute how similar two images are?

I have used the SIFT implementation of Andrea Vedaldi, to calculate the sift descriptors of two similar images (the second image is actually a zoomed in picture of the same object from a different angle). Now I am not able to figure out how to…
Lazer
  • 90,700
  • 113
  • 281
  • 364
36
votes
3 answers

How to check similarity of two images that have different pixelization

I am running a python code to check similarity of Quora and Twitter users profiles photos, but i am not getting a positive result when images are the same. This is the code for comparing the two images : path_photo_quora=…
32
votes
4 answers

How to compare two images using Node.js

I am looking for a way to compare two images to see how similar they are. Googling it produces tons of image processing results (cropping, re-sizing, etc.), but nothing that would do approximate comparisons of images. There is one Node.js library,…
SergeyB
  • 9,478
  • 4
  • 33
  • 47
20
votes
7 answers

InvalidArgumentError : input depth must be evenly divisible by filter depth: 4 vs 3

I'm a beginner. I tried Image Classification by Tensorflow, and got the following error. I found the similar issue on web, but I couldn't understand. What does the error mean? How should I do for it? Please give me some advice. I use 100…
51sep
  • 479
  • 1
  • 4
  • 10
20
votes
3 answers

OpenCV image comparison in Android

[EDIT] I have devised some code for image comparison. The matching part is still a bit flawed and I would love some assitance. The project can be found at - GitHub. I have these two images Img1 and Img2: When I use the following command in…
13
votes
4 answers

Compare Images in Python

I need to compare two images that are screenshots of a software. I want to check if the two images are identical, including the numbers and letters displayed in the images. How can this be accomplished?
stallion
  • 1,901
  • 9
  • 33
  • 52
11
votes
2 answers

Image comparison module for PHP

Is there any basic (free or not), but usable - not like libpuzzle - image fingerprinting/similarity/compare module for PHP, which works akin to TinEye or Google image upload search? It's basically needed to avoid uploading almost the same (but with…
Jauzsika
  • 3,171
  • 3
  • 23
  • 32
10
votes
2 answers

Image comparison method with C++ and OpenCV

I am new to OpenCV. I would like to know if we can compare two images (one of the images made by photoshop i.e source image and the otherone will be taken from the camera) and find if they are same or not. I tried to compare the images using…
user1421108
  • 119
  • 2
  • 7
9
votes
1 answer

Searching an Image Database Using SIFT

Several questions have been asked about the SIFT algorithm, but they all seem focussed on a simple comparison between two images. Instead of determining how similar two images are, would it be practical to use SIFT to find the closest matching image…
Cerin
  • 60,957
  • 96
  • 316
  • 522
8
votes
2 answers

How to use SIFT for image comparison

I recently stumbled upon a SIFT implementation for C#. I thought it would be great fun to play around with it, so that's what I did. The implementation generates a set of "interest points" for any given image. How would I actually use this…
Boris
  • 8,551
  • 25
  • 67
  • 120
7
votes
3 answers

Image comparison in Selenium WebDriver using Java

I am currently working in Selenium WebDriver to compare two images during automation. Currently I am using pixel comparison but the problem comes if the browser size is changed or the system is different on which I run the automation. I have to…
6
votes
0 answers

Character recognition from an image C++

*Note: while this post is pretty much asking about bilinear interpolation I kept the title more general and included extra information in case someone has any ideas on how I can possibly do this better I have been having trouble implementing a way…
1
2 3
13 14