static float[] bwImageColumnBrightnesses(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).averageBrightness(); ret f; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005708 |
Snippet name: | bwImageColumnBrightnesses |
Eternal ID of this version: | #1005708/1 |
Text MD5: | 02b7e79565d61d1b874baa6f2352e69f |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-04 13:25:59 |
Source code size: | 224 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 551 / 587 |
Referenced in: | #1005844 - bwImageColumnMinBrightness #1006345 - bwImageRowBrightnesses #1006367 - rgbImageColumnBrightnesses #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1025086 - bwImageColumnBrightnesses_generic |