Warning: session_start(): open(/var/lib/php/sessions/sess_1fdbbn23m2nc64c2jlu0r34s9t, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
bwDistance - per-pixel difference between two BWImages [1006774]

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)

1  
static float bwDistance(BWImage a, BWImage b, float maxDistance) {
2  
  ret 1f-bwImageSimilarityResized(a, b, 1f-maxDistance);
3  
}
4  
5  
static float bwDistance(BWImage a, BWImage b) {
6  
  ret bwDistance(a, b, 1f);
7  
}

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: 936 / 952
Version history: 2 change(s)
Referenced in: [show references]