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

14
LINES

< > BotCompany Repo | #1010899 // histogram332

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

Libraryless. Click here for Pure Java version (3069L/19K).

static MultiSet<S> histogram332(RGBImage img) {
  int[] a = histogram332_array(img);
  new MultiSet<S> histogram;
  for i over a: {
    int x = a[i];
    if (x != 0)
      histogram.add(byte332ToString(i), x);
  }
  ret histogram;
}

static MultiSet<S> histogram332(BufferedImage img) {
  ret histogram332(RGBImage(img));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010899
Snippet name: histogram332
Eternal ID of this version: #1010899/4
Text MD5: 5cc0f1d53d20e5384f0b3c4865b72dff
Transpilation MD5: c7436f04a40cf3a9e876290054a38779
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-24 23:47:56
Source code size: 336 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 431 / 490
Version history: 3 change(s)
Referenced in: [show references]