Libraryless. Click here for Pure Java version (17228L/103K).
1 | sS test_G22RegionThinner_fullThinning(S imgString) { |
2 | var img = bwImageFromString(imgString); |
3 | var image = toBufferedImage(img); |
4 | var itr = Gazelle22_ImageToRegions( |
5 | new FunctionTimings, image, new SnPSettings(image, 2)); |
6 | itr.withDiagonals(true); |
7 | var region = g22_darkestRegion(itr!); |
8 | |
9 | G22RegionThinner_v2 thinner = new(region); |
10 | stepAll(thinner); |
11 | ret bwImageToString(regionToBWImage_fullImageSize(thinner!)); |
12 | } |
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: | 145 / 220 |
Referenced in: | [show references] |