static BWImage activityMap332_v1(BufferedImage image) { ret activityMap332_v1(image, 16); } static BWImage activityMap332_v1(BufferedImage image, int tileSize) { ret twoLevelIntListToBWImage((L) twoLevelMap( func(BufferedImage img) -> Int { colorCount332_max(2, img) > 1 ? 0 : 255 }, imageToRoughlyFixedSizeTiles_twoLevelList(shootScreen2(), tileSize))); }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020690 |
Snippet name: | activityMap332_v1 - black pixels for activity, white for single color |
Eternal ID of this version: | #1020690/1 |
Text MD5: | b0a6168189bdf46cefd1198e6606ccd2 |
Author: | stefan |
Category: | javax / image analysis |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-31 00:50:05 |
Source code size: | 389 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 325 / 359 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |