Transpiled version (11802L) is out of date.
set flag RegionBorder_innerPoints_debug. svoid test_RegionBorder_innerPoints_withDiagonals_thinSpike() { BWImage img = bwImageFromString([[ ______ _xxxx_ _xx___ ______ ]]); FastRegions_BWImage regions = new(img); regions.run(); assertEqualsVerbose(2, regions.nRegions()); RegionBorder_innerPoints_withDiagonals border = new(regions.getRegion(2)); var points = border.allPoints(); //removeLastIfSameAsFirst(points); assertEqualsVerbose("4448782", str(border.onePath())); }
Began life as a copy of #1034904
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034977 |
Snippet name: | test_RegionBorder_innerPoints_withDiagonals_thinSpike (OK) |
Eternal ID of this version: | #1034977/4 |
Text MD5: | d600c299f698ee31f34eaa7560f975b7 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-19 19:31:49 |
Source code size: | 522 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 133 / 205 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |