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

3
LINES

< > BotCompany Repo | #1030537 // bwii_allWhite

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

Libraryless. Click here for Pure Java version (6188L/37K).

1  
sbool bwii_allWhite(IBWIntegralImage img) {
2  
  ret img.getPixelAverage(0, 0, img.getWidth(), img.getHeight()) == 255;
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030537
Snippet name: bwii_allWhite
Eternal ID of this version: #1030537/1
Text MD5: dd933a923836c1c03f068d0e941373bf
Transpilation MD5: 217624d8140a79596f91f0a8c713e7c5
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-06 18:52:32
Source code size: 120 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 266
Referenced in: [show references]