Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1033943 // test_regionBorder_innerPoints

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (8101L/46K).

svoid test_regionBorder_innerPoints() {
  BWImage img = bwImageFromString([[
    ____
    _xx_
    _xx_
    ____
  ]]);
  FastRegions_BWImage regions = new(img);
  regions.run();
  for (int i = 1; i <= regions.nRegions(); i++)
    print("Region " + i + ": " + map ptWithSlashes(regionBorder_innerPoints(regions, i)));
}

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: 137 / 193
Referenced in: [show references]