Libraryless. Click here for Pure Java version (2847L/18K).
1 | static int dominant332color_multipleImages(L<BufferedImage> images) {
|
2 | new Best<Int> best; |
3 | fOr (BufferedImage img : images) {
|
4 | int[] array = histogram332_array(RGBImage(img)); |
5 | for i over array: |
6 | best.put(i, array[i]); |
7 | } |
8 | ret best!; |
9 | } |
Began life as a copy of #1023026
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024714 |
| Snippet name: | dominant332color_multipleImages |
| Eternal ID of this version: | #1024714/1 |
| Text MD5: | ac89fc5ffe7f8a492229ae10c250f18c |
| Transpilation MD5: | c3a43de29cf0cf5820a6f99b9442c2a7 |
| Author: | stefan |
| Category: | javax / image analysis |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-24 12:41:58 |
| Source code size: | 259 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 370 / 485 |
| Referenced in: | [show references] |