赚外快啦:现金200悬赏用C语言实现图片查找的简单函数

2013-08-26 14:45:34 +08:00
 oneone
就是需要实现这样几个函数:

struct location {
float x;
float y;
};

1、从图片imageFindFrom中,查找所有的imageToFind,将找到的图片的左上角位置放在array<location>中返回。

array<location> findImages(imageToFind, imageFindFrom);

2、同上,只是查找中忽略colorValue这个颜色的像素点。

array<location> findImagesIgnoreColor(imageFoFind, imageFindFrom, colorValue);

3、从图片imageFindFrom中,按fuzzyValue模糊查找所有的imageToFind,将找到的图片的左上角位置放在array<location>中返回。模糊值为0到1,模糊查找即有多少百分比的“像素点-位置”匹配,即算匹配的。

array<location> findImagesFuzzily(imageToFind, imageFindFrom, fuzzyValue);

4、同上,只是查找中忽略colorValue这个颜色的像素点。
array<location> findImagesFuzzilyIgnoreColor(imageToFind, imageFindFrom, colorValue, fuzzyValue);

有意向的勇士可以加2744331610,期待!
5193 次点击
所在节点    程序员
22 条回复
passluo
2013-08-28 03:08:00 +08:00
看了大家的回答,对我之前的回复感动羞耻与忏悔…我太低俗了…sorry…
oneone
2013-08-28 09:14:42 +08:00
@msg7086 Thank you so much, that's very valuable and helpful.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/80259

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX