Libraryless. Click here for Pure Java version (10292L/60K).
svoid test_regionsRoughlyByDecreasingSize() { BWImage img = bwImageFromString([[ ___xxx ______ __xx_x __xx_x ______ _xx___ ]]); FastRegions_BWImage regions = new(img); regions.run(); printStruct(regions.regionsBySize); for (i : regions.regionsRoughlyByDecreasingSize()) print(i + " - " + regions.regionSize(i)); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033951 |
Snippet name: | test_regionsRoughlyByDecreasingSize |
Eternal ID of this version: | #1033951/1 |
Text MD5: | d148a145bffadad54ea9e6382cbe1965 |
Transpilation MD5: | 6035383b74a6e1f4d163c8be646cb60a |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-14 22:20:11 |
Source code size: | 367 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 138 / 192 |
Referenced in: | [show references] |