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

6
LINES

< > BotCompany Repo | #1018622 // horizontalIntRangesToImages

JavaX fragment (include)

1  
static L<BWImage> horizontalIntRangesToImages(BWImage img, L<IntRange> l) {
2  
  new L<BWImage> out;
3  
  for (IntRange r : l)
4  
    out.add(img.clip(r.start, 0, r.end-r.start, img.getHeight()));
5  
  ret out;
6  
}

Author comment

Began life as a copy of #1018618

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018622
Snippet name: horizontalIntRangesToImages
Eternal ID of this version: #1018622/3
Text MD5: ca0c2d740c948aeaa1f3b382773dbe8f
Author: stefan
Category: javax / audio recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-08 01:14:42
Source code size: 205 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 266 / 307
Version history: 2 change(s)
Referenced in: [show references]