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

4
LINES

< > BotCompany Repo | #1009144 // calcHaar

JavaX fragment (include)

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

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