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

4
LINES

< > BotCompany Repo | #1009144 // calcHaar

JavaX fragment (include)

1  
static double calcHaar(double[][] ii, Rect black, Rect white) {
2  
  assertEquals("Rectangle volume for Haar feature", rectVolume(black), rectVolume(white));
3  
  ret iiSumRect(ii, white)-iiSumRect(ii, black);
4  
}

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: #1009144
Snippet name: calcHaar
Eternal ID of this version: #1009144/1
Text MD5: 012d7040c046d500641966d876b27ca7
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-05 18:22:43
Source code size: 208 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 477 / 533
Referenced in: [show references]