COMPGROUPS.NET | Post | Groups | Users | Stream | Browse | About | |

### Compare Two Images

• Email
• Follow

What are the properties of an image that can be compared for taking the percentage of matching between two images?
Like std2(), we can take the std2() value of two images and then simply take the percentage of the two. After that we can compare between the two. Is there anything else like this function in matlab? Please help.

Rajesh
Kolkata

 0

See related articles to this posting

You can take the difference of two images, and draw contours to visualize the difference between images.

Deep

"Rajesh Sarkar" <rajeshsarkar.it@gmail.com> wrote in message <hqlqv0$83a$1@fred.mathworks.com>...
> What are the properties of an image that can be compared for taking the percentage of matching between two images?
> Like std2(), we can take the std2() value of two images and then simply take the percentage of the two. After that we can compare between the two. Is there anything else like this function in matlab? Please help.
>
> Rajesh
> Kolkata

 0

Rajesh Sarkar:
There are lots of things depending on what you want to measure.  For just one example, you could look at optical flow (http://www.csd.uwo.ca/faculty/barron/) to get little vectors of where each pixel moved to.

What are *you* interested in detecting?

 0
 comp.soft-sys.matlab 204459 articles. 548 followers.

2 Replies
1603 Views

Similar Articles

[PageSpeed] 0

• Email
• Follow

Similar Artilces:

comparing two image
Hi I had a three layered image and a one layered image. I should compare the first pixel of 1 layered image with all the pixels of 3 layered pixel and plot them(for plotting we need to use the same Xand Y axis as of mean plot) ...

Compare two images....?
Suggestions on the best (preferably easiest way) to compare two images (captured both from the desktop via java robot) ? The following code is the code I will be using to take the screen shot (currently it saves just to a file): import java.awt.*; import java.awt.image.*; import java.io.*; import javax.imageio.*; class Screenshot{ static public void main() { try { //Get the screen size Toolkit toolkit = Toolkit.getDefaultToolkit(); Dimension screenSize = toolkit.getScreenSize(); Rectangle rect = new Rectangle(0,0,screenSize.width,screenSize.height); Robot robot = new Robot(); ...

How to compare two image
I get a image to compare with image in the database. image in database has 5 (Feature)group (image = mouth) 1. How to compare .. matching image 2. How can I extraction feature from mouth for compare PLEASE .... Thank you very very much ...

Comparing two images
I want to compare two images, one uploaded by the user and the other one existing in the database and show whether they are the same.How do I do this in matlab? "Viraj" wrote in message <j13hue$h3c$1@newscl02ah.mathworks.com>... > I want to compare two images, one uploaded by the user and the other one existing in the database and show whether they are the same.How do I do this in matlab? ------------------------------------------------------------- Depends on how similar you want to check for. You could simply subtract the two images, or you could also check for file dat...

compare histogram of two or images
i m on a project where i need to compare histogram of base image with other images. suggest me code regarding or basic idea. On Friday, June 28, 2013 4:07:11 PM UTC+5:30, Ramandeep wrote: > i m on a project where i need to compare histogram of base image with other images. > > suggest me code regarding or basic idea. read the second chapter of the book Digital Image Processing Using MATLAB by Rafael C. Gonzalez University of Tennessee Richard E. Woods MedData Interactive Steven L. Eddins The MathWorks, Inc. ...

How to compare two TIFF images ???
Hi, I am totally clueless to comparing two TIFF images. I need to compare two TIFF images generated from two versions and then see teh difference. Kindly someone help. Thanks in advance, Abhi Try XOR the two images together. Result will show only the differences On Apr 4, 12:17 am, "dwaach" <xbhishek.xsth...@gmail.com> wrote: > Hi, > > I am totally clueless to comparing two TIFF images. I need to compare > two TIFF images generated from two versions and then see teh > difference. > > Kindly someone help. > Thanks in advance, > Abhi On 4 Apr, ...

how can i compare two image?
undefined fire wrote: > > > undefined just look at them? Seriously, you have to show some effort of your own. If you do that, people are much more willing to help. Jos ...

Draw a line between two points in two images for image registration
Hi I am trying to register (align) two images and I want to draw a line going from (x1,y1) in first image to (x2,y2) in the second image. I want to actually write the line into the image pixels. Can anyone explain me how it can be done. Regards, Parthi Try this demo: % Demo to write an ellipse and a line into the overlay of an image, % and then to burn those overlays into the image. %----- Initializing steps ----- % Clean up clc; clear all; close all; workspace; % Display the workspace panel. hasIPT = license('test', 'image_toolbox'); if ~hasIPT ...

Comparing two Images #2
I have to compare two images of road taken at different time.Both the images have exactly same size,no rotation variation or other variation except the colour difference. I just weant to know whether the two images are exactly same or not i.e. is their any object present on road at the current image or not. Kindly help On Oct 28, 3:51=A0am, "Aman " <aman_haq...@Hotmail.com> wrote: > I have to compare two images of road taken at different time.Both the ima= ges =A0have exactly same size,no rotation variation or other variation exce= pt the colour difference. > I jus...

comparing two images #3
We are looking for an image processing algorithm (or multiple algs) to compare two images. We are generating image1 using several coherent noise functions. Our goal is to match image1 with a black and white photo image2 to calculate a single number representing how good the match is. Image2 might be of a photo of a gravel road, grass, roads, trees, dirt, snow, etc. The noise image1 will not be an exact match to image2 but it should be close enough to come up with a score. Some candidate algorithms are comparing histogram equalization and pixel/pixel comparing but these algorithms are not g...

comparing two images #4
Hey i am a new user of Mat lab. I am trying to compare two images. One will be the reference image and the other image has to be compared with the reference image to find the defects in the color.Can anybody tell me how to do it in Mat lab? Thanks ...

compare two images #2
Hi I've have a annoying problem. I've have two matrix e.g. 56536*19. The first is the graytone picture with values from 1 - 255. The second image is also 56536*19 but it nearly exist of 0 except on a few spots is consist of 1 or 2. My problem is now that i want to find those spots on image 2 and take theirs position eg 23432*1 and find the same position on image 1 and then take this graytone value e.g. 46 and place in a new picture. All other values in the new picture should then bee given the value 0. The final new image should now bee a representation of image 1 and image 2 take into...

How to compare two images in matlab?
Hi, I don't know if this is the right place to post this, but I hope so... How can I compare two images or two matrices in matlab with each other. The thing is, I have a couple of master images and I want to compare a new image with them to see which one resembles the most to the new image. They all have the same size. Is there a general approach to this problem or some script I can use? I tried subtracting one from another but this doesn't take into account that the image may be rotated or translated. The images represent the various displacements of potentiometers of a human lying ...

Displaying set of two images across two columns and anchoring images
I'm typesetting a paper using the IEEEtran class, and I've run into a couple of problems. A) Firstly, the format of one of my sections is such that it makes sense to keep the left column for only text and the second column only for figures. I've formatted the size of my figures such that I can snugly fit 4 figures in the second column. I have currently managed to place all 4 in a subfigure environment in the right hand column by using \begin{figure}{H}. However, I'm not too happy with forcing things down Latex's throat i.e. using the H option. The other problem is that the...

Comparing two images using KNN
I have to compare images present in two different folders. One called "Test" and another called "Training". The Test folder contains 10 images and the Training folder contains 40 images. They are all images of numbers from 0 to 9 in black & white. Test folder contains one image for each number, and the Train folder contains 4 images for each number, as linked below. I need to use a KNN algorithm to compare them. All the images are in png format and sized [28;40]px. Any help would be helpful. Thanks in advance. test folder imgur link: [http://imgur.com/a/KHooS] train...

Comparing between two images using Matlab.
Hello sir, I have two questions and I hope you can help me as much as you can: 1) How can I compare two images using Matlab? (the original image saved in matlab program , and the second one taken by a digital camera. 2) How can I interface between the digital camera and Matlab program? and how can I take the result from Matlab? "yousef abu hirra" <ysf_hirra@yahoo.com> wrote in message news:ef1be35.-1@webx.raydaftYaTP... > Hello sir, > I have two questions and I hope you can help me as much as you can: > 1) How can I compare two images using Matlab? > (the o...

Hot to Compare two smilar images
Hi My group is working on the project wherein we need to compare the live image captured from the webcam with those stored in the database and then process it and give the output depending upon the results For example, if a person shows a symbol of '1' using his index finger in the camera the program must compare the captured image (of '1' using index finger) with images in database (one image similar to '1''s symbol) and the program must display "1" as an output. We are confused about the image processing part as to how to compare the similar images...

Comparing an image with a baseline image
I'm trying to figure out the best way to do this. So you have an image with a certain baseline attributes i.e format, RGB etc. If I were to compare an image for accuracy, sensitivity etc -- what would be best way of doing this. All suggestions are welcome. Thanks!!! tigre117 <faisrabs01@yahoo.com> wrote in message <198176185.238754.1288632714704.JavaMail.root@gallium.mathforum.org>... > I'm trying to figure out the best way to do this. So you have an image with a certain baseline attributes i.e format, RGB etc. If I were to compare an image for accuracy, sensitivit...

image of the difference between two images?
hi! i want to compare two images by subtracting their corresponding matrices from each other. now i want to show the resulting matrix graphically. i tried it with imshow and different plots, however, the resulting image is only black. the entries in the new matrix range between 1 and 6. is this difference simply to small to be displayed as an image or is there another problem? thank you! On Aug 17, 2:15=A0pm, "Katrina Bing" <ktr...@uos.de> wrote: > hi! > > i want to compare two images by subtracting their corresponding matrices = from each other. now i want to show ...

how to compare the two image objects with different size?
Hi all, I want to compare two image objects... they look very similar to human visual system... but I want to find their similarities by metrics... The two image objects are embedded in two different large images... I mean, they are surrounded by dark or near-dark background in two larger images... And these two larger images are of different sizes and different sampling rate... And the two image objects aren't the same relative locations within the larger images... So how do I dig them out from their background and how do I compensate for different sampling rate in comparison? T...

compare two PNG images using rmagick
Hi, I am looking for a code snippet to compare two PNG images using rmagick. Can anybody help me in this regard. Thanks, Anil kumar -- Posted via http://www.ruby-forum.com/. On Thu, Jul 9, 2009 at 5:56 AM, Anil Gollaa<nlkmr36@gmail.com> wrote: > Hi, > I am looking for a code snippet to compare two PNG images using rmagick. Yeah, you could google "PNG rmagick", then read some documentation, then implement it yourself. If you run into specific problems with a certain feature, I'm sure someone here will be happy to help you, so long as you let them know specifica...

Any quick, easy way to compare two images?
Long story short, I'm messing with an app to assemble a stream of webcam images into a crude stop-motion movie. Since the images may arrive at irregular intervals, I'd like to be able to do something similar to this: NSImage *PreviousImage; // Global to the class -(NSImage *)getNewImage:(NSString *)ImageSourceURL { NSImage *NewImage = [self grabImageFrom:ImageSourceURL]; if (MAGIC) { // Yes, it's a new image if (PreviousImage) [PreviousImage release]; // Dump the old one, if any PreviousImage = [NewImage copy]; //...

Comparing pixel overlap in two binary images
Please help! I want to be able to compare pixel overlap in two binary images of the same dimensions (e.g., 900 x 900 pixels). I created the binary images in the Image Processing Toolbox, which gives me black (objects) and white (background). I now want to determine (a) the area of the black regions in each image and (b) the number of overlapping pixels in black regions in the two images. Does anyone know I can simply do this in Matlab/Image Processing Toolbox? Are there any precomplied M functions that will take two image files and output these kinds of region statistics? Many thanks. Cha...

How to compare two SOAP Envelope or two Document or two XML files
Hi All, I am testing a web service. I need to compare the SOAP Response i got from the web service with the xml present with me as expected output. i means to say i am receiving SOAPEnvelope using call.invoke() function and i want to compare this envelope with another XML file. Could anyone help me out please? Thanks in Advance, Deepak Kumar Infosys Technologies Ltd. GenxLogic napisal(a): > Hi All, > I am testing a web service. > I need to compare the SOAP Response i got from the web service with the > xml present with me as expected output. i means to say i am receiving > S...