Home » questions » how can i compare two images with the help of "matlab".?

how can i compare two images with the help of "matlab".?

2006-08-12 11:43:19, Category: Programming & Design
hi ,i am doing a project in which i have to compare two images and i have to find that these two images are same or not .i hv to do it with the help of matlab .plz give me some idea and links related to it. thanx in advance......

Answers

  1. Lord_of_Armenia

    On 2006-08-13 22:09:25


    it depends on what you mean by comparing them... Lets assume that you load the images into an array of integer values ranging from 0 - 255. (or floats 0.0 - 1.0 if you like). you might subtract the images and see what pixels are different. you might find the top 20 eigenvectors over the images and see how similar the vectors are. You might compare patches to see if one image is a translation of the other. Maybe you should apply some gaussian smoothing to the images to filter out moise. There are really millions of things that you can do to compare images. It comes down to what the application is and how sofisticated you want to get. The are lots of great tools out there for image manipulation. You might try the Image Toolbox for matlab: http://www.mathworks.com/access/helpdesk/help/toolbox/images/