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

12
LINES

< > BotCompany Repo | #1006431 // OCR: Vertical Contrast

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (5018L/35K/121K).

!7

static int cn = 3, cw = 20;

p {
  RGBImage rgb = new RGBImage(inputImage());
  int w = rgb.w();
  float[] data = new float[w];
  for x to w:
    data[x] = rgbContrast(rgbCol(rgb, x));
  showImageWithHorizontalGraph(rgb, data);
}

Author comment

Began life as a copy of #1006376

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006431
Snippet name: OCR: Vertical Contrast
Eternal ID of this version: #1006431/1
Text MD5: 2a43d9ae7966ff37f7b2f1ab2f9702a0
Transpilation MD5: c9e5ae56c1f6c8eff89945a05406fc8c
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-01 21:05:18
Source code size: 244 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 427 / 492
Referenced in: [show references]