Transpiled version (9771L) is out of date.
1 | svoid test_RegionBorder_innerPoints() { |
2 | //set flag RegionBorder_innerPoints_debug. |
3 | //set flag FastRegions_debug. |
4 | BWImage img = bwImageFromString([[ |
5 | ______ |
6 | ______ |
7 | __xx__ |
8 | __xx__ |
9 | ______ |
10 | ______ |
11 | ]]); |
12 | FastRegions_BWImage regions = new(img); |
13 | regions.run(); |
14 | for (int i = 1; i <= regions.nRegions(); i++) |
15 | print("Region " + i + ": " + map ptWithSlashes(regions.regionPixels(i))); |
16 | /*for (int i = 1; i <= regions.nRegions(); i++) |
17 | print("Region " + i + ": " + map ptWithSlashes(regionBorder_innerPoints(regions, i)));*/ |
18 | |
19 | for (int i = 1; i <= regions.nRegions(); i++) |
20 | new RegionBorder_innerPoints(regions, i).runAndPrint(); |
21 | } |
Began life as a copy of #1033943
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033944 |
Snippet name: | test_RegionBorder_innerPoints |
Eternal ID of this version: | #1033944/3 |
Text MD5: | 74b881025f104688aaa9fa83d381ad49 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-21 20:46:07 |
Source code size: | 687 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 134 / 195 |
Version history: | 2 change(s) |
Referenced in: | [show references] |