How to compare the feature vectors of images in two separate folders

1 view (last 30 days)
Hi my project deals with the comparison of the feature vectors of images residing in two separate folders. How to compare them ?

Answers (1)

Walter Roberson
Walter Roberson on 5 Feb 2014
Generally when you have the feature vectors for two different images, you find a "distance" between them; using Euclidean distance is not uncommon.
  14 Comments
Walter Roberson
Walter Roberson on 9 Feb 2014
isequal() would only be for the case where there was not even a single bit different in the two images.
In the situation where you are comparing images to determine whether they are identical, a useful technique is to calculate a hash or checksum of each image, such as MD-5. Then two images cannot be identical if they have different hashes (or checksums) Once you have narrowed down to a smaller set of candidates by excluding those with different hashes (or checksums), then you can afford more time to isequal().

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!