"Spot the difference" game code
1 回表示 (過去 30 日間)
古いコメントを表示
hi i need a code which 1. detect 2 similar image and crop them out(example from browser) 2. detect the differences between 2 images 3. show the differences, count and label them(example difference no.1,difference no.2)
basically the code is like a cheat to the "spot the differences" game and tell u how many and where are the differences. Appreciate if some1 could help me on the code. Thanks in advance.
0 件のコメント
採用された回答
Image Analyst
2013 年 4 月 18 日
Try to just subtract them:
differenceImage = single(image1) - single(image2);
imshow(differenceImage, []);
Then you can threshold and blacken the differences, or make them red, or outline them, or whatever you want to do.
8 件のコメント
Image Analyst
2013 年 4 月 21 日
Yes, I saw that, but what I want to know is if my code snippets above helped you. Did you actually try them? Or not? It sounds like not. If not, then why not?
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!