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).

1  
!7
2  
3  
static int cn = 3, cw = 20;
4  
5  
p {
6  
  RGBImage rgb = new RGBImage(inputImage());
7  
  int w = rgb.w();
8  
  float[] data = new float[w];
9  
  for x to w:
10  
    data[x] = rgbContrast(rgbCol(rgb, x));
11  
  showImageWithHorizontalGraph(rgb, data);
12  
}

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