Uses 14971K of libraries. Click here for Pure Java version (4569L/32K/117K).
!7 lib 1010061 // OpenIMAJ feature extraction (1.3.5) lib 1009074 // trove import org.openimaj.image.segmentation.*; import org.openimaj.image.pixel.*; static float sigma = 0.5f; static float k = 2500f / 255f; static int minSize = 20; p { MBFImage image = readMBF(#1003742); time "Segment" { FelzenszwalbHuttenlocherSegmenter segmenter = new(sigma, k, minSize); L<ConnectedComponent> components = segmenter.segment(image); } print("Have " + n(components, "component")); showMBF(SegmentationUtilities.renderSegments(image, components)); }
Began life as a copy of #1010060
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010062 |
Snippet name: | Test Felzenszwalb-Huttenlocher Segmenter on test screenshot part [OK] |
Eternal ID of this version: | #1010062/6 |
Text MD5: | 1eac8d5f07527c6a34dcbb6568499390 |
Transpilation MD5: | 3a3311e8689f343be6cda5fe68aaea86 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-01 20:58:45 |
Source code size: | 583 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 486 / 624 |
Version history: | 5 change(s) |
Referenced in: | #1010064 - Test Felzenszwalb-Huttenlocher Segmenter on live screenshot [OK] |