1 | // similarity = e.g. 0.99f |
2 | static FoundImgPlus<RGBImage> rgbRawSingleImageSearch_multiplePatterns_plusImage(RGBImage big, L<RGBImage> patterns, float similarity) {
|
3 | FoundImgPlus<RGBImage> found = null; |
4 | for (RGBImage pat : patterns) {
|
5 | FoundImg found2 = rgbImageSearch_best(big, pat, similarity); |
6 | if (found2 != null) {
|
7 | found = FoundImgPlus<RGBImage>(found2.r, found2.sim, pat); |
8 | similarity = found.sim; |
9 | } |
10 | } |
11 | ret found; |
12 | } |
Began life as a copy of #1019524
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019541 |
| Snippet name: | rgbRawSingleImageSearch_multiplePatterns_plusImage |
| Eternal ID of this version: | #1019541/1 |
| Text MD5: | 5a945b7ee70e7bf5c9ccebdd59661758 |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-11 22:43:00 |
| Source code size: | 458 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 460 / 513 |
| Referenced in: | [show references] |