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

7
LINES

< > BotCompany Repo | #1005844 // bwImageColumnMinBrightness

JavaX fragment (include)

static float[] bwImageColumnMinBrightness(BWImage img) {
  int w = img.getWidth(), h = img.getHeight();
  float[] f = new float[w];
  for x to w:
    f[x] = (float) img.clip(x, 0, 1, h).minimumBrightness();
  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: #1005844
Snippet name: bwImageColumnMinBrightness
Eternal ID of this version: #1005844/1
Text MD5: 5fd8600cde023659ce4c232bdb6a5f0c
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-11 03:07:01
Source code size: 225 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 489 / 516
Referenced in: [show references]