How to compare the feature vectors of images in two separate folders
1 次查看(过去 30 天)
显示 更早的评论
Hi my project deals with the comparison of the feature vectors of images residing in two separate folders. How to compare them ?
0 个评论
回答(1 个)
Walter Roberson
2014-2-5
Generally when you have the feature vectors for two different images, you find a "distance" between them; using Euclidean distance is not uncommon.
14 个评论
Walter Roberson
2014-2-9
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().
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!