1 | public static int img_leftmostPoint(BWImage image, int y) { |
2 | int x1 = 0; |
3 | while (x1 < image.getWidth() && image.getPixel(x1, y) == 1f) |
4 | ++x1; |
5 | return x1; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005858 |
Snippet name: | img_leftMostPoint |
Eternal ID of this version: | #1005858/1 |
Text MD5: | d9c116b7b0db208ebdb0ffd91a9ed964 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-11 08:04:24 |
Source code size: | 166 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 504 / 530 |
Referenced in: | [show references] |