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

6
LINES

< > BotCompany Repo | #1030500 // bwii_scanGrid_rect

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

Libraryless. Click here for Pure Java version (5980L/36K).

1  
// returns [<cell, average brightness>]
2  
static LPair<Rect, Double> bwii_scanGrid_rect(BWIntegralImage ii, Rect outer, int cols, int rows) {
3  
  ret map(
4  
    concat(gridOfRects3(outer, cols, rows)),
5  
      r -> pair(r, bwii_averageBrightnessOfArea(ii, r)));
6  
}

Author comment

Began life as a copy of #1025258

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030500
Snippet name: bwii_scanGrid_rect
Eternal ID of this version: #1030500/2
Text MD5: faec063b8f5bcb1062438bcf168a2b33
Transpilation MD5: e2acaba7a7c401c8f5674d97335d084c
Author: stefan
Category: javax / image recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-02 06:21:07
Source code size: 262 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 218 / 305
Version history: 1 change(s)
Referenced in: [show references]