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

7
LINES

< > BotCompany Repo | #1006774 // bwDistance - per-pixel difference between two BWImages

JavaX fragment (include)

static float bwDistance(BWImage a, BWImage b, float maxDistance) {
  ret 1f-bwImageSimilarityResized(a, b, 1f-maxDistance);
}

static float bwDistance(BWImage a, BWImage b) {
  ret bwDistance(a, b, 1f);
}

Author comment

Began life as a copy of #1006763

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006774
Snippet name: bwDistance - per-pixel difference between two BWImages
Eternal ID of this version: #1006774/3
Text MD5: eeef1ba33ef55cddbb7bad5d2a45cbb3
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-06 00:10:48
Source code size: 212 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 544 / 572
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)