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

3
LINES

< > BotCompany Repo | #1019110 // averageBrightness

JavaX fragment (include)

static double averageBrightness(BufferedImage etc img) {
  ret new BWImage(img).averageBrightness();
}

Author comment

Began life as a copy of #1006366

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019110
Snippet name: averageBrightness
Eternal ID of this version: #1019110/2
Text MD5: 7015638a6864ae423f0768a902b0edf9
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-08 22:59:38
Source code size: 104 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 402 / 461
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1035454 - averageBrightnessImage - image scaled down to 1x1 pixel