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

9
LINES

< > BotCompany Repo | #1024714 // dominant332color_multipleImages

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2847L/18K).

static int dominant332color_multipleImages(L<BufferedImage> images) {
  new Best<Int> best;
  fOr (BufferedImage img : images) {
    int[] array = histogram332_array(RGBImage(img));
    for i over array:
      best.put(i, array[i]);
  }
  ret best!;
}

Author comment

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: 182 / 247
Referenced in: [show references]