image-comparison

How to compare two images using Node.js

时光怂恿深爱的人放手 提交于 2020-04-05 08:11:28
问题 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, but it is version 0.0.1 and relies on various 3rd party system packages, so not stable or portable. Something along these lines: var imgComparator = require('some-awesome-image-comparator-module'); // result would be between 1.0 and 0.0, where 1.0

Problems with using a rough greyscale algorithm?

此生再无相见时 提交于 2020-02-18 05:39:36
问题 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), I've calculated the average of the R , G and B values and set the RGB values to this average. My program was producing greyscale images which seemed accurate, but I was wondering if I'd employed the correct algorithm, and I came across this

Problems with using a rough greyscale algorithm?

半世苍凉 提交于 2020-02-18 05:38:05
问题 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), I've calculated the average of the R , G and B values and set the RGB values to this average. My program was producing greyscale images which seemed accurate, but I was wondering if I'd employed the correct algorithm, and I came across this

Getting stuck on Matlab's subplot mechanism for matching images' points for vlfeat

◇◆丶佛笑我妖孽 提交于 2020-01-12 08:12:01
问题 I am doing vlfeat in Matlab and I am following this question here. These below are my simple testing images: Left Image: Right Image: I did a simple test with 2 simple images here (the right image is just rotated version of the left), and I got the result accordingly: It works, but I have one more requirement, which is to match the SIFT points of the two images and show them, like this: I do understand that vl_ubcmatch returns 2 arrays of matched indices, and it is not a problem to map them

Python libraries failed for detailed image comparison between two shifted images captured using webcam

 ̄綄美尐妖づ 提交于 2020-01-02 21:50:11
问题 I want to have detailed image comparison which are captured using webcam. I tried OpenCV and other Python libraries for image comparison which work good when I do any digital change in image that is changes done on image using PC (using Paint). But when I do any change in image physically using pen or any other object and capture the image with a webcam, then the same library is unable to detected the change done on the image. Factors which leads for such issue: camera (I am using Logitech

OpenCV image comparison in Android

依然范特西╮ 提交于 2019-12-28 02:35:27
问题 [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 openCV Mat img1 = Highgui.imread("mnt/sdcard/IMG-20121228.jpg"); Mat img2 = Highgui.imread("mnt/sdcard/IMG-20121228-1.jpg"); try{ double l2_norm = Core.norm( img1, img2 ); tv.setText(l2_norm+""); } catch(Exception e) { //image is not a duplicate } I get a