static LL<BufferedImage> imageToRoughlyFixedSizeTiles_twoLevelList(BufferedImage img, int roughSize) { ret imageToRoughlyFixedSizeTiles_twoLevelList(img, roughSize, roughSize); } static LL<BufferedImage> imageToRoughlyFixedSizeTiles_twoLevelList(BufferedImage img, int roughW, int roughH) { int w = img.getWidth(), h = img.getHeight(); int m = max(1, iround(doubleRatio(w, roughW))); int n = max(1, iround(doubleRatio(h, roughH))); ret imageToTiles_twoLevelList(img, m, n); }
Began life as a copy of #1020678
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: | #1020679 |
| Snippet name: | imageToRoughlyFixedSizeTiles_twoLevelList |
| Eternal ID of this version: | #1020679/3 |
| Text MD5: | 27c4f4aa20ffa728206cd6cf92fd9021 |
| 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-30 21:11:31 |
| Source code size: | 495 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 562 / 605 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |