Libraryless. Click here for Pure Java version (4439L/30K/102K).
!7 static int cn = 3, cw = 20; p { RGBImage rgb = loadImage(#1006358); int h = rgb.h(); float[] data = new float[h]; for y to h: data[y] = min(stripe(rgb, 0, y), stripe(rgb, 1, y), stripe(rgb, 2, y)); showImageWithVerticalGraph(rgb, data); } static float stripe(RGBImage rgb, int x, int y) { int x1 = iround(rgb.w()/(float)(cn*2)*(x+1)); ret rgbContrast(rgb.clip(x1-cw/2, y, cw, 1)); }
Began life as a copy of #1006370
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: | #1006376 |
Snippet name: | Find scroll bar << that was the plan, but seems to find TEXT instead |
Eternal ID of this version: | #1006376/1 |
Text MD5: | b5ff546ead69118fd3d8a9ddcba89a16 |
Transpilation MD5: | 820da362a4f8886084382b9cfcb7e491 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-29 23:31:38 |
Source code size: | 422 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 504 / 573 |
Referenced in: | [show references] |