Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1019541 // rgbRawSingleImageSearch_multiplePatterns_plusImage

JavaX fragment (include)

// similarity = e.g. 0.99f
static FoundImgPlus<RGBImage> rgbRawSingleImageSearch_multiplePatterns_plusImage(RGBImage big, L<RGBImage> patterns, float similarity) {
  FoundImgPlus<RGBImage> found = null;
  for (RGBImage pat : patterns) {
    FoundImg found2 = rgbImageSearch_best(big, pat, similarity);
    if (found2 != null) {
      found = FoundImgPlus<RGBImage>(found2.r, found2.sim, pat);
      similarity = found.sim;
    }
  }
  ret found;
}

Author comment

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: 248 / 291
Referenced in: [show references]