Libraryless. Click here for Pure Java version (5368L/35K).
svoid test_bwContrastQuadtree_minOfArea(BWImage img) { BWContrastQuadTree qt = bwImageContrastQuadtree(img); repeat 10000 { ping(); Rect r = randomRect(imageRect(img)); int min1 = bwImage_minOfArea(img, r); int min2 = bwContrastQuadtree_minOfArea(qt, img.getWidth(), r); assertEqualsVerbose(str(r), min1, min2); } }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026937 |
Snippet name: | test_bwContrastQuadtree_minOfArea [OK] |
Eternal ID of this version: | #1026937/5 |
Text MD5: | 71a88788964770f1d20761145213dd2e |
Transpilation MD5: | 27ff1d361686f5477558199842e5113f |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-03 13:18:45 |
Source code size: | 350 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 244 / 317 |
Version history: | 4 change(s) |
Referenced in: | [show references] |