Libraryless. Click here for Pure Java version (11974L/69K).
static RasterBars reproduceRasterBars(IBWIntegralImage ii) { var thinImage = scaledBWImageFromBWIntegralImage_withMeta(ii, 1, ii.getHeight()); var streaks = streaksOfRepeatingElements(listFromFunction(thinImage.getHeight(), y -> thinImage.getInt(0, y))); ret new RasterBars(ii.getWidth(), ii.getHeight(), streaks); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033728 |
Snippet name: | reproduceRasterBars |
Eternal ID of this version: | #1033728/8 |
Text MD5: | 3090e43eb2f350cec3dc9cfdaaa6b5f9 |
Transpilation MD5: | d405b0cf609a1657173436c032c754e1 |
Author: | stefan |
Category: | javax / gazelle v |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-12-30 22:29:08 |
Source code size: | 326 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 157 / 239 |
Version history: | 7 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1033729 - RasterBars |