我如何使用c ++(mfc)从计算机中找到重复的照片? [英] How i find duplicate photos from computer using c++(mfc) ?

查看:75
本文介绍了我如何使用c ++(mfc)从计算机中找到重复的照片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从PC上找到重复的照片,因为我必须在c ++ MFC中编写代码,或者你可以建议我使用任何算法吗?



什么我试过了:



我尝试使用getpixel,但需要时间来拍摄多张图片。

I want to find duplicate photos from PC for that i have to write code in c++ MFC or you can suggest me an any algorithm ?

What I have tried:

I tried using getpixel,but it is taking time for multiple images.

推荐答案

这取决于复制的定义。



对于相同的图像文件,你可以使用二进制文件比较。



对于类似的图像,你必须使用某种图像比较算法。



特殊情况可能是同一来源但修改后(分辨率)如果图像文件包含EXIF之类的元数据,您也可以使用它。
This depends on the definition of "duplicate".

For identical image files you can use a binary file compare.

For similar images you have to use some kind of image comparing algorithm.

Special cases may be be same origin but modified (resolution, clipped portion, manipulated) or converted to another image format.

If the image files contains meta data like EXIF, you may use that too.


这篇关于我如何使用c ++(mfc)从计算机中找到重复的照片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆