static float[] bwImageColumnBrightnesses_generic(virtual BWImage img) { int w = rcall_int getWidth(img), h = rcall_int getHeight(img); float[] f = new float[w]; for x to w: f[x] = toFloat(rcall averageBrightness(rcall clip(img, x, 0, 1, h))); ret f; }
Began life as a copy of #1005708
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1025086 |
| Snippet name: | bwImageColumnBrightnesses_generic |
| Eternal ID of this version: | #1025086/2 |
| Text MD5: | 155b7aff6ae6530c7a6735fdeba15faf |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-09-05 13:53:09 |
| Source code size: | 271 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 422 / 460 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |