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

7
LINES

< > BotCompany Repo | #1006367 // rgbImageColumnBrightnesses

JavaX fragment (include)

static float[] rgbImageColumnBrightnesses(RGBImage img) {
  int w = img.w();
  float[] f = new float[w];
  for x to w:
    f[x] = rgbAverageBrightness(rgbCol(img, x));
  ret f;
}

Author comment

Began life as a copy of #1005708

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006367
Snippet name: rgbImageColumnBrightnesses
Eternal ID of this version: #1006367/1
Text MD5: e23463da9ddd6d86d4e9a56ee34ac022
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-29 21:55:05
Source code size: 186 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 568 / 565
Referenced in: [show references]