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

12
LINES

< > BotCompany Repo | #1034995 // test_G22RegionThinner_fullThinning

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

Libraryless. Click here for Pure Java version (17228L/103K).

sS test_G22RegionThinner_fullThinning(S imgString) {
  var img = bwImageFromString(imgString);
  var image = toBufferedImage(img);
  var itr = Gazelle22_ImageToRegions(
    new FunctionTimings, image, new SnPSettings(image, 2));
  itr.withDiagonals(true);
  var region = g22_darkestRegion(itr!);
  
  G22RegionThinner_v2 thinner = new(region);
  stepAll(thinner);
  ret bwImageToString(regionToBWImage_fullImageSize(thinner!));
}

Author comment

Began life as a copy of #1034981

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034995
Snippet name: test_G22RegionThinner_fullThinning
Eternal ID of this version: #1034995/1
Text MD5: 21c88588dd959b41ea7bebab0371356f
Transpilation MD5: 076b0b91486bd62a3f3d8b78e15e1441
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-21 22:40:31
Source code size: 440 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 143 / 218
Referenced in: [show references]