简体   繁体   English

如何将两个图像与iphone sdk进行比较?

[英]How to compare two images with iphone sdk?

suppose i have taken one picture from my iphone camera and now i want to compare this image with other images and find best match image from that. 假设我从我的iphone相机拍摄了一张照片,现在我想将此图像与其他图像进行比较,并从中找到最佳匹配图像。

is it possible or not? 有可能吗?

ObjectiveC中的图像处理算法可用的帮助非常少,但您可以深入了解Quartz 2D并尝试比较图像,甚至iPhone链接上的图像处理可能会有所帮助。

There is nothing built into the SDK for comparing images, but any C library for image comparison can probably be used. SDK中没有内置任何用于比较图像的内容,但可以使用任何用于图像比较的C库。 This question has a good discussion on image comparison algorithms. 这个问题对图像比较算法有很好的讨论。

Are you just comparing the differences between the two images or are you trying to match objects in the images with objects in other images? 您只是比较两个图像之间的差异,还是尝试将图像中的对象与其他图像中的对象进行匹配?

If it's the latter then you may need to look into computer vision and stereo image analysis, particularly image rectification and point matching. 如果是后者,那么您可能需要研究计算机视觉和立体图像分析,特别是图像校正和点匹配。

Computer Vision - A Modern Approach by Jean Ponce and David Forsyth is a fairly good book. 计算机视觉 - Jean Ponce和David Forsyth的现代方法是一本相当不错的书。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM