1 | static float[] rgbImageRowBrightnesses(RGBImage img) { |
2 | int h = img.h(); |
3 | float[] f = new float[h]; |
4 | for y to h: |
5 | f[y] = rgbAverageBrightness(rgbRow(img, y)); |
6 | ret f; |
7 | } |
Began life as a copy of #1006367
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: | #1006371 |
Snippet name: | rgbImageRowBrightnesses |
Eternal ID of this version: | #1006371/1 |
Text MD5: | 36e2d7445d4440d86a32abba392898c9 |
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 22:04:58 |
Source code size: | 183 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 522 / 537 |
Referenced in: | [show references] |