Libraryless. Click here for Pure Java version (8101L/46K).
1 | svoid test_regionBorder_innerPoints() { |
2 | BWImage img = bwImageFromString([[ |
3 | ____ |
4 | _xx_ |
5 | _xx_ |
6 | ____ |
7 | ]]); |
8 | FastRegions_BWImage regions = new(img); |
9 | regions.run(); |
10 | for (int i = 1; i <= regions.nRegions(); i++) |
11 | print("Region " + i + ": " + map ptWithSlashes(regionBorder_innerPoints(regions, i))); |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033943 |
Snippet name: | test_regionBorder_innerPoints |
Eternal ID of this version: | #1033943/1 |
Text MD5: | dfb0fb3faffe434bf473f0ca2681af7e |
Transpilation MD5: | e8e0e3316a97826602878e518529cbde |
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 15:25:16 |
Source code size: | 330 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 139 / 197 |
Referenced in: | [show references] |