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

5
LINES

< > BotCompany Repo | #1025232 // ii_diffWhenSplitVertically

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3253L/21K).

static double ii_diffWhenSplitVertically(IntegralImage img, int y) {
  ret
    ii_averageBrightnessOfArea(img, 0, 0, img.w(), y) -
    ii_averageBrightnessOfArea(img, 0, y, img.w(), img.h());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025232
Snippet name: ii_diffWhenSplitVertically
Eternal ID of this version: #1025232/4
Text MD5: 007daafe035d428d1f14f91cd8bee6b2
Transpilation MD5: 3a84a95b92204fc08b33ffa8060eca6c
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-14 17:13:38
Source code size: 197 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 222 / 305
Version history: 3 change(s)
Referenced in: [show references]